Results 1 to 8 of 8
  1. #1
    Join Date
    May 2008
    Location
    India
    Posts
    74

    Thumbs up Increasing the Apache ServerLimit in Apache 2.2.8 version.

    Hi All,

    The Linux Server got down when the MaxClients 256 is reached.
    Error Log:

    "server reached MaxClients setting, consider raising the MaxClients setting"


    So that I have tried to increased the MaxClients Value to 500, after changed the value in httpd.conf and restart I get following error message.

    " [notice] SIGHUP received. Attempting to restart
    WARNING: MaxClients of 500 exceeds ServerLimit value of 256 servers,
    lowering MaxClients to 256. To increase, please see the ServerLimit
    directive."


    So that I tried changed the Server limit in /usr/local/apache/include/httpd.h header file. but it seems like there is no entry.

    Apache Version : 2.2.8

    So I have added the ServerLimit 500 entry in httpd.conf file and restart the httpd service. But still shows the same warning mesg. Please help me regarding this.

    We have the Dedicated server for Flash Game Server with following configuration.

    RHEL4 OS
    2GB RAM
    Intel(R) Xeon(R) X3210 @ 2.13GHz
    Cpanel Installed.
    Apache 2.2.8
    PHP 5.2.4
    MySQL 4.1.2 (MySQL Server is working in differend server)

  2. #2
    Join Date
    Nov 2005
    Location
    Michigan, USA
    Posts
    3,872
    You need to put the ServerLimit above the MaxClients, make sure your doing that.


  3. #3
    rvbraj i can help u,i hope u from india give me ur yahoo id or any IM id so we can chat here slove this issue

  4. #4
    Quote Originally Posted by devonblzx View Post
    You need to put the ServerLimit above the MaxClients, make sure your doing that.
    but this wont work in apachi 2.2.8 u need prefork.c module

  5. #5
    Join Date
    May 2008
    Location
    India
    Posts
    74

  6. #6
    Join Date
    May 2008
    Location
    India
    Posts
    74
    I was added the ServerLimit entry before MaxClients, and also I have tried to put the entry in prefork.c in higherperformance.conf

  7. #7
    i added u,but u not online i think in gtalk

  8. #8
    Join Date
    May 2008
    Location
    India
    Posts
    74
    Hi Rathin, now I am in online now.

Posting Permissions

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