[squid-users] A lot of open rewriter heplers and are hanging! Squid 3.5

Ulises Nicolini ulises at vianetcon.com.ar
Wed Apr 29 14:23:50 UTC 2015


  Hello,

I have migrated from Squid 2.7 to Squid 3.5 in a heavy  traffic 
enviroment (150 http request per second, and more than 1200 clients), 
using trpxy configuration.

squid -v
Squid Cache: Version 3.5.3
Service Name: squid
configure options:  '--prefix=/usr/local' '--datadir=/usr/local/share' 
'--bindir=/usr/local/sbin' '--libexecdir=/usr/local/lib/squid' 
'--localstatedir=/var' '--sysconfdir=/etc/squid3' '--enable-delay-pools' 
'--enable-ssl' '--enable-ssl-crtd' '--enable-linux-netfilter' 
'--enable-eui' '--enable-snmp' '--enable-gnuregex' 
'--enable-ltdl-convenience' '--enable-removal-policies=lru heap' 
'--enable-http-violations' '--with-openssl' 
'--with-filedescriptors=24321' '--enable-poll' '--enable-epoll'

I use  jesred rewriter (http://www.linofee.org/~jel/webtools/jesred/). 
This applications was modified to match the output format requested by 
squid 3.5 (example OK 
store-id=http://app.updates.avast.com.SQUIDINTERNAL/jrog2-c40-c3f). This 
is the input and output format that jsred log in file

Input string->1430313641.311 Input String: 
http://photos-g.ak.instagram.com/hphotos-ak-xaf1/t51.2885-15/s150x150/e15/10932037_1549994791925790_574318541_n.jpg 

186.148.250.37/186-148-250-37 - GET myip=- myport=801
1430313641.311 Request: 
http://photos-g.ak.instagram.com/hphotos-ak-xaf1/t51.2885-15/s150x150/e15/10932037_1549994791925790_574318541_n.jpg 
186.148.250.37/186-148-250-37 - GET
1430313641.311 ACL: allowed 186.148.250.37

OutputString ->1430313641.311 Output string: OK 
store-id=http://img.instagram.ak.SQUIDINTERNAL/hphotos-ak-xaf1/t51.2885-15/s150x150/e15/10932037_1549994791925790_574318541_n.jpg



The problem is that after several hours of running squid, the process 
list (ps -aux command)  is filled with hanging jesred !

This is the portion of squid configuration

/store_id_program /sysmgr/squid/jesred//
//store_id_children 20 //
//store_id_bypass on/

And this is my process list after three days!!!

Any ideas?

Thanks!

Ulises


USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root      2618  0.0  0.0  59360   600 ?        Ss   Apr24   0:00 
/usr/local/sbin/squid -f /etc/squid3/squid1.conf
squid     2960  0.0  0.0  10404  1440 ?        S    Apr26   0:00 (jesred)
squid     3135  0.0  0.0  10404  1436 ?        S    Apr26   0:00 (jesred)
squid     3151  0.0  0.0  10540  1700 ?        S    Apr26   0:00 (jesred)
squid      430  0.0  0.0  10672  1704 ?        S    Apr26   0:00 (jesred)
squid     2326  0.0  0.0  10404   836 ?        S    Apr25   0:00 (jesred)
squid     2577  0.0  0.0  10672  1656 ?        S    Apr25   0:00 (jesred)
squid     2578  0.0  0.0  10540  1532 ?        S    Apr25   0:00 (jesred)

... and more than 150 process more
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20150429/fac4d982/attachment.html>


More information about the squid-users mailing list