There is something in our ERR_NO_RELAY that is causing this error to be logged and for the squid process to fail on start up. I can't show you the exact content of the file but I can tell you

  1. It has several lines of JavaScript

  2. When we remove the JavaScript, the problem goes away.

  3. This same file does not cause any issues other 3 instances of squid that we have running internally.

  4. All instances of squid came from the same VM images so they should be the same.

We are unable to reproduce this issue except on the one box and we are unable to debug more on this box right now because it is running in production. I know these files are interpreted so squid can replace certain values available in the session so it may be that a syntax error caused this issue. That does not explain why we cannot reproduce it on other (virtually the same) images. One difference is that the instance of squid that has the issue was under load when the issue occurred. Any suggestions/insight would be appreciated. thanks!

  • Is there an errorTryLoadText above your error in the log? – crb Jul 20 '09 at 19:06
  • from /var/log/messages Jul 20 10:37:36 crunchhost108 squid[29320]: Squid Parent: child process 29346 started Jul 20 10:37:36 crunchhost108 (squid): failed to find or read error text file. Jul 20 10:37:36 crunchhost108 squid[29320]: Squid Parent: child process 29346 exited with status 1 Jul 20 10:37:36 crunchhost108 squid[29320]: Exiting due to repeated, frequent failures – adam Jul 20 '09 at 19:45

Check /var/log/squid/cache.log, maybe you can find which file Squid failed to find.


Try pushing up the logging, refer to this post that links to the debug_options values to help debug it.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.