유분투 14.04 접속자 늘리기 ubuntu 14.04 increse ServerLimit

페이지 정보

profile_image
작성자 로빈아빠
댓글 0건 조회 3,718회 작성일 14-09-29 13:54

본문

vi  /etc/apache2/mods-enabled/mpm_prefork.conf 

 

vi /etc/apache2/mods-enabled/status.conf

 

        <Location /server-status>

                SetHandler server-status

                #Require local

                #Require ip 192.0.2.0/24

                Require ip 123.456.123.123   # <--- your pc ip

        </Location>

 

service apache2 restart

check: http://test.org/server-status

 

<IfModule mpm_prefork_module>

        StartServers                     5

        MinSpareServers           5

        MaxSpareServers          10

        MaxRequestWorkers         500  # <-- this change..

        MaxConnectionsPerChild   0

</IfModule>

 

 

service apache2 restart

 

댓글목록

등록된 댓글이 없습니다.