Re: [mp2] mod_perl drops IO channel using Net::SSH::Expect Every Other Time via Apache2-Debug Reports Success Everytime

Torsten Förtsch <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
On Friday, 28 October 2011 23:00:04 Copeland, Blair wrote:
> Apache Module: mod_perl-2.0.4-14.fc15.x86_64

1) I'd try the script as mod_cgi script to see if it is really a problem 
with apache/modperl. That should be quite simple.

2) I'd recommend updating modperl at least to 2.0.5. In 2.0.4 we had a 
problem that standard file descriptors got closed occasionally. That'd 
mean the next time a file is opened for writing it may get fd 0 for 
example. Many programs are unable to handle this situation.

3) If you are using a threaded MPM like worker I'd try to switch to 
prefork because it is our best tested environment.

Torsten Förtsch

-- 
Need professional modperl support? Hire me! (http://foertsch.name)

Like fantasy? http://kabatinte.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.