Hello,

I have the same problem some other modperl-visitors have, namely the error
"(48)Address already in use: make_sock: could not bind to port 8093", when
having started a long running external program and stopping and starting the
webserver. I have read the "Performance Tuning"-article on
http://perl.apache.org/guide/performance.html. I copied the "Complete Fork
Example" and I thought to have found the solution in the line
"$r->cleanup_for_exec(); # untie the socket". However, when trying to run
the program I got the error:

"[..] null: Can't locate object method "cleanup_for_exec" via package
"Apache" at [...]/test.pl line 19."

I have installed "Apache-SubProcess-0.02" and checked the file
"SubProcess.pm". In there I cannot find the method "cleanup_for_exec". I
cannot find a newer version of Apache-SubProcess either. I do not know what
I am doing wrong. Does anyone have a clue?

Thanks in advance, 

Niels van Tongeren

Reply via email to