On 02/05/2010 12:16 PM, Heiko Weber wrote:
Hi André,
I know what you mean, and I can't agree with you - the server response time is really low
- most pages are finished loading in less 1-2 seconds, and the overall load of the server
is at a low level. I believe there is an issue, maybe something what Jon is talking
about, I also using some "system()" call's to execute sendmail or sudo tasks,
so maybe STDOUT really gets closed - I have no idea. I only see the abort messages in
errorlog very frequent, maybe 3-4 per minute.
Heiko
Of course STDOUT, STDIN, and STDERR get closed, not by mod_perl but by
apache. Every UNIX process when demonized must close them to detach
from its controling terminal.
Apache reopens STDERR to its log file, but STDOUT and STDIN remain closed.
Maybe de confusion arises from the fact that when executing a CGI the
server connects them to the client socket, but in mod_perl you are in
the deamon process space.
Please check "Advanced Programing in the UNIX environment", chapter 13:
"Daemon processes" by W. Richard Stevens.
Regards.
Salvador.