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

2021-03-22 Thread Angelo Wang
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?

Best,


___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


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

2021-03-22 Thread Antony Stone
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 
instead.


Antony.

-- 
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.
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


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

2021-03-22 Thread Francesco Chemolli
Hi Angelo,
   Squid shouldn't crash with any number of connections.
Anything in the logs?

On Mon, Mar 22, 2021 at 2:59 PM 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?
>
> Best,
>
>
> ___
> squid-users mailing list
> squid-users@lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
>


-- 
Francesco
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


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

2021-03-22 Thread Eliezer Croitoru
It can crash if the memory is low compared to the number of allowed connections 
in the ulimit.

I don’t know the proxy and the setup but there are couple ways to limit 
connections per IP if indeed the
proxy is overloaded sometimes by specific users.

 

Angelo, you should really try to verify why is it crashing the proxy.

 

Eliezer

 



Eliezer Croitoru

Tech Support

Mobile: +972-5-28704261

Email: ngtech1...@gmail.com  

Zoom: Coming soon

 

 

From: squid-users  On Behalf Of 
Francesco Chemolli
Sent: Monday, March 22, 2021 5:20 PM
To: squid-users@lists.squid-cache.org
Subject: Re: [squid-users] How to automatically Restart Squid on Ubuntu?

 

Hi Angelo,

   Squid shouldn't crash with any number of connections. 

Anything in the logs?

 

On Mon, Mar 22, 2021 at 2:59 PM Angelo Wang mailto:wangang...@hotmail.com> > 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?

 

Best,

 

 

___
squid-users mailing list
squid-users@lists.squid-cache.org  
http://lists.squid-cache.org/listinfo/squid-users




 

-- 

Francesco

___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


[squid-users] HTTPS caching is not working in squid with ssl-bump enabled

2021-03-22 Thread Vignesh Ramessh
Hi Team,

Currently am running squid version 4.14 on RPi3.
Trying to cache https responses with cache-control:max-age headers
available,
using ssl bump - peek n splice feature with examples available in this link
:- https://elatov.github.io/2019/01/using-squid-to-proxy-ssl-sites/
But the https caching doesnt seem to work, https connections are getting
established as TCP_TUNNEL/200 in squid access logs.
I wasnt able to find any proper documentation on https caching using squid.
Can you kindly help me with this request.

Regards,
Vignesh
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users