Constant disconnections
I have a real problem.
Debian lenny.
Linode 768
Server version: Apache/2.2.9 (Debian)
Server MPM: Worker
I've configured the apache server in order to avoid memory leack:
MaxClients 20
MinSpareThreads 3
MaxSpareThreads 6
ServerLimit 20
MaxRequestsPerChild 3000
ThreadsPerChild 20
The "problem" is that the server has continous disconnections when users use some of the server applications, like webmail or joomla. Always they have to login again.
I think the problem is apache2 but It seems all is ok.
Do you need som other information?
Where's the problem?
Thanks a lot!
2 Replies
@hoopycat:
With PHP, you shouldn't (mustn't?) use a threaded MPM
s/PHP/mod_php/ - it's perfectly good, and actually the better choice if you're using php via fastcgi (and possibly via fpm - I'm still confused about just what the latter does)
@hoopycat:try using Prefork MPM and see if that improves things at all.
"prefork" and "improves" in a single sentence? WHO ARE YOU AND WHAT DID YOU DO TO HOOPYCAT?!
Also: check out your session timeouts in php.ini, and try to switch the stuff to cookie mode. I know I saw such random session losses many times, and never could quite troubleshoot it.