OPNsense Forum

Archive => 23.7 Legacy Series => Topic started by: bcookatpcsd on November 11, 2023, 02:28:26 AM

Title: 23.7.8 - squid keeps crashing
Post by: bcookatpcsd on November 11, 2023, 02:28:26 AM
root@OPNsense:~ # dmesg | grep -c squid
19
root@OPNsense:~ # uptime
8:23PM  up 21:11, 1 user, load averages: 0.06, 0.11, 0.13

2023/11/10 20:22:13 kid1| Accepting HTTP Socket connections at conn3 local=10.20.245.42:3128 remote=[::] FD 11 flags=9
    listening port: 10.20.245.42:3128
2023/11/10 20:22:13 kid1| FATAL: assertion failed: stmem.cc:98: "lowestOffset () <= target_offset"
    current master transaction: master129
2023/11/10 20:22:13| Removing PID file (/var/run/squid/squid.pid)

root@OPNsense:~ # squid -k check
2023/11/10 20:25:27| Processing Configuration File: /usr/local/etc/squid/squid.conf (depth 0)
2023/11/10 20:25:27| Processing Configuration File: /usr/local/etc/squid/pre-auth/40-snmp.conf (depth 1)
2023/11/10 20:25:27| Processing Configuration File: /usr/local/etc/squid/pre-auth/dummy.conf (depth 1)
2023/11/10 20:25:27| Processing Configuration File: /usr/local/etc/squid/pre-auth/parentproxy.conf (depth 1)
2023/11/10 20:25:27| Processing Configuration File: /usr/local/etc/squid/auth/dummy.conf (depth 1)
2023/11/10 20:25:27| Processing Configuration File: /usr/local/etc/squid/post-auth/dummy.conf (depth 1)
2023/11/10 20:25:27| Set Current Directory to /var/squid/cache
2023/11/10 20:25:27| FATAL: failed to open /var/run/squid/squid.pid: (2) No such file or directory
    exception location: File.cc(191) open

grep -c FATAL /var/log/squid/cache.log
13



ten locations all doing the same thing..

before the update everything was working..
Title: Re: 23.7.8 - squid keeps crashing
Post by: bcookatpcsd on November 11, 2023, 02:32:57 AM
https://forum.opnsense.org/index.php?topic=36891.0

Looks like there is a squid 6.5 package..

Would that be posted here.. as that would be an update to the base system?
Title: Re: 23.7.8 - squid keeps crashing
Post by: newsense on November 11, 2023, 02:38:48 AM
Just check for updates and you'll get 6.5
Title: Re: 23.7.8 - squid keeps crashing
Post by: bcookatpcsd on November 11, 2023, 02:44:02 AM
agreed..

But where would I know to check..

Yes updating to 6.5 does fix it.

Where was that reported?

Title: Re: 23.7.8 - squid keeps crashing
Post by: bcookatpcsd on November 11, 2023, 02:49:57 AM
1am EST November 10th is when I updated the systems..

8:30pm EST is when I write the post..

Is there anything between those times about squid 6.5 package?

Title: Re: 23.7.8 - squid keeps crashing
Post by: chatmate on November 11, 2023, 04:38:49 AM
Is this a different issue than the next topic?
https://forum.opnsense.org/index.php?topic=36914.0

As far as I know, OPNsense 23.7.8 was initially released with squid 6.4 on November 9, and then the FreeBSD port was updated to 6.5 late on November 10. So the squid 6.5 that now appears to be included in OPNsense 23.7.8 is likely a later fix.

If @bcookatpcsd updated at 1am EST November 10th, I'm guessing that squid 6.4 was included in the package, not squid 6.5, at that time.
Title: Re: 23.7.8 - squid keeps crashing
Post by: SnowGhost on November 11, 2023, 06:31:24 AM
I had the same thing happen.

I went to the squid config page, support and 'reset' and that seems to have settled the problem down.  At least for 5 minutes.