Htppd apo user nobody
Christos Ricudis
ricudis at paiko.gr
Wed Aug 12 15:42:51 EEST 1998
Hello Linux-greek-users!
Linux-greek-users wrote to All about "Htppd apo user nobody":
L> Paidia geia.
L> Eixa janarwthsei thn lista alla den phra apanthsh.
L> Me "top" anakalyptw synexeia oti o user "nobody" exei
L> jekinhsei 7 - 8 "httpd" jobs..
L> Jerei kaneis giati symbainei auto?
Einai ta slave processes toy httpd. Otan trexeis to httpd se standalone mode
kai oxi apo to inetd, dhmiourgei ena ari8mo apo spare slave servers poy
ka8ontai, gia thn periptwsh poy kapoios kanei ksafnika polla requests.
O algori8mos ry8mizetai apo tesseris metablhtes sto httpd.conf: Arxika
dhmiourgei (StartServers) spare httpd slaves. Ean dei oti perissotera apo
(MinSpareServers) slaves einai kateilhmmena me requests, dhmiourgei allo ena
spare. An ta spare slaves ginoyn perissotera apo (MaxSpareServers), skotwnei
osa xreiastei gia na ftasei ton ari8mo pali sto (MinSpareServers).
Prosekse oti ta noymera anaferontai se *IDLE* servers - den ephreazoyn dhladh
ton ari8mo twn taytoxronwn requests poy mporei na eksyphrethsei to systhma,
alla ton ari8mo twn pre-forked servers poy perimenoyn gia thn periptwsh poy
ksafnika anebei to fortio. Ta default noumera toy apache einai yperbolika
megala an to mhxanhma sou den einai web server, kai kata th gnwmh moy einai
yperbolika megala akomh kai an to mhxanhma sou EINAI web server :>. Mporeis na
ta meiwseis afoba. Ean to mhxanhma sou den kanei web hosting balta ola 1, den
yparxei logos na kratas idle clients.
Ta alla noumera poy mporeis na peirakseis ekei konta einai to (MaxClients)
poy orizei ton MAXIMUM ari8mo (default 150) twn slaves (idle + active) poy
trexoun ana pasa stigmh (kai ara to anwtato orio twn taytoxronwn connections
poy mporei na eksyphrethsei to systhma), kai to MaxRequestsPerChild poy
ry8mizei posa http requests 8a eksyphrethsei o ka8e slave server prin
psofhsei kai antikatasta8ei apo ena kainourio, gia thn apofygh memory leaks.
(to default einai 30 kai einai arketa megalo gia enan mikro web server
xwris poly kinhsh, kata th gnwmh moy 10 einai kala).
Ciao,
Christos
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at argos.hol.gr
Ta archives tis listas einai sto http://www.argos.hol.gr/lists :
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users
====================================================================
More information about the Linux-greek-users
mailing list