Test Proxy Server

Started by rost, July 01, 2015, 01:48:25 PM

Previous topic - Next topic
Can not start service squid

System Information:
FreeBSD 10.1-RELEASE-p12 #0 84c8e2b(master): Mon Jun 15 12:47:34 CEST 2015     root@sensey32:/usr/obj/usr/src/sys/SMP
OPNsense 15.1.12-eac7cdde6 (i386)
OpenSSL 1.0.2c 12 Jun 2015

PHP Errors:
[01-Jul-2015 14:43:01 Europe/Moscow] PHP Fatal error:  Uncaught exception 'Exception' with message 'Timeout (120) executing :proxy start' in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Backend.php:90
Stack trace:
#0 /usr/local/etc/inc/util.inc(148): OPNsense\Core\Backend->configdRun('proxy start', false)
#1 /usr/local/etc/inc/service-utils.inc(401): configd_run('proxy start')
#2 /usr/local/www/status_services.php(43): service_control_start('squid', Array)
#3 {main}
  thrown in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Backend.php on line 90

Squid crashing or being unresponsive has been a known issue for FreeBSD 10.1: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195802

The kernel patches have been applied for 15.7 and will be available tomorrow. Thanks for the report.

I certainly do not hurry.
I just wrote the information, maybe it would be helpful.

But we must hurry to get the fix to you. :)

Try this please. Reduce the cache size from SQUID's config. It helped me reduce the number of crashes. Perhaps, I will try to get the stable Squid builds going soon and get back with the results.

The current timeout is set to two minutes before this error appears on a start/restart. The crashes are fixed, but it may very well be a overly long startup on smaller hardware. It would be good to get more details if the error reappears with 15.7.

Quote from: rost on July 01, 2015, 01:48:25 PM
Can not start service squid

System Information:
FreeBSD 10.1-RELEASE-p12 #0 84c8e2b(master): Mon Jun 15 12:47:34 CEST 2015     root@sensey32:/usr/obj/usr/src/sys/SMP
OPNsense 15.1.12-eac7cdde6 (i386)
OpenSSL 1.0.2c 12 Jun 2015

PHP Errors:
[01-Jul-2015 14:43:01 Europe/Moscow] PHP Fatal error:  Uncaught exception 'Exception' with message 'Timeout (120) executing :proxy start' in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Backend.php:90
Stack trace:
#0 /usr/local/etc/inc/util.inc(148): OPNsense\Core\Backend->configdRun('proxy start', false)
#1 /usr/local/etc/inc/service-utils.inc(401): configd_run('proxy start')
#2 /usr/local/www/status_services.php(43): service_control_start('squid', Array)
#3 {main}
  thrown in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Backend.php on line 90

Does the error appear if you start Squid from command line?