Hi I have a centos instance on a host where uname -a shows: Linux cl28810.com 2.6.18-194.26.1.el5.028stab079.2PAE #1 SMP Fri Dec 17 19:34:22 MSK 2010 i686 i686 i386 GNU/Linux Periodically my ssh access and http access slow dramatically and I get out of memory when trying to do rudimentary stuff like ls. I've been advised by tech support to try service httpd restart. This works. But the first thing that happens after the command is issued is that the load goes up to about 15 then slowly declines to a more typical figure, in the range feom .1 to 1.3, which is fine. It takes several minutes before the site is really usable. I now have 22 apache instances out of 66 total processes, which seems excessive. One site hosted, running drupal 7, 1.5G RAM lots of disk spece, two cores, Xeon based host. I don't know if this is an apache issue or CentOS related or what. Ideas? Debugging I can do? Dave -- ?When facism comes to America it will be wrapped in the flag and carrying a cross.? - Sinclair Lewis, It Can't Happen Here, 1935
centos-bounces at centos.org wrote:> One site hosted, running drupal 7, 1.5G RAM lots of disk > spece, two cores, Xeon based host. > I don't know if this is an apache issue or > CentOS related or > what.My first recommendation: You could double (or quadruple) that RAM far cheaper than talking about it. Insert spiffy .sig here: Life is complex: it has both real and imaginary parts. //me ******************************************************************* This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept for the presence of computer viruses. www.Hubbell.com - Hubbell Incorporated**
Dave Stevens wrote:> > Periodically my ssh access and http access slow dramatically and I get out > of memory when trying to do rudimentary stuff like ls. I've been advised by<snip>> is fine. It takes several minutes before the site is really usable. I now > have 22 apache instances out of 66 total processes, which seems excessive. > > One site hosted, running drupal 7, 1.5G RAM lots of disk spece, two cores, > Xeon based host. I don't know if this is an apache issue or CentOS related > or what. > > Ideas? Debugging I can do?For one thing, I'd strongly urge you to add at least another .5G RAM, if not 2.5G. Second, look at the apache configuration, and see how many workers it can use - you might want to lower the limit. Also, what's your connection to the 'Net like, and how heavily is your website being hit?> > When facism comes to America it will be wrapped in the flag and > carrying a cross. > > - Sinclair Lewis, It Can't Happen Here, 1935It's happened here. mark
This is not CentOS, it's a compilation by your host built from changed CentOS sources. Your problem obviously is that you reach the limits of your VM. 1.5 GB of RAM should be enough for your 22 apache processes, so it is probably the CPU that is the bottleneck. Anyway, you have to talk to your provider, this is nothing CentOS-specific. Kai
Greetings, On 3/18/11, Dave Stevens <geek at uniserve.com> wrote:> Hi > > I have a centos instance on a host where uname -a shows: > > Linux cl28810.com 2.6.18-194.26.1.el5.028stab079.2PAE #1 SMP Fri Dec 17 > 19:34:22 MSK 2010 i686 i686 i386 GNU/LinuxI would suggest you look into the swap settings on both the Centos* host and the Centos* guest. Is swap stored on RAID0+1 etc. Is the VM stored in LVM or on filesystem, if any, which? It is also difficult to make out if the 1.5G RAM you mentioned is physically on the host or allocated to VM. Having some such details would make an interest furtherance to this thread. HTH Regards, Rajagopal
Apparently Analagous Threads
- INIT: Id "snmp" respawning too fast: disabled for 5 minutes
- what''s wrong with my pv domU console? INIT: Id "1" respawning too fast: disabled for 5 minutes
- I getting some erros about SPNs and main process ended, respawning
- error message: INIT: Id "s0" respawning toofast:disable for 5 minutes
- respawning dead tinc process