Project

General

Profile

Actions

Feature #10628

closed

Allow to change url_rewrite_children options

Added by Viktor Gurov over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Category:
squidguard
Target version:
-
Start date:
06/03/2020
Due date:
% Done:

100%

Estimated time:
Plus Target Version:

Description

https://forum.netgate.com/topic/153877/squid-and-squidguard-on-pfsense-for-large-deployment/2:

Hi, I have 150 proxy users in my network, running on old dual core E5200 & 3GB RAM. CPU usage is avg 5%, RAM 20%, so your HW should 
handle it.

But Squidquard is weak point, by default it set url_rewrite_children 16 startup=8 idle=4 inside Squid advanced options. It's not 
enough for my users (not enought "processes"), so had to modify it like url_rewrite_children 128 startup=64 idle=32. But ANY time I 
set something inside Squidquard and press Apply, then default is back and have to set it again... You will probably need to set 
higher values (not sure what is max) to handle 600 users.

This is currently hardcoded:

define('REDIRECTOR_PROCESS_COUNT', '16 startup=8 idle=4 concurrency=0');

See https://github.com/pfsense/FreeBSD-ports/blob/76396719e6e1b7c0c54dc70c2bb91c127a7ff8c4/www/pfSense-pkg-squidGuard/files/usr/local/pkg/squidguard_configurator.inc#L97

Actions #2

Updated by Jim Pingle over 5 years ago

  • Status changed from New to Pull Request Review
Actions #3

Updated by Renato Botelho over 5 years ago

  • Status changed from Pull Request Review to Feedback
  • Assignee set to Renato Botelho
  • % Done changed from 0 to 100

PR has been merged. Thanks!

Actions #4

Updated by Viktor Gurov over 5 years ago

  • Status changed from Feedback to Resolved

pfSense-pkg-squidGuard-1.16.18_6 works as expected

Actions

Also available in: Atom PDF