Apache keeps going down on a Plesk server: server reached MaxRequestWorkers setting

Follow

Comments

1 comment

  • Avatar
    Ehud Ziegelman (Edited )

    Hi Kuzma Ivanov,

     

    Please note that the results of calculations for lots and lots of servers, of the below, to the best of my understanding totally does not suit, the default recommended values, as set in this current article. 

    Can you please advise?

     

    MaxRequestWorkers = (Total RAM - Memory used for Linux, DB, etc.) / average Apache process size

    • MPM Event: The default ServerLimit value is 16. To increase it, you must also raise MaxRequestWorkers using the following formula: ServerLimit value x 25 = MaxRequestWorkers value. For example, if ServerLimit is set to 20, then MaxRequestWorkers will be 20 x 25 = 500.

    • MPM Prefork: The default MaxRequestWorkers value is 256. To increase it, you must also raise ServerLimit.

     

    MPM EVENT

    MaxRequestWorkers 400
    ServerLimit 16
    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request