Displaying 1 result from an estimated 1 matches for "nysif_scrape".
2007 Dec 06
0
Too many open files leads to timeout exceptions in Mechanize/Net::HTTP?
...not inherit the FD''s
== References ==
Sample driver of the .php script that executes the ruby script:
> <?php
> $id = 108; // hard-coded test
> $command =
> ''ruby '' .
> escapeshellarg(''/www/CLIENT/htdocs/include/script/
> nysif_scrape/run.rb'') . '' '' .
> escapeshellarg($id) .
> '' >/dev/null &''; // /dev/null redir is needed to keep
> program in the background
>
> system($command);
> ?>
Here''s the backtrace on the exception that ge...