hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : my apache any 1h going to down and i force run restart httpd
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

my apache any 1h going to down and i force run restart httpd

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 10-22-2007, 12:46 PM
robocap robocap is offline
Web Hosting Guru
 
Join Date: Feb 2007
Posts: 324

my apache any 1h going to down and i force run restart httpd


Hello
i ask of cpanel.net that why : my apache any 1h going to down and i force run restart httpd

cpanel :
Howdy,

This is occurring because your server is consistently hitting the maximum
allowed concurrent connection limit, defined by MaxClients in httpd.conf:

[root@part7 ~]# grep MaxClient /usr/local/apache/logs/error_log | tail -5
[Mon Oct 22 13:07:46 2007] [error] server reached MaxClients setting, consider
raising the MaxClients setting
[Mon Oct 22 13:32:03 2007] [error] server reached MaxClients setting, consider
raising the MaxClients setting
[Mon Oct 22 14:03:29 2007] [error] server reached MaxClients setting, consider
raising the MaxClients setting
[Mon Oct 22 14:16:07 2007] [error] server reached MaxClients setting, consider
raising the MaxClients setting
[Mon Oct 22 16:48:36 2007] [error] server reached MaxClients setting, consider
raising the MaxClients setting
[root@part7 ~]#

You will need to adjust this setting to a value which better accommodates your
server to prevent any further downtime.
--

Regards,
Stephen Bee
Technical Support



do you can help me for setting it?

Thanks
cPanel

__________________
Soon ...

Reply With Quote


Sponsored Links
  #2  
Old 10-22-2007, 12:51 PM
Patrick Patrick is offline
Stairway To Hosting
 
Join Date: Mar 2003
Location: Canada
Posts: 7,939
The error message (obviously) is saying that the MaxClients is being reached for Apache. This means that too many people are accessing Apache and hitting that set limit, so you will have to raise the limit.

Edit:
/usr/local/apache/conf/httpd.conf

Look for:
MaxClients 150

Change that to a higher number or even double it, then restart Apache... and that error message should go away.

__________________

SYN Hosting - Affordable, Reliable & Secure Web Hosting - Proudly In Business Since 2006!

Host Unlimited Websites -/- cPanel -/- Softaculous -/- CloudFlare -/- SSH Access -/- 24/7 Tech Support
http://www.synhosting.com - Need a Canadian budget managed dedicated server? Click here for details.

Reply With Quote
  #3  
Old 10-22-2007, 12:59 PM
robocap robocap is offline
Web Hosting Guru
 
Join Date: Feb 2007
Posts: 324
Hello
thank you very much

Currently WHM does not have an interface for editing this value. You will need
to edit httpd.conf directly, then restart apache after doing so.

Note: once you have edited httpd.conf, you will need to execute
/usr/local/cpanel/bin/apache_conf_distiller --update to ensure that the changes
are preserved.
--

Regards,
Stephen Bee
Technical Support


do you can help me about text?
cPanel

__________________
Soon ...

Reply With Quote
Sponsored Links
  #4  
Old 10-22-2007, 01:09 PM
Patrick Patrick is offline
Stairway To Hosting
 
Join Date: Mar 2003
Location: Canada
Posts: 7,939
Quote:
Originally Posted by robocap View Post
do you can help me about text?
Do you know how to edit files via SSH?

If you don't, I would strongly suggest that you consider hiring a server management company who can do all of these tasks for you.

__________________

SYN Hosting - Affordable, Reliable & Secure Web Hosting - Proudly In Business Since 2006!

Host Unlimited Websites -/- cPanel -/- Softaculous -/- CloudFlare -/- SSH Access -/- 24/7 Tech Support
http://www.synhosting.com - Need a Canadian budget managed dedicated server? Click here for details.

Reply With Quote
  #5  
Old 10-22-2007, 01:16 PM
MaximSupport MaximSupport is offline
Web Hosting Guru
 
Join Date: Feb 2006
Location: Pakistan/India/USA
Posts: 322
Re:

Dear robocap,

In short you need to optimize your apache configuration file.

Best Regards.

__________________
Tom F - CISSO, CPTE, OSCP, RHCE
Maxim Support - Hosting Solutions & Server Management
Email : tom@maximsupport.com
Web : http://www.maximsupport.com


Reply With Quote
  #6  
Old 10-22-2007, 01:20 PM
Patrick Patrick is offline
Stairway To Hosting
 
Join Date: Mar 2003
Location: Canada
Posts: 7,939
Quote:
Originally Posted by MaximSupport View Post
In short you need to optimize your apache configuration file.
C'mon!

I just told him that, was this your cue to jump in with your server management signature because I suggested one?

Robocap:

If you need a server management company, talk to PSM (Platinum Server Management) as they are highly regarded on WHT... however I have no direct experience with them.

__________________

SYN Hosting - Affordable, Reliable & Secure Web Hosting - Proudly In Business Since 2006!

Host Unlimited Websites -/- cPanel -/- Softaculous -/- CloudFlare -/- SSH Access -/- 24/7 Tech Support
http://www.synhosting.com - Need a Canadian budget managed dedicated server? Click here for details.

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Researchers Urge System Admins to Check for New Apache Web Server Backdoor Malware Web Hosting News 2013-05-01 11:35:53
Apache Web Server Adds Cloud Capabilities with First Major Update in 5 Years Web Hosting News 2012-02-21 16:05:02
The Apache Software Foundation Launches Hadoop v1.0 Web Hosting News 2012-01-05 18:29:16
Oracle is the Latest Vendor to Apply Patch for Apache Killer Flaw Web Hosting News 2011-09-19 14:43:58
Patch Released for Apache Software DDoS Vulnerability Web Hosting News 2011-08-26 15:03:10


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?