Merhaba,

 

FreeBSD 6.2 üzerinde apache 2.2 kullanıyorum, "[error] server reached 
MaxClients setting, consider raising the MaxClients setting" hatası alıyorum 
bunu üzerine worker.c parametresinteki ayarları yükselttik, daha sonra  apache 
configtest te şu mesajı aldık

 

 

 "Performing sanity check on apache22 configuration: 

WARNING: MaxClients of 1000 would require 40 servers,

 and would exceed the ServerLimit value of 16.

 Automatically lowering MaxClients to 400.  To increase,

 please see the ServerLimit directive.

Syntax OK"

 

Httpd.conf 

 

 

 

 

<IfModule worker.c>

ServerLimit 16

StartServers       50

MaxClients         1000

MinSpareThreads     250

MaxSpareThreads     500

ThreadsPerChild     25

MaxRequestsPerChild 0

</IfModule>

 

Derleme 

 

 

 

Server version: Apache/2.2.3

Server built:   Feb 21 2007 18:25:18

Server's Module Magic Number: 20051115:3

Server loaded:  APR 1.2.7, APR-Util 1.2.7

Compiled using: APR 1.2.7, APR-Util 1.2.7

Architecture:   32-bit

Server MPM:     Worker

  threaded:     yes (fixed thread count)

    forked:     yes (variable process count)

Server compiled with....

 -D APACHE_MPM_DIR="server/mpm/worker"

 -D APR_HAS_SENDFILE

 -D APR_HAS_MMAP

 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)

 -D APR_USE_FLOCK_SERIALIZE

 -D APR_USE_PTHREAD_SERIALIZE

 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT

 -D APR_HAS_OTHER_CHILD

 -D AP_HAVE_RELIABLE_PIPED_LOGS

 -D DYNAMIC_MODULE_LIMIT=128

 -D HTTPD_ROOT="/usr/local"

 -D SUEXEC_BIN="/usr/local/bin/suexec"

 -D DEFAULT_SCOREBOARD="/var/run/apache_runtime_status"

 -D DEFAULT_ERRORLOG="/var/log/httpd-error.log"

 -D AP_TYPES_CONFIG_FILE="etc/apache22/mime.types"

 -D SERVER_CONFIG_FILE="etc/apache22/httpd.conf"

 

 

Saygılarımla

 

Cüneyt KAVASOĞLU

 

Cevap