Koozali.org: home of the SME Server

Contribs.org Forums => Koozali SME Server 10.x => Topic started by: Drifting on May 26, 2021, 10:00:18 AM

Title: Not sure why, but have had this squid error?
Post by: Drifting on May 26, 2021, 10:00:18 AM
Hi All
SME 10 has been a dream so far, no problems that were worth mentioning. Well done to the devs.

Anyway, for some reason have had this message suddenly start appearing in email:-

squid: ERROR: Could not send signal 10 to process 1426: (3) No such process

Any ideas?

Kind regards

Paul.
Title: Re: Not sure why, but have had this squid error?
Post by: Drifting on June 09, 2021, 12:59:18 PM
Ok, so I found out it is in crontab:-
51 4 * * * root squid -k rotate
Shall I assume this is not longer needed?

Regards Paul.
Title: Re: Not sure why, but have had this squid error?
Post by: Jean-Philippe Pialasse on June 09, 2021, 04:58:57 PM
Paul,

you iwll see this error is pretty frequent on the internet,

in short the issue is when we run squid -k rotate to Parse configuration file, then send signal to running copy and exit.
When we do that, sometime the running process is not anymore the one pointed by in the pid file : /var/log/squid/squid.pid

looking at the squid log could help determining why this is happening :
- race condition
- squid has crashed



a possible issue I see is after log rotation of /var/log/squid/squid.log, no new /var/log/squid/squid.log seems created on one of my test server