Hi! I have configured a Lamp with ispconfig (centos 5.4). it's seems to work perfectly. But the server add more and more http sessions. When the server is full, I can't do anything. If I restart the httpd service, everything is "ok" again. ps aux | grep http apache 12171 0.0 0.1 82768 9536 ? S 09:32 0:00 /usr/sbin/httpd apache 12172 0.0 0.1 82768 9540 ? S 09:32 0:00 /usr/sbin/httpd apache 12173 0.0 0.1 82768 9536 ? S 09:32 0:00 /usr/sbin/httpd apache 12174 0.0 0.1 82768 9536 ? S 09:32 0:00 /usr/sbin/httpd apache 12175 0.0 0.1 82768 9536 ? S 09:32 0:00 /usr/sbin/httpd apache 12176 0.0 0.1 82768 9536 ? S 09:32 0:00 /usr/sbin/httpd apache 12177 0.0 0.1 82768 9536 ? S 09:32 0:00 /usr/sbin/httpd apache 12178 0.0 0.1 82768 9536 ? S 09:32 0:00 /usr/sbin/httpd apache 12179 0.0 0.1 82768 9540 ? S 09:32 0:00 /usr/sbin/httpd apache 12180 0.0 0.1 82768 9536 ? S 09:32 0:00 /usr/sbin/httpd apache 12181 0.0 0.1 82768 9540 ? S 09:32 0:00 /usr/sbin/httpd apache 12182 0.0 0.1 82768 9536 ? S 09:32 0:00 /usr/sbin/httpd apache 12183 0.0 0.1 82768 9536 ? S 09:32 0:00 /usr/sbin/httpd apache 12184 0.0 0.1 82768 9536 ? S 09:32 0:00 /usr/sbin/httpd apache 12185 0.0 0.1 82768 9536 ? S 09:32 0:00 /usr/sbin/httpd apache 12186 0.0 0.1 82768 9536 ? S 09:32 0:00 /usr/sbin/httpd apache 12187 0.0 0.1 82768 9536 ? S 09:32 0:00 /usr/sbin/httpd apache 12188 0.0 0.1 82768 9536 ? S 09:32 0:00 /usr/sbin/httpd apache 12189 0.0 0.1 82768 9536 ? S 09:32 0:00 /usr/sbin/httpd apache 12190 0.0 0.1 82768 9536 ? S 09:32 0:00 /usr/sbin/httpd apache 12192 0.0 0.1 82768 9540 ? S 09:32 0:00 /usr/sbin/httpd apache 12193 0.0 0.1 82768 9536 ? S 09:32 0:00 /usr/sbin/httpd apache 12194 0.0 0.1 82768 9536 ? S 09:32 0:00 /usr/sbin/httpd apache 12195 0.0 0.1 82768 9536 ? S 09:32 0:00 /usr/sbin/httpd apache 12196 0.0 0.1 82768 9536 ? S 09:32 0:00 /usr/sbin/httpd apache 12197 0.0 0.1 82768 9536 ? S 09:32 0:00 /usr/sbin/httpd apache 12198 0.0 0.1 82768 9536 ? S 09:32 0:00 /usr/sbin/httpd apache 12199 0.0 0.1 82768 9536 ? S 09:32 0:00 /usr/sbin/httpd apache 12200 0.0 0.1 82768 9536 ? S 09:32 0:00 /usr/sbin/httpd apache 12201 0.0 0.1 82768 9536 ? S 09:32 0:00 /usr/sbin/httpd apache 12202 0.0 0.1 82768 9536 ? S 09:32 0:00 /usr/sbin/httpd apache 12203 0.0 0.1 82768 9536 ? S 09:32 0:00 /usr/sbin/httpd apache 12204 0.0 0.1 82768 9536 ? S 09:32 0:00 /usr/sbin/httpd apache 12205 0.0 0.1 82768 9536 ? S 09:32 0:00 /usr/sbin/httpd apache 12206 0.0 0.1 82768 9536 ? S 09:32 0:00 /usr/sbin/httpd apache 12207 0.0 0.1 82768 9536 ? S 09:32 0:00 /usr/sbin/httpd apache 12208 0.0 0.1 82768 9536 ? S 09:32 0:00 /usr/sbin/httpd apache 12209 0.0 0.1 82768 9536 ? S 09:32 0:00 /usr/sbin/httpd apache 12210 0.0 0.1 82768 9536 ? S 09:32 0:00 /usr/sbin/httpd apache 12211 0.0 0.1 82768 9536 ? S 09:32 0:00 /usr/sbin/httpd apache 12212 0.0 0.1 82768 9536 ? S 09:32 0:00 /usr/sbin/httpd apache 12213 0.0 0.1 82824 10920 ? S 09:32 0:00 /usr/sbin/httpd apache 12214 0.0 0.1 82768 9548 ? S 09:32 0:00 /usr/sbin/httpd apache 12215 0.0 0.1 82824 10912 ? S 09:32 0:00 /usr/sbin/httpd ......and a lot more! I need seriously help. Thanks Br, Eno
Try turning KeepAlive Off in your httpd.conf file. You may also have to lower the max connections variable if you are being overloaded. Are there any error messages in the Apache error_log?
Thanks for reply. KeepAlive Off -- is off But i change the number at -> MaxKeepAliveRequests 0 and KeepAliveTimeout 0 Default was MaxKeepAliveRequests 100 and KeepAliveTimeout 15 It still hanging after 10 minutes with some clicks at the webserver. Br, Eno
If KeepAlive is off, those other two variables do not have any effect. Have you looked in the error_log yet?
yes, this error message repeat a lot. The failure generated a log-file about 100mb --> BEGIN failed--compilation aborted at /usr/local/ispconfig/server/scripts/vlogger line 147. piped log program ' /usr/local/ispconfig/server/scripts/vlogger -s access.log -t "%Y%m%d-access.log" -d "/etc/vlogger-dbi.conf" /var/log/ispconfig/httpd' failed unexpectedly Can't locate Date/Format.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8) at /usr/local/ispconfig/server/scripts/vlogger line 147. I installed a packet "yum install perl-TimeDate.noarch". The problem seems to be gone. Thanks! Br, Kenneth