쉶썝媛엯| 븘씠뵒/鍮꾨踰덊샇
 
Apache 룞떆젒냽옄 닔 뒛由щ뒗 諛⑸쾿

    httpd-2.x.x 뿉꽌쓽 SERVER_LIMIT 蹂寃


    apache-2.x.x 뿉꽌뒗 HARD_SERVER_LIMIT 쓣 닔젙븯뿬 Max_Client 瑜 닔젙븷 닔 엳뒿땲떎.

    apache_tarball_source/src/include/httpd.h

    #ifndef HARD_SERVER_LIMIT
    #ifdef WIN32
    #define HARD_SERVER_LIMIT 1024
    #elif defined(NETWARE)
    #define HARD_SERVER_LIMIT 2048
    #else
    #define HARD_SERVER_LIMIT 256   <-- 2048 濡 닔젙
    #endif
    #endif

    httpd-2.x.x 遺꽣뒗 蹂寃 븘옒 媛숈씠 닔젙 썑 apache 瑜 而댄뙆씪븯떆硫 맗땲떎.

    httpd-2.2.x 냼뒪瑜 븬異 빐젣 썑
    server/mpm/prefork/prefork.c 뙆씪뿉꽌
    #define DEFAULT_SERVER_LIMIT 256 瑜 븘옒 媛숈씠 닔젙빀땲떎.

    #define DEFAULT_SERVER_LIMIT 1024

    server/mpm/worker/worker.c 뙆씪뿉꽌
    #define DEFAULT_SERVER_LIMIT 16  遺遺꾩쓣 李얠븘꽌  ( 16 * 16 = 256)
    #define DEFAULT_THREAD_LIMIT 64  씠젃寃 닔젙빐 以띾땲떎. ( 16 * 64 = 1024)