OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Test Proxy Server
« previous next »
  • Print
Pages: [1]

Author Topic: Test Proxy Server  (Read 6011 times)

rost

  • Newbie
  • *
  • Posts: 42
  • Karma: 4
    • View Profile
Test Proxy Server
« 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
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 12774
  • Karma: 1094
    • View Profile
Re: Test Proxy Server
« Reply #1 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.
Logged

rost

  • Newbie
  • *
  • Posts: 42
  • Karma: 4
    • View Profile
Re: Test Proxy Server
« Reply #2 on: July 01, 2015, 02:20:51 pm »
I certainly do not hurry.
I just wrote the information, maybe it would be helpful.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 12774
  • Karma: 1094
    • View Profile
Re: Test Proxy Server
« Reply #3 on: July 01, 2015, 02:39:12 pm »
But we must hurry to get the fix to you. :)
Logged

lucifercipher

  • Jr. Member
  • **
  • Posts: 55
  • Karma: 9
    • View Profile
Re: Test Proxy Server
« Reply #4 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.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 12774
  • Karma: 1094
    • View Profile
Re: Test Proxy Server
« Reply #5 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.
Logged

lucifercipher

  • Jr. Member
  • **
  • Posts: 55
  • Karma: 9
    • View Profile
Re: Test Proxy Server
« Reply #6 on: July 06, 2015, 11:43:02 am »
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?
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Test Proxy Server
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2022 All rights reserved
  • SMF 2.0.18 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2