Koozali.org formerly Contribs.org

Not sure why, but have had this squid error?

Not sure why, but have had this squid error?
« 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.
Infamy, Infamy, they all have it in for me!

Re: Not sure why, but have had this squid error?
« Reply #1 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.
Infamy, Infamy, they all have it in for me!

Offline Jean-Philippe Pialasse

  • *
  • 1,768
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Not sure why, but have had this squid error?
« Reply #2 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