[squid-users] How to automatically Restart Squid on Ubuntu?

Antony Stone Antony.Stone at squid.open.source.it
Mon Mar 22 15:19:36 UTC 2021

On Monday 22 March 2021 at 15:59:37, Angelo Wang wrote:

> Hi,
> I have a /22 subnet on a server and sometimes Squid crashes when there are
> too many connections. Can someone help me create a script/command to
> automatically restart squid if this happens?

I would use http://manpages.ubuntu.com/manpages/xenial/man1/monit.1.html

On the other hand, I'd try to identify what's causing the crash and prevent it 


The best time to plant a tree is 20 years ago.
The second best time is now.

                                                   Please reply to the list;
                                                         please *don't* CC me.

More information about the squid-users mailing list