Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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!

share|improve this question
    
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

2 Answers 2

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

share|improve this answer

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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