Ben de söz konusu performans artırımları ile uğraşıyourum bugünlerde ama sonuç şu şekilde.
-su-2.05b# ls Includes extra magic envvars.d httpd.conf mime.types -su-2.05b# egrep -R ServerL * -su-2.05b# httpd -v Server version: Apache/2.2.3 Server built: Dec 30 2006 00:38:40 -su-2.05b# İyi çalışmalar.. -----Original Message----- From: Baris Simsek [mailto:[EMAIL PROTECTED] Sent: Thursday, February 22, 2007 8:50 PM To: freebsd@lists.enderunix.org Subject: Re: [FreeBSD] Apache 2.2 maxclients (Nasıl kullanıcı sayısını arttırabilirim) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 rakamlari yanlis yazmisim grip basima vurdu ;) 16 thread dedim, 25 thread olacak. 16 server * 25 thread = 400 request = MaxClient 1000 olsun istiyorsaniz ya server limiti 40 yapin, yada daha iyisi: ServerLimit 32 ThreadsPerChild 32 MaxClient 1000 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 + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Baris Simsek yazmış: > 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 Kavasolu yazm1_: >> Merhaba, > > > >> FreeBSD 6.2 üzerinde apache 2.2 kullan1yorum, [error] server reached >> MaxClients setting, consider raising the MaxClients setting hatas1 >> al1yorum bunu üzerine worker.c parametresinteki ayarlar1 yükselttik, >> daha sonra apache configtest te _u mesaj1 ald1k > > > > > >> 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" > > > > > >> Sayg1lar1mla > > > >> Cüneyt KAVASOLU > > > - --------------------------------------------------------------------- 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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF3eXswTwmSBQynysRAhnIAKDGWIWK2tcvoNRyIakyqY1NTa4j0gCeMTVe OldwrCY+j/RexvAnWOjOE8Y= =80f+ -----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 --------------------------------------------------------------------- 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