4
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Apacheで「MaxClients of 350 exceeds ServerLimit value of 256 servers」

Posted at

ServerLimitMaxClientsより後に定義されていると「MaxClients of 350 exceeds ServerLimit value of 256 servers」のapache起動時にようなエラーが出る。

apache2.conf
<IfModule mpm_prefork_module>
    StartServers         10
    MinSpareServers      30
    MaxSpareServers      50
    MaxClients          350
    MaxRequestsPerChild 100
    ServerLimit         350
</IfModule>

解決法としては順番を変えるだけっぽい

apache2.conf
<IfModule mpm_prefork_module>
    StartServers         10
    MinSpareServers      30
    MaxSpareServers      50
    ServerLimit         350
    MaxClients          350
    MaxRequestsPerChild 100
</IfModule>
4
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?