Multiple Instances of tor
I have been having trouble setting up multiple instances of tor on one machine. I am scraping a large project and tor really bogs down when there is too much of a load on it. Has anyone done this? I have already made new directories and changed the torrc file.
We actually built a tool that
We actually built a tool that would allow sessions to start their own instance of Tor in a script, change identities, and close. I use it a lot on servers that are running many scrapes simultaneously. On what OS are you running? I could get you some more detail on it.
I am running windows 7. More
I am running windows 7. More details would be great
You need toCreate a
You need to
Sometimes this is a little dodgy on Windows, especially if a scrape stops unexpectedly and the script to stop tor isn't run. Also note you can run several scrapes at once, and each will start its own tor, and use different exit nodes.
If you were to run on Linux, it would use the system's tor/polipo installations.
Greetings Jason, Nice set up
Greetings Jason,
Nice set up you got there! I did download the Tor bundle, however the files:
libgnurx-0.dll
polipo.conf
poliopo.exe
were not included in those (windows) directories. Did you use another Tor instance?
Best
All of those are file you
All of those are file you would get from the vidalia software.
Downloaded the Vidalia pack
Downloaded the Vidalia pack and there they appeared. Thanks!
I get this error
"
....
Processing script: "tor startup"
ERROR--tor: An error occurred while processing the script: tor startup
tor: The error message was: class bsh.EvalError (line 3): SSTorController tor = new SSTorController ( session .getName ( ) + System .nanoTime ( ) ) -- Typed variable declaration : Class: SSTorController not found in namespace
....
"
What could the problem be?
The above problem was fixed after I restarted screen-scraper.
But now the session freezes.. :
"
Starting scraper.
Running scraping session: tor
Processing scripts before scraping session begins.
Processing script: "tor startup"
Scraping file: "IP"
IP: Processing scripts before a file is scraped.
IP: Resolved URL: http://www.icanhazip.com
Using proxy server: 127.0.0.1:60750
IP: Sending request.
"
It does not continue beyond this point.
Tor can be pretty slow, so
Tor can be pretty slow, so you need to make sure the connection timeouts are set pretty high, but that doesn't look like the issue. Do you have a firewall on the computer? Could you disable it and try again? That is my best guess.
Fixed it
Not sure what problem was. But after restart vidalia it worked. tx anyway.