[EMAIL PROTECTED] Cache Removal Algorithm

2006-09-13 Thread apacheuser123
Hi, Looking at the apache doc, the default cache removal algorithm is GDSF. Since there are different variations of this algorithm can someone confirm which variation Greedy Dual Size Frequency apache uses ? That is, what is the value of cost ? Does it give preference to hit ratio or try to

Re: [EMAIL PROTECTED] Logging Response time in access log

2006-09-08 Thread apacheuser123
Works now...Thanks for the help... -Original Message- From: [EMAIL PROTECTED] To: users@httpd.apache.org Sent: Fri, 8 Sep 2006 12:48 AM Subject: Re: [EMAIL PROTECTED] Logging Response time in access log %D http://httpd.apache.org/docs/2.2/mod/mod_log_config.html#formats

[EMAIL PROTECTED] Restricting number of child processes in Worker MPM

2006-09-08 Thread apacheuser123
Hi, I have configured apache to run using the worker MPM. I am trying to restrict the number of child processes it spawns to one. Here is the relevant section from httpd.conf IfModule mpm_worker_module StartServers 1 MaxClients 150 ThreadsPerChild 150 MinSpareThreads 1 MaxSpareThreads

Re: [EMAIL PROTECTED] Restricting number of child processes in Worker MPM

2006-09-08 Thread apacheuser123
Thanks Joshua. I am trying to make sure there is exactly one memory cache per box. Guess your explanation means that I am achieving that with the config I posted ? Also, would setting the ThreadsPerChild to 150 cause performance issues( I am running Apache on Red hat) or is 150 a OK value ?

[EMAIL PROTECTED] Logging Response time in access log

2006-09-07 Thread apacheuser123
Hi, Is there a way to log the time taken to process a request in milliseconds precision ? The documentation for %T says it can only logs the time in seconds. Thanks in advance, S Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam and email virus protection.

Re: [EMAIL PROTECTED] mod_mem_cache question...

2006-09-02 Thread apacheuser123
I found the problems with mod_mem_cache under load. I am going to look into mod_disk_cache as per your suggestion. I hope mod_disk_cache does better. Thanks for all the help, Joshua. -Original Message- From: [EMAIL PROTECTED] To: users@httpd.apache.org Sent: Sat, 2 Sep 2006 6:53 AM

[EMAIL PROTECTED] mod_mem_cache question...

2006-09-01 Thread apacheuser123
Hi, I have an Apache 2.2.2 setup on a Redhat box. Caching is implemented using mod_mem_cache. Apache was built to use worker MPM. Here are the relevant sections from httpd.conf # # mod_cache/mod_mem_cache settings # IfModule cache_module IfModule mem_cache_module CacheEnable mem /

Re: [EMAIL PROTECTED] mod_mem_cache question...

2006-09-01 Thread apacheuser123
Thanks Joshua for the quick reply. Guess this means using mod_mem_cache will not give me the best cache hit/miss ratio as compared to mod_disk_cache ? Is the way I have configured apache wrong ? Is it possible to run only 1 instance of httpd on a box to maximize the cache hit/miss ratio ? Would

Re: [EMAIL PROTECTED] mod_mem_cache question...

2006-09-01 Thread apacheuser123
Thanks Joshua. My apache setup talks to tomcat using mod_ajp. One last question on the behavior of Apache. Say, there is a page that is in the cache which has expired. A client makes a request for that page. Apache looks in the cache, finds that the content has expired so contacts tomcat to fetch