Apache is shutting down, too many connections?

knothje

Verified User
Joined
Nov 22, 2006
Messages
34
Hello All,

I have a problemen with one of my servers. There is one large site on this server en every day between 16:00 - 20:00 the servers has problems.

This is a copy of the apache error log from yesterday.

[Tue Nov 28 16:02:05 2006] [warn] child process 2708 still did not exit, sending a SIGTERM
[Tue Nov 28 16:02:05 2006] [warn] child process 2709 still did not exit, sending a SIGTERM
[Tue Nov 28 16:02:05 2006] [warn] child process 2710 still did not exit, sending a SIGTERM
[Tue Nov 28 16:02:05 2006] [warn] child process 2712 still did not exit, sending a SIGTERM
[Tue Nov 28 16:02:05 2006] [warn] child process 2713 still did not exit, sending a SIGTERM
[Tue Nov 28 16:02:05 2006] [warn] child process 2714 still did not exit, sending a SIGTERM
[Tue Nov 28 16:02:05 2006] [warn] child process 2730 still did not exit, sending a SIGTERM
[Tue Nov 28 16:02:05 2006] [warn] child process 2731 still did not exit, sending a SIGTERM
[Tue Nov 28 16:02:05 2006] [warn] child process 2733 still did not exit, sending a SIGTERM
[Tue Nov 28 16:02:05 2006] [warn] child process 2742 still did not exit, sending a SIGTERM
[Tue Nov 28 16:02:05 2006] [warn] child process 2783 still did not exit, sending a SIGTERM
[Tue Nov 28 16:02:05 2006] [warn] child process 2784 still did not exit, sending a SIGTERM
[Tue Nov 28 16:02:05 2006] [warn] child process 2787 still did not exit, sending a SIGTERM
[Tue Nov 28 16:02:05 2006] [warn] child process 2791 still did not exit, sending a SIGTERM
[Tue Nov 28 16:02:05 2006] [warn] child process 2797 still did not exit, sending a SIGTERM
[Tue Nov 28 16:02:05 2006] [warn] child process 2809 still did not exit, sending a SIGTERM
[Tue Nov 28 16:02:06 2006] [warn] child process 5883 still did not exit, sending a SIGTERM
[Tue Nov 28 16:02:06 2006] [warn] child process 7731 still did not exit, sending a SIGTERM
[Tue Nov 28 16:02:06 2006] [warn] child process 6412 still did not exit, sending a SIGTERM
[Tue Nov 28 16:02:06 2006] [warn] child process 10658 still did not exit, sending a SIGTERM
[Tue Nov 28 16:02:10 2006] [error] child process 2797 still did not exit, sending a SIGKILL
[Tue Nov 28 16:02:10 2006] [notice] caught SIGTERM, shutting down
[Tue Nov 28 16:02:13 2006] [warn] NameVirtualHost 85.17.58.60:80 has no VirtualHosts
[Tue Nov 28 16:02:13 2006] [warn] NameVirtualHost 85.17.58.60:443 has no VirtualHosts
[Tue Nov 28 16:02:14 2006] [notice] Apache/1.3.37 (Unix) mod_ssl/2.8.28 OpenSSL/0.9.7a PHP/4.4.4 mod_perl/1.29 FrontPage/5.0.2.2510 configured -- resuming normal operations
[Tue Nov 28 16:02:14 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Nov 28 16:02:14 2006] [notice] Accept mutex: sysvsem (Default: sysvsem)

Okay this errors i get when there are too many connections or the memory is out of resources.

The question is, can i limit the connections and memory for each user?

If so, can someone tell me how to do this? I have full root access.
 
you also might need to investigate that why that large site is causing the issue. It could also very well might be because of poor coding?

Just in this case, I would say that for a time being (INTERIM SOLUTION) buy a separate hosting for that large site somewhere and move it to that server. In this way you can have your other sites running. Just My Suggestion!!
 
im trying to find a way to limit apache memory usage as well. the way the default config is with da it will fork bomb in a heartbeat under massive connections
 
Back
Top