that limit seems too low for the task you want to accomplish, specially if you have a good internet connection. Have you actually tried incrementing it to 30 or even 50. Forking is not so expensive in moderm Unix/Linux systems with support for COW.
update: actually, much of the overhead generated by the forked processes can be caused by perl cleaning up everything. On Unix, this cleanup is mostly useless, and you can get rid of it calling
instead of exit($ok) to finalize child processes. Just remember to close first any file you had written to.exec $ok ? '/bin/true' : '/bin/false';
|Replies are listed 'Best First'.|
Re^4: Advice on Efficient Large-scale Web Crawling
by Celada (Monk) on Dec 19, 2005 at 15:28 UTC