Results 1 to 8 of 8
  1. #1

    MaxClients httpd apache

    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

  2. #2
    Join Date
    Sep 2005
    Location
    Albany, NY
    Posts
    3,956
    Best way to know that is to monitor your server's http connections and configure accordingly.
    AYKsolutions.com - High Bandwidth Specialists - 10Gbps/20Gbps+ Unmetered & DDOS Protected
    Over 20+ Global Locations - Asia (Hong Kong, Singapore, Tokyo), Mexico, Brazil, India, Australia, US, CA, EU - Bare Metal and Virtual Cloud. All Managed.
    We are Professional. Painless. Polite.

  3. #3
    Join Date
    Nov 2003
    Location
    Toronto, Ontario
    Posts
    651
    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.
    Kevin

  4. #4
    Join Date
    Mar 2006
    Posts
    263
    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.

  5. #5
    Join Date
    Nov 2003
    Location
    Toronto, Ontario
    Posts
    651
    Quote Originally Posted by ryan14 View Post
    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.
    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.
    Kevin

  6. #6
    what about
    worker.c its look same as prefork.c also i need to know simple solution with cpanel

  7. #7
    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.

  8. #8
    Join Date
    Sep 2007
    Posts
    369

    *

    Quote Originally Posted by mdsiddiq View Post
    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.
    /etc/my.cnf [configuration file for mysql]

    please check mysql tuning.


    http://www.day32.com/MySQL/
    Thanks,
    Noman
    noman@linuxonsupport.com
    O Canada, we stand on guard for thee

Similar Threads

  1. Apache MaxClients : Help
    By gfxnetwork in forum Hosting Security and Technology
    Replies: 1
    Last Post: 01-14-2006, 03:09 AM
  2. Apache has reached the MaxClients
    By mnett in forum Hosting Software and Control Panels
    Replies: 8
    Last Post: 12-14-2003, 07:20 PM
  3. Apache MaxClients
    By neonlexx in forum Hosting Security and Technology
    Replies: 11
    Last Post: 04-10-2003, 04:44 PM
  4. Setting maxclients with apache
    By clocker1996 in forum Hosting Security and Technology
    Replies: 6
    Last Post: 12-15-2001, 04:23 AM
  5. Apache MaxClients
    By emkatzen in forum Hosting Security and Technology
    Replies: 2
    Last Post: 12-01-2001, 01:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •