This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » eZ Publish 5 Platform » [eZ 5.3] Apache processes wont die...
expandshrink

[eZ 5.3] Apache processes wont die until we left with so many processes

[eZ 5.3] Apache processes wont die until we left with so many processes

Monday 24 November 2014 10:27:43 am - 2 replies

Hello,

We are running a 5.3 instance on a production environment, we are seeing a strange behavior, from time to time Apache processes wont die until we left with so many processes, finally Apache crashes, everything get back to normal after we restart Apache.

This is a look at top's output:

User           PID  Res(MB) Virt(MB)   %CPU  NAME
www-data     10617   236.40   556.33    1.3  apache2
www-data     11460   176.20   532.83    0.0  apache2
www-data     10472   150.96   489.18    4.0  apache2
www-data     11080   141.60   495.62    0.0  apache2
www-data     11277   137.85   462.60    0.0  apache2
www-data     11044   137.77   467.55    0.0  apache2
www-data     11276   129.43   461.16    0.0  apache2
www-data     11259   126.12   458.11    0.0  apache2
www-data     11233   121.07   440.72    1.0  apache2
www-data     10469   120.42   450.83    0.0  apache2
www-data     11240   116.01   434.24    1.7  apache2
www-data     10977   115.89   498.28    1.7  apache2
www-data     11458   115.82   459.77    0.0  apache2
www-data     10655   114.54   601.97    0.0  apache2
www-data     11459   111.48   468.15    0.0  apache2
www-data     10654   109.54   451.79    0.0  apache2
www-data     11238   109.27   426.70    2.3  apache2
www-data     11234   105.64   484.62    1.7  apache2
www-data     10629    99.14   448.33    0.0  apache2
www-data     10147    91.23   422.54    0.0  apache2
www-data     11267    91.23   443.55    0.0  apache2
www-data     10146    90.01   437.03    0.0  apache2
www-data     10620    89.09   476.09    0.0  apache2
www-data      9073    71.75   398.03    0.0  apache2
www-data     11231    44.76   367.82    0.0  apache2
mysql        10994    43.17   428.72    0.7  mysqld
www-data     11451    41.70   367.23    0.0  apache2
www-data     11624    34.73  1248.82    0.0  wkhtmltopdf
www-data     11258    34.25   358.07    0.0  apache2
www-data     11620    34.23   358.27    0.0  apache2
www-data     11441    34.18   358.50    0.0  apache2
www-data     11454    34.18   358.00    0.0  apache2
www-data     11265    34.14   358.05    0.0  apache2
www-data     11270    34.07   358.02    0.0  apache2
www-data     11264    33.98   358.32    0.0  apache2
www-data     11269    33.96   358.55    0.0  apache2
www-data     10630    32.21   429.08    0.0  apache2
www-data     11440    29.79   358.00    0.0  apache2
www-data     11442    29.48   353.88    0.0  apache2
www-data     11453    28.95   357.98    0.0  apache2
Swap statistics :
Total : 1023.0 MB        available: 14.9 MB      used : 1008.1 MB(99 %)
Memory statistics :
Total : 3.9 GB   available: 270.7 MB     used : 3.6 GB(94 %)
Available memory :
  buffer : 2.0 MB
  cache  : 134.8 MB
  free   : 133.9 MB
Used memory :
  other  : 3.6 GB

Please did anybody had this error before ? thank you in advance !

Monday 24 November 2014 1:34:57 pm

Two things to check  - mysql slow queries and what exactly are you being hit with at that time according to your logs?

A couple of years back I had a site that, if it was being simultaneously hit by multiple search engines and a bunch of them were search queries, then the number of apache processes would go out of control - with a corresponding increase in the load average.  The search queries would then also show up as slow database queries.

 

Saturday 06 December 2014 3:01:47 pm

You could enable apache's server info to know what the requests are doing.

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from