Forum Moderators: phranque

Message Too Old, No Replies

Too many processes?

         

kds06

8:37 pm on Oct 9, 2006 (gmt 0)

10+ Year Member



I been having many problems keeping my server alive. Seems like I get different answers from ev1 on this issue all the time. Anyways, the last response was basically that is is because I am running out of memory. I have 100 MySQL process & 60 Apache process running. And that I should not be having that many. They were only seeing 2 connections at the time.
They then linked me to a few pages and said I should try them. Unfortunately the pages were more less informational and didn’t seem to be what I needed to help me.

Can someone help me?

ikbenhet2

12:34 am on Oct 11, 2006 (gmt 0)

10+ Year Member



For mysql you can set the wait-timout=x to a low value in your my.cnf like 15, so sleeping processes are terminated after 15 seconds, and restart mysql. For apache you could try lowering the timeout value in your httpd.conf file and restarting apache.