I want to read some source code which use mod_perl and I've find
http://www.freshmeat.net/appindex/2000/01/26/948886981.html,the slashdot.org
news publish system.their daily traffic is high,so i think its nice because
it's used in real world.
after I read the httpd.conf in this package,I find some interest stuff.At
this point,I think following Apache parameter is quite interest while
associate with mod_perl.I will list them below with sample number and with
my own understand of them.please tell me if its wrong
KeepAliveTimeout
MaxKeepAliveRequests
#I think those KeepAlive stuff really affect mod_perl performance.It's so
similar with persistent mysql connection of mod_perl.If Apache set these
stuff poorly,say,KeepAliveTimeOut 10, Apache child will died very fast and
need regenerate one frequently and ALL persistent mysql connection advantage
is gone....
KeepAlive On
#I am kinda blur of this.Slashdot script set it to OFF.and I think OFF means
once a apache child finish serve a request,it will died?So not allow
persistent connection.If so,it will affect mod_perl badly,is it?but slashdot
use mod_perl,,,,hmm...weird?
Timeout 30
#Apache said: Timeout: The number of seconds before receives and sends
time out
#I think it means,if server get a request but finish it exceed 30 secs,what
will affect?the child who serve it died? they said they got "Callback and
exit" error when its high.
MaxRequestsPerChild
#Apache said: We reccomend you leave this number high, for maximum
performance.
#I also think so.But why Slashdot.org set it just 150?to prevent sometimes
bug in script to use all memory?
______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com?sr=mc.mk.mcm.tag001