Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

1 Answer 1

up vote 4 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.

http://www.squid-cache.org/Doc/config/shutdown_lifetime/

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.