Twitter Facebook Pinterest Google+ Stumbleupon LinkedIn
Working with Ubuntu or any other Linux distribution you really do learn something new every day. Yesterday one of my servers looked like Apache had Crashed.
Symptoms:
Like most things in Linux it’s an easy fix as long as you know where to look.
To double check this is the issue load up the Apache Log, in Ubuntu it’s /var/log/apache2/error.log
You should see something like :
[Sat Jun 25 14:14:17 2011] [error] server reached MaxClients setting, consider raising the MaxClients setting
To resolve this issue go to /etc/apache2/apache2.conf and change the MaxClients settings from to a higher number. By default it’s 10 and I would recommend changing it to about 30+ if it’s shutting down at 10 requests. You will also need to restart Apache after you change the setting.
More information from Apache on MaxClients
Re: [#MQV-17419-739] nothing works
Reply
Hi Adrian,Something has to do with the sites, the maxclients value is reached pretty fast:
[Sat Jun 25 14:10:40 2011] [notice] Digest: generating secret for digest authentication … Please try to review first the sites you are hosting or increase the value for maxclients in apache config. Regards, Ioan Nistor – Show quoted text –
Technical Support Engineer
WizzVPS.comAny prices stated exclude VAT at 20% (where applicable to EEC customers) unless explicitly stated otherwise. E&OE. Access this ticket online: https://help.wizzvps.com WizzVPS is a trading name of Layershift Limited Layershift Limited | Delta House | Wavell Road | Manchester | M22 5QZ | UK =================================================================================
Reply
Apache logs under debian/ubuntu are in /var/log/apache2/ directory.
– Show quoted text –
Regards,Ioan Nistor
Technical Support Engineer WizzVPS.com Any prices stated exclude VAT at 20% (where applicable to EEC customers) unless explicitly stated otherwise. E&OE. Access this ticket online: https://help.wizzvps.com WizzVPS is a trading name of Layershift Limited Layershift Limited | Delta House | Wavell Road | Manchester | M22 5QZ | UK =================================================================================
Ad
on Apache CXF w/ Talend Open Source
|
Posted by Adi on June 26, 2011
Leave a Reply