[SOLVED] squid doesn't retain settings across reboots
-
are you using squidguard too?
-
Yes, squidguard also.
-
Yes, squidguard also.
You need to edit squidguard.inc file to change what it includes on squid config.
Every time you save squidguard config or reboot, it will check for these settings on squid.
-
Would that be in /usr/local/pkg? squidguard.inc doesn't have any references to URL_REDIRECT_CHILDREN, however squidguard_configurator.inc does.
define('REDIRECT_CHILDREN_OPT', 'url_rewrite_children'); define('REDIRECTOR_PROCESS_COUNT', '5'); # redirector processes count will started
Do I change REDIRECTOR_PROCESS_COUNT then restart the squid and squidguard services?
-
Do I change REDIRECTOR_PROCESS_COUNT then restart the squid and squidguard services?
Just edit and save squidguard/squid config.
-
Just edit and save squidguard/squid config.
I'm not sure what file you refer to. Editing the setting in /usr/local/etc/squid/squid.conf doesn't work. The only thing I've found is to change REDIRECTOR_PROCESS_COUNT in /usr/local/pkg/squidGuard/squidguard_configurator.inc. Then after a reboot it updates /usr/local/etc/squid/squid.conf with the new value for url_redirect_children. The new value then appears in the custom options box for squid in the GUI.
Should this be considered a bug? The text in the GUI gives the impression that you can change or add custom settings by entering them in the "Custom Options" box, but at least in this case you can't.
-
edit /usr/local/pkg/squidGuard/squidguard_configurator.inc, replace the option, save config
then check squid conf.
If it was not replaced, edit custom/options manually and save.
-
Yes, that's what I did. Thanks for your help. It got me going again.
-
I have the same problem.
No matter what I put in the squid custom options (via the GUI), the url_rewrite_children always reverts to 5.
The reason this is an issue is that I get this in the logs:
squid[45587]: Too many queued url_rewriter requests (39 on 5) -