Bug 40095 - UCS41: squid - add squid/redirect/children
UCS41: squid - add squid/redirect/children
Product: UCS
Classification: Unclassified
Component: Squid
UCS 4.1
Other Linux
: P5 enhancement (vote)
: UCS 4.1-0-errata
Assigned To: Sönke Schwardt-Krummrich
Daniel Tröder
Depends on:
Blocks: 40092 40421
  Show dependency treegraph
Reported: 2015-11-24 22:01 CET by Sönke Schwardt-Krummrich
Modified: 2016-01-13 10:41 CET (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2015-11-24 22:01:02 CET
This bug covers the UCS part of that bug and adds squid/redirect/children via UCS 4.1 erratum of univention-squid.

+++ This bug was initially created as a clone of Bug #34045 +++

By default, squid.conf starts 5 authentication helpers and 5 URL redirector processes. That might not be enough for a school:

 WARNING: All ntlmauthenticator processes are busy.
 WARNING: 10 pending requests queued
 Consider increasing the number of ntlmauthenticator processes in your co
nfig file.
 WARNING: All redirector processes are busy.
 WARNING: 5 pending requests queued
 Consider increasing the number of redirector processes in your config file

 ucr set squid/ntlmauth/children=50
 ucr set  squid/basicauth/children=50

Since there is not an UCR variable like squid/redirect/children, the change has to be made in the local configuration file:

url_rewrite_children 20

There is an old bug about this: Bug #18456
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2015-11-27 17:51:36 CET
univention-squid (9.0.2-1):
r65959 | Bug #40095: added UCRV squid/rewrite/children

r65963 | Bug #40095: updated yaml
r65959 | Bug #40095: added UCRV squid/rewrite/children

squid/rewrite/children is unset by default and defaults to squids default value (5).
Comment 2 Daniel Tröder univentionstaff 2015-11-30 11:43:33 CET
OK: code review
OK: advisory
OK: manual test:

# ucr set squid/rewrite/children=13
# invoke-rc.d squid3 restart
# pstree | grep squid
     |-squid3---squid3-+-13*[squidGuard]       <---- 13
     |                 |-50*[squid_ldap_auth]
     |                 |-10*[squid_ldap_ntlm]

# ucr unset squid/rewrite/children
# invoke-rc.d squid3 restart
# pstree | grep squid
     |-squid3---squid3-+-5*[squidGuard]       <---- 5
     |                 |-50*[squid_ldap_auth]
     |                 |-10*[squid_ldap_ntlm]
Comment 3 Janek Walkenhorst univentionstaff 2015-12-09 16:46:25 CET