Results 1 to 7 of 7
  1. #1
    Join Date
    Mar 2009
    Posts
    3,700

    modify the max users online ?

    Hi,

    my server is centos with cpanel,

    the server load is about 0.* ~ 1.*,

    and the ram use not more than 1G (my total is 2G)
    the ftp/cpanel/whm...all work well,

    but the httpd will fail sometime,

    i wonder if there are too the max users on line setting is too low ?

    is anyway to check why it is?


    thanx

  2. #2
    If I were in your place, I would go to WHM and look at "Apache Status" page. This page will give you an idea of the usage. If "." or open slots are not available, then I would go and increase the "ServerLimit" and "MaxClients" values to my satisfaction. Please keep in mind the changes will effect the server's RAM usage and performance.

    Best Regards
    Kumar Kommukuri

    Reliable-Host.com
    Shared , Resellers, and Dedicated Servers
    Host91.com Proud Hosting Provider for Google Redesigned Project

  3. #3
    Join Date
    Jun 2003
    Location
    World Wide Web
    Posts
    581
    What are the current values being set for MaxClients and ServerLimit . You can see this in the file /usr/local/apache/conf/httpd.conf . See if there is anything shown under apache logs

    tail -f /usr/local/apache/logs/error_log

    Also paste the result of below two commands

    root@test [~]# netstat -plan | grep :80 | wc -l
    and
    root@test [~]# ipcs
    SupportExpertz.com - the name says it all!
    Managed Cloud Servers
    Server Management and Monitoring
    24x7 outsourced customer support

  4. #4
    Join Date
    May 2009
    Posts
    31
    Hello,

    MaxClients are the total number of concurrent connections. This should be set to a reasonable value. I suggest using this formula to determine the right value for your server.

    MaxClients = 150 x RAM (GB)

    So for 2 GB of RAM set this value to 300.

  5. #5
    Join Date
    May 2009
    Posts
    31
    There is no reason for you to set it any higher unless you have a specific problem with this value. A high value can lead to a complete server hang in case of a DOS attack. A value too low can create timeout problems for your clients if the limit is reached.

  6. #6
    Join Date
    Aug 2009
    Posts
    38
    Drop your KeepAliveTimeout value to something more reasonable than the 15 second default value. Generally, a value of 3-5 is a good start. Most of the time, this is plenty for a client to make a sub request under the same connection without the process hogging system resources while it is doing nothing.

  7. #7
    Join Date
    Jun 2008
    Location
    India
    Posts
    266
    could you paste your httpd configuration settings here?
    Ranjith
    Light travels faster thn sound.This is why some people look bright until you actually hear them speak

Similar Threads

  1. Online Users
    By Timelord_ in forum Web Hosting
    Replies: 4
    Last Post: 07-03-2008, 06:14 PM
  2. Users online?
    By Jona102190 in forum Programming Discussion
    Replies: 2
    Last Post: 06-27-2007, 01:43 PM
  3. no of online users
    By ranjitbhar in forum Dedicated Server
    Replies: 3
    Last Post: 11-26-2004, 10:00 AM
  4. ASP Active Users or Online Users Script
    By Abdillahi in forum Programming Discussion
    Replies: 1
    Last Post: 09-12-2003, 03:02 PM
  5. Replies: 0
    Last Post: 04-14-2001, 07:40 AM

Posting Permissions

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