Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

On my ubuntu machine I have squid3 as a daemon which starts at boot. But squid3 takes a long time to start and stop (alomst more than 30 seconds). So it has slowed down my OS startup and shutdown time considerably.

share|improve this question
in the past when i used squid it was also slow when shutting down. But it sounds like a dns issue with squid. – aatdark Dec 19 '10 at 17:45
up vote 5 down vote accepted

There is a parameter called shutdown_lifetime. It has a default value of 30 seconds.

So when Squid receives a shutdown request, it waits at least 30 seconds before it terminates.

For more info see below.

share|improve this answer

Your Answer


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.