On 30.10.2018 17:05, Michael Tremer wrote: > On Tue, 2018-10-30 at 15:37 +0100, Matthias Fischer wrote: >> On 30.10.2018 15:03, Michael Tremer wrote: >> > Hey, Hi, > ... > Looking at the options that we have ( > http://www.squid-cache.org/Doc/config/url_rewrite_children/), could you please > test this: > > url_rewrite_children X startup=N idle=N queue-size=64 > > With N being the number of cores that your system has. I do not think that there > is any point in trying to run more than N queries at a time. > > But squid doesn't start anything when it starts up. startup= changes that and > idle= makes sure that all processes remain active. > > A queue size of 64 seems sensible to me because that is probably what the > average tabloid newspaper page has. Maybe it should be 16 * N or so... > ... I tested this quite a while now. If I set 'queue-size' to 64, there will be occasional warnings: ... 2018/12/15 14:10:59 kid1| comm_udp_sendto FD 8, (family=2) 127.0.0.1:53: (1) Operation not permitted 2018/12/15 14:10:59 kid1| idnsSendQuery FD 8: sendto: (1) Operation not permitted 2018/12/15 14:11:09 kid1| comm_udp_sendto FD 8, (family=2) 127.0.0.1:53: (1) Operation not permitted 2018/12/15 14:11:09 kid1| idnsSendQuery FD 8: sendto: (1) Operation not permitted 2018/12/15 14:11:19 kid1| comm_udp_sendto FD 8, (family=2) 127.0.0.1:53: (1) Operation not permitted 2018/12/15 14:11:19 kid1| idnsSendQuery FD 8: sendto: (1) Operation not permitted ... With a value of '128' these warnings do not occur. Running on Duo Box. Corresponding 'squid.conf' line, latest 'squid 4.4', 32bit: ... url_rewrite_children 2 startup=2 idle=2 queue-size=128 ... Best, Matthias