Portal Home > Knowledgebase > Articles Database > MaxClients httpd apache

MaxClients httpd apache

Posted by mdsiddiq, 09-15-2009, 05:19 PM
i need to know what settings i have to do if i want 50,000 + users on my server at a time as a httpd user

Posted by ayksolutions, 09-15-2009, 06:39 PM
Best way to know that is to monitor your server's http connections and configure accordingly.

Posted by Kevin, 09-15-2009, 07:12 PM
I would recommend you investigate LiteSpeed as an alternative to Apache if you are looking for such a high amount of traffic, you may even need multiple servers and load balancing depending on what these 50000+ users are doing.... maybe an idea also is to consider a grid/clustered provider like mosso/rackspace, could potentially save yourself time/money.

Posted by ryan14, 09-15-2009, 10:00 PM
just change the MAXClients value and i think you need to increase the openfiledescriptors in Linux. Litespeed is very expensive so i wouldn't use it. If you don't mind NOT having cPanel, then get nginx or lighttpd because they will support 50,000 users out of the box.

Posted by Kevin, 09-15-2009, 10:13 PM
first off, apache forks children so how high are you really going to set it anyway, 150, 250, 500.... its going to just eat up your ram and still be ineffective. second, litespeed is cheap, the standard version is free I think which permits you i think 5 domains or something and 1 cpu (150 connections though), but most your load will be generated by external scripts anyway which will take advantage of all cores... A dual cpu enterprise license is maybe $40/month... aside from handling lots of connections quite well, lsapi is an also great. litespeed will drop right in and integrate to your cpanel installation, and comes with quite amazing support.

Posted by mdsiddiq, 09-16-2009, 10:05 AM
what about worker.c its look same as prefork.c also i need to know simple solution with cpanel

Posted by mdsiddiq, 09-16-2009, 10:07 AM
also there may be mysql making load to server what file i have to edit to set limit of connections to a site or to all sites.

Posted by nomankhn, 09-16-2009, 06:01 PM
etc/my.cnf [configuration file for mysql] please check mysql tuning. http://www.day32.com/MySQL/

Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
SSH help please. (Views: 374)
port forwarding (Views: 374)