Bug 40094 - UCS40: squid - add squid/redirect/children
UCS40: squid - add squid/redirect/children
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Squid
UCS 4.1
Other Linux
: P5 enhancement (vote)
: UCS 4.0-4-errata
Assigned To: Sönke Schwardt-Krummrich
Daniel Tröder
:
Depends on:
Blocks: 40091
  Show dependency treegraph
 
Reported: 2015-11-24 21:59 CET by Sönke Schwardt-Krummrich
Modified: 2015-12-09 12:58 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:


Attachments

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 21:59:36 CET
This bug covers the UCS part of that bug and adds squid/redirect/children via UCS 4.0 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:

---cache.log
 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:

#---/etc/squid3/local.conf
#...
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:04 CET
univention-squid.yaml:
r65962 | Bug #40094: updated yaml
r65957 | Bug #40094: added UCRV squid/rewrite/children

univention-squid (8.0.2-6):
r65957 | Bug #40094: added UCRV squid/rewrite/children

Package has been built in errata4.0-4.
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2015-11-27 17:51:11 CET
squid/rewrite/children is unset by default and defaults to squids default value (5).
Comment 3 Daniel Tröder univentionstaff 2015-11-30 11:38:20 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 4 Janek Walkenhorst univentionstaff 2015-12-09 12:58:05 CET
<http://errata.software-univention.de/ucs/4.0/371.html>