Henrik / Amos, Tried using these setting and I could see see delay in serving the requests even for cached objects. 1225687535.330 5459 81.52.249.101 TCP_MEM_HIT/200 1475 GET http://abc.xyz.com/3613/172/500/248/211/i5.js?z=9059 - NONE/- application/x-javascript 1225687535.330 5614 81.52.249.100 TCP_MEM_HIT/200 8129 GET http://abc.xyz.com/3357/172/211/4/1/i4.js?z=6079 - NONE/- application/x-javascript 1225687539.661 12327 168.143.241.12 TCP_MISS/200 2064 GET http://bc.xyz.com/2333/254/496/158/122/i17.js?z=3473 - ROUNDROBIN_PARENT/10.0.0.181 application/x-javascript Following are timeouts that I have set. connect_timeout 10 seconds peer_connect_timeout 5 seconds read_timeout 2 minutes request_timeout 10 seconds icp_query_timeout 4000 and cache peer settings. cache_peer 10.0.0.175 parent 80 0 no-query originserver round-robin cache_peer 10.0.0.177 parent 80 0 no-query originserver round-robin cache_peer 10.0.0.179 parent 80 0 no-query originserver round-robin cache_peer 10.0.0.181 parent 80 0 no-query originserver round-robin Regards Nitesh On Sun, Nov 2, 2008 at 1:11 AM, Henrik Nordstrom <henrik@xxxxxxxxxxxxxxxxxxx> wrote: > On tor, 2008-10-30 at 19:50 +0530, nitesh naik wrote: > >> url rewrite helper script works fine for few requests ( 100 req/sec ) >> but slows down response as number of requests increase and it takes >> 10+ second to deliver the objects. > > I'v run setups like this at more than thousand requests/s. > >> Is there way to optimise it further ? >> >> url_rewrite_program /home/zdn/bin/redirect_parallel.pl >> url_rewrite_children 2000 >> url_rewrite_concurrency 5 > > Those two should be the other way around. > > url_rewrite_concurrency 2000 > url_rewrite_children 2 > > Regards > Henrik >