OPNsense Forum

English Forums => General Discussion => Topic started by: rost on July 01, 2015, 01:48:25 pm

Title: Test Proxy Server
Post by: 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
Title: Re: Test Proxy Server
Post by: franco on July 01, 2015, 01:57:10 pm
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.
Title: Re: Test Proxy Server
Post by: rost on July 01, 2015, 02:20:51 pm
I certainly do not hurry.
I just wrote the information, maybe it would be helpful.
Title: Re: Test Proxy Server
Post by: franco on July 01, 2015, 02:39:12 pm
But we must hurry to get the fix to you. :)
Title: Re: Test Proxy Server
Post by: lucifercipher on July 05, 2015, 01:50:05 pm
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.
Title: Re: Test Proxy Server
Post by: franco on July 06, 2015, 07:52:20 am
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.
Title: Re: Test Proxy Server
Post by: lucifercipher on July 06, 2015, 11:43:02 am
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?