From: wayne <wa...@ny...> - 2003-02-09 01:43:06
|
> From: Moussa > Subject: dead proxies > To: wayne <wa...@ny...> CC: pro...@so... > Hey Wayne > how I can remove dead proxies from hots.xml using statproxy and mergehosts? Do I need to say it again? You don't!!!! Use your own config file to disable them. The config file overrides everything else. I've given the command lines for statProxy and mergeHosts to do this many times, but here we go again. I assume your list of 'dead' proxies is in so.txt. 0) If you don't have a personal config file already: copy config-UAE-dialup.xml config-mbat.xml 1) perl statProxy.pl -t all:-18 -l so.txt will test them and write the results to a file like statProxy.2003.2.9.1.out. 2) perl mergeHosts.pl config-mbat.xml will update your config file with these test results. Repeat 1) and 2) every day for a few days, and after several days, the proxies will become disabled in the config file. This is the way it's supposed to work, because proxies are up and down like yoyos and disabling them means LP will never use them again. If you are *really* sure those proxies won't be coming back (and how could you *ever* be sure of this?), just repeat step 2) several times immediately, and they will get disabled too. 3) send these proxies to me. I will test them, and they will then (slowly) disappear from the distributed hosts.xml. And remember that you don't really need to do any of this at all. LP learns to avoid them when it's running (transparently to the user if the internal tests have been enabled). -- wa...@ny... http://proxytools.sourceforge.net/ |