-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

merhaba,

Toplam 16 server tanimlanmis (ServerLimit). Her server icin ise 16
thread (MaxRequestsPerChild). Dolaysiyla es zamanli karsilanabilecek
istek sayisi (yani MaxClient) 15*25=400 dur. Dolayisiyla sizin es
zamanli 1000 istege yanit ver demeniz tutarsiz olmus. Cunku bu kadar
istege yanit verecek kadar process ayirmamissiniz.

MaxClient i 1000 istiyorsaniz ServerLimit i 40 yapin.

selamlar...

Baris Simsek

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ http://www.enderunix.org/simsek    http://www.endersys.com     +
+ EnderUNIX SDT @ Tr                 Endersys Consultancy Ltd.   +
+ simsek ~ enderunix.org             baris.simsek ~ endersys.com +
+ Volunteer, Software Developer      Director                    +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Cüneyt Kavasoğlu yazmış:
> 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
> 
>  
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF3eOewTwmSBQynysRAns2AKDMfHhwVjlHAVMkLMhn+coOKcDRhgCeKLjG
OAu01Hu8+U3K1uHkk+MsECs=
=9GSF
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
Listeye soru sormadan once lutfen http://ipucu.enderunix.org sitesine bakiniz.

Cikmak icin, e-mail: [EMAIL PROTECTED]
Liste arsivi: http://lists.enderunix.org
Turkiye'nin ilk FreeBSD kitabi: http://www.acikakademi.com/catalog/freebsd


Cevap