Re: Potential bug brought by mmapfile (mod_file_cache)

2006-03-26 Thread Xuekun Hu
Filed a bug#39111. On 3/23/06, Xuekun Hu [EMAIL PROTECTED] wrote: Hi, All A few weeks ago, I tried to use mod_file_cache which tested under our pressure test, however I met some strange behaviors. Now I can use ab to reproduce it. I'm using Apache2.2.0 on 4P Xeon(EM64T) and EL4U2 ( 2.6.9

Potential bug brought by mmapfile (mod_file_cache)

2006-03-23 Thread Xuekun Hu
Hi, All A few weeks ago, I tried to use mod_file_cache which tested under our pressure test, however I met some strange behaviors. Now I can use ab to reproduce it. I'm using Apache2.2.0 on 4P Xeon(EM64T) and EL4U2 ( 2.6.9-22.ELsmp, 64bit). Apache configuration: IfModule mod_file_cache.c

Re: caching limit files in mod_file_cache?

2006-03-15 Thread Xuekun Hu
pcommands = (apr_pool_t *) 0x5c5148 opt = (apr_getopt_t *) 0x5c5230 rv = 0 mod = (module **) 0x5ce3d8 optarg = 0x7fbfffd338 sõÿ¿\177 signal_server = (apr_OFN_ap_signal_server_t *) 0xfe00 Are there any hints? Thx, Xuekun On 3/13/06, Xuekun Hu

Re: caching limit files in mod_file_cache?

2006-03-15 Thread Xuekun Hu
gives you first 10 lines of backtrace for each thread. Find which one got kill()'ed. then: (gdb) thread number (gdb) bt Thanks for telling me how to find which thread is killed. #0 0x002a9664e6f9 in kill () from /lib64/tls/libc.so.6 #1 signal handler called #2 0x00768a98

caching limit files in mod_file_cache?

2006-03-13 Thread Xuekun Hu
Changed the title to be noticed. :-) -- Forwarded message -- From: Xuekun Hu [EMAIL PROTECTED] Date: Mar 10, 2006 7:38 PM Subject: Re: [EMAIL PROTECTED] mod_mem_cache configuration help To: users@httpd.apache.org Thanks for replying. I tested mod_file_cache. However I also met

Re: Potential memory leak in /modules/cache/mod_mem_cache.c

2005-11-04 Thread Xuekun Hu
So, same reason. Also in file mod_mem_cache.c around line 786, there is a malloc(mobj-m_len), and a few lines later, another malloc(obj-count) is performed. If the second malloc fails, I think also should add something like free(mobj-m); mobj-m = NULL; reasonable? Thx, Xuekun On 11/3/05,

Re: ProxyPass ajp://localhost:8009 max=10 useless?

2005-09-04 Thread Xuekun Hu
Since the errors are still there, if my configuration is right, I think it should be a proxy_ajp bug. I will file a bug report later. Thx, Xuekun

ProxyPass ajp://localhost:8009 max=10 useless?

2005-08-31 Thread Xuekun Hu
I have been struggling for two weeks trying to integrate Apache2.1.6-alpah and TOMCAT 5.5.9. I am very appreciated that someone could help me here. Below is the configuration that I used: IfModule mod_proxy.c ProxyPass /jspdir ajp://localhost:8009/jspdir ProxyPassReverse /jspdir

Re: ProxyPass ajp://localhost:8009 max=10 useless?

2005-08-31 Thread Xuekun Hu
Thanks for your answer. Now I understand what the max means. However the errors occured again. I don't know if the error shows a bug or just my configuration error, so I sent to dev list. I used worker MPM. ThreadLimit 600 IfModule worker.c StartServers 4 MaxClients 24000

Re: Performance proxy_ajp vs. mod_jk when TOMCAT integration with Apache

2005-08-16 Thread Xuekun Hu
proxy_ajp is mod_jk successor in Apache2.1/2.2 core. You can find more info: http://httpd.apache.org/docs-2.1/mod/mod_proxy.html http://httpd.apache.org/docs-2.1/mod/mod_proxy_ajp.html http://httpd.apache.org/docs-2.1/mod/mod_proxy_balancer.html Thx, Xuekun On 8/17/05, Christine Ho [EMAIL

Performance proxy_ajp vs. mod_jk when TOMCAT integration with Apache

2005-08-15 Thread Xuekun Hu
Hi, From performance point, which connector will be used for TOMCAT intergration with Apache? proxy_ajp or mod_jk? I read some docs which said mod_jk should have better performance than proxying. While proxy_ajp in Apache2.1 is an addition to the mod_proxy and uses Tomcat's AJP protocol stack.