Squid memory usage increase overtime, proxies slows down

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Squid memory usage increase overtime, proxies slows down

squdbuff
Hello guys

Running squid on ubuntu 16

When I first start the program, the proxies are at a good speed (below
100ms)

after about 5 mins then memory usage of squid increases greatly, then the
proxies slow down to 1000ms+

my access log is getting spammed by the follow message ( I have no idea what
this means) I dont have a user named kaiz9n9d9

1578959115.266      0 216.115.184.251 TCP_DENIED/407 4130 CONNECT
www.supremenewyork.com:443 kaiz9n9d9 HIER_NONE/- text/html
1578959115.270      0 216.115.184.251 TCP_DENIED/407 4020 CONNECT
www.supremenewyork.com:443 - HIER_NONE/- text/html
1578959115.272      0 216.115.184.251 TCP_DENIED/407 4130 CONNECT
www.supremenewyork.com:443 kaiz9n9d9 HIER_NONE/- text/html
1578959115.276      0 216.115.184.251 TCP_DENIED/407 4020 CONNECT
www.supremenewyork.com:443 - HIER_NONE/- text/html
1578959115.277      0 216.115.184.251 TCP_DENIED/407 4130 CONNECT
www.supremenewyork.com:443 kaiz9n9d9 HIER_NONE/- text/html
1578959115.281      0 216.115.184.251 TCP_DENIED/407 4020 CONNECT
www.supremenewyork.com:443 - HIER_NONE/- text/html


Currently I am running "service squid reload", every 300 seconds which keeps
the proxies at a good speed

But this is not a permanent fix

Can someone please offer your advise for this issue?

Thanks!



--
Sent from: http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-Users-f1019091.html
_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users
Reply | Threaded
Open this post in threaded view
|

Re: Squid memory usage increase overtime, proxies slows down

squdbuff
When I first start squid memory usage is around 24mb, then after 5 mins
increased to 1GB!

Also, the access log size increases by 500 kb every second, so I have
disabled access log for now



--
Sent from: http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-Users-f1019091.html
_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users
Reply | Threaded
Open this post in threaded view
|

Re: Squid memory usage increase overtime, proxies slows down

Matus UHLAR - fantomas
On 13.01.20 20:02, squdbuff wrote:
>When I first start squid memory usage is around 24mb, then after 5 mins
>increased to 1GB!

https://wiki.squid-cache.org/SquidFaq/SquidMemory

>Also, the access log size increases by 500 kb every second, so I have
>disabled access log for now

wow, you have really huge traffic, in such case you should expect high
memory usage. For all data, squif must fetch it from server and pass it to
client. This requires much of buffer space.

--
Matus UHLAR - fantomas, [hidden email] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
How does cat play with mouse? cat /dev/mouse
_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users
Reply | Threaded
Open this post in threaded view
|

Re: Squid memory usage increase overtime, proxies slows down

Matus UHLAR - fantomas
In reply to this post by squdbuff
On 13.01.20 19:59, squdbuff wrote:

>When I first start the program, the proxies are at a good speed (below
>100ms)
>
>after about 5 mins then memory usage of squid increases greatly, then the
>proxies slow down to 1000ms+
>
>my access log is getting spammed by the follow message ( I have no idea what
>this means) I dont have a user named kaiz9n9d9
>
>1578959115.266      0 216.115.184.251 TCP_DENIED/407 4130 CONNECT
>www.supremenewyork.com:443 kaiz9n9d9 HIER_NONE/- text/html
>1578959115.270      0 216.115.184.251 TCP_DENIED/407 4020 CONNECT
>www.supremenewyork.com:443 - HIER_NONE/- text/html
>1578959115.272      0 216.115.184.251 TCP_DENIED/407 4130 CONNECT
>www.supremenewyork.com:443 kaiz9n9d9 HIER_NONE/- text/html
>1578959115.276      0 216.115.184.251 TCP_DENIED/407 4020 CONNECT
>www.supremenewyork.com:443 - HIER_NONE/- text/html
>1578959115.277      0 216.115.184.251 TCP_DENIED/407 4130 CONNECT
>www.supremenewyork.com:443 kaiz9n9d9 HIER_NONE/- text/html
>1578959115.281      0 216.115.184.251 TCP_DENIED/407 4020 CONNECT
>www.supremenewyork.com:443 - HIER_NONE/- text/html
>
>
>Currently I am running "service squid reload", every 300 seconds which keeps
>the proxies at a good speed
>
>But this is not a permanent fix
>
>Can someone please offer your advise for this issue?

do you know that IP, does it belong to you?
If not, it's apparently someone from the internet trying to use your squid
as a proxy.

the easiest way to avoid this is to use firewall for blocking connections
from the world to squid.

--
Matus UHLAR - fantomas, [hidden email] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety. -- Benjamin Franklin, 1759
_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users