# Strange squid process behavior

**URL:** <https://community.ipfire.org/t/strange-squid-process-behavior/9327>\
**Category:** Web Proxy, URL Filter & Update Accelerator\
**Created:** [7 February 2023 13:16 UTC](https://community.ipfire.org/t/strange-squid-process-behavior/9327 "2023-02-07T13:16:19Z")\
**Posts on this page:** 13\
**Page:** 2

<div class="post-metadata">

**Author:** ![sky7176](https://community.ipfire.org/user_avatar/community.ipfire.org/sky7176/32/12836_2.png) [@sky7176](https://community.ipfire.org/u/sky7176)\
**Post date:** [9 February 2023 13:38 UTC](https://community.ipfire.org/t/strange-squid-process-behavior/9327/21 "2023-02-09T13:38:18Z")

</div>

no nothing in common except that everyone has installed:  
guardian  
clamav  
squidclamav

But before January I didn’t notice these anomalies, for example my graph of processes in memory regarding squid has always stood at 200 MB on average in the last year, only since January has it gone crazy.

I noticed, because on all four systems, navigation was slow and sometimes the fact was reported that some sites that maybe worked a few minutes before, the browser reported that they weren’t reachable.

I logged into ipfire, cleared the cache and everything worked again.

---

<div class="post-metadata">

**Author:** ![bbitsch](https://community.ipfire.org/user_avatar/community.ipfire.org/bbitsch/32/7420_2.png) [@bbitsch](https://community.ipfire.org/u/bbitsch)\
**Post date:** [9 February 2023 13:55 UTC](https://community.ipfire.org/t/strange-squid-process-behavior/9327/22 "2023-02-09T13:55:33Z")

</div>

Hi,  
I didn’t mean the IPFire systems, but the attached networks.  
Squid handles the web requests of the LAN. Without these there will no problem. 😉  
Have you tried to switch off squidclamav? I don’t remember an issue with this at the moment, but you never know.

---

<div class="post-metadata">

**Author:** ![sky7176](https://community.ipfire.org/user_avatar/community.ipfire.org/sky7176/32/12836_2.png) [@sky7176](https://community.ipfire.org/u/sky7176)\
**Post date:** [9 February 2023 13:58 UTC](https://community.ipfire.org/t/strange-squid-process-behavior/9327/23 "2023-02-09T13:58:22Z")

</div>

The networks are different, I have about 30 home automation devices, but they were there even in December, one is an office with 2 people and the other is my parents’ firewall.

I have squidclamav deactivated from 10 days just to understand if it was him

---

<div class="post-metadata">

**Author:** ![bbitsch](https://community.ipfire.org/user_avatar/community.ipfire.org/bbitsch/32/7420_2.png) [@bbitsch](https://community.ipfire.org/u/bbitsch)\
**Post date:** [9 February 2023 14:04 UTC](https://community.ipfire.org/t/strange-squid-process-behavior/9327/24 "2023-02-09T14:04:14Z")

</div>

Maybe [this](https://community.ipfire.org/t/clamav-out-of-memory-daily-at-3am/7672) and [this](https://community.ipfire.org/t/clamav-stops-by-itself/9217) helps.

There are other topics about clamav found by searching.

---

<div class="post-metadata">

**Author:** ![sky7176](https://community.ipfire.org/user_avatar/community.ipfire.org/sky7176/32/12836_2.png) [@sky7176](https://community.ipfire.org/u/sky7176)\
**Post date:** [9 February 2023 14:49 UTC](https://community.ipfire.org/t/strange-squid-process-behavior/9327/25 "2023-02-09T14:49:02Z")

</div>

Thanks, but does clamav have any logs?  
I’ve looked in /var/log but can’t find anything

---

<div class="post-metadata">

**Author:** ![bonnietwin](https://community.ipfire.org/user_avatar/community.ipfire.org/bonnietwin/32/12350_2.png) [@bonnietwin](https://community.ipfire.org/u/bonnietwin)\
**Post date:** [9 February 2023 14:55 UTC](https://community.ipfire.org/t/strange-squid-process-behavior/9327/26 "2023-02-09T14:55:08Z")

</div>

> [@sky7176](#):
>
> Another strange thing, why if I put 600 MB as the memory cache size limit in the services graph do I see an occupation of 800MB?

In the wiki page link I gave earlier in this thread related to the cache it mentions that the cache memory value is not a fixed limit but under high load squid can override the value.

There is also a note that the cache memory value is not the total memory footprint of the cache.

---

<div class="post-metadata">

**Author:** ![bonnietwin](https://community.ipfire.org/user_avatar/community.ipfire.org/bonnietwin/32/12350_2.png) [@bonnietwin](https://community.ipfire.org/u/bonnietwin)\
**Post date:** [9 February 2023 14:57 UTC](https://community.ipfire.org/t/strange-squid-process-behavior/9327/27 "2023-02-09T14:57:41Z")

</div>

> [@sky7176](#):
>
> Thanks, but does clamav have any logs?  
> I’ve looked in /var/log but can’t find anything

I believe that you have to grep in `/var/log/messages` or you can look in the wui menu Logs - System Logs and then select ClamAV in the Section: drop down box and then press the Update button.

---

<div class="post-metadata">

**Author:** ![sky7176](https://community.ipfire.org/user_avatar/community.ipfire.org/sky7176/32/12836_2.png) [@sky7176](https://community.ipfire.org/u/sky7176)\
**Post date:** [13 February 2023 12:28 UTC](https://community.ipfire.org/t/strange-squid-process-behavior/9327/28 "2023-02-13T12:28:26Z")

</div>

Could it be the content filter causing this problem?

I’m telling you this because I tried disabling it on one of the firewalls and it’s been 4 days since the request storm last appeared.

---

<div class="post-metadata">

**Author:** ![sky7176](https://community.ipfire.org/user_avatar/community.ipfire.org/sky7176/32/12836_2.png) [@sky7176](https://community.ipfire.org/u/sky7176)\
**Post date:** [16 February 2023 08:54 UTC](https://community.ipfire.org/t/strange-squid-process-behavior/9327/29 "2023-02-16T08:54:00Z")

</div>

Good morning,  
we are on the third day with the url filter disabled and the connection storm has not yet reoccurred, all four firewalls involved are behaving the same way, I keep my fingers crossed.

---

<div class="post-metadata">

**Author:** ![sky7176](https://community.ipfire.org/user_avatar/community.ipfire.org/sky7176/32/12836_2.png) [@sky7176](https://community.ipfire.org/u/sky7176)\
**Post date:** [23 February 2023 07:32 UTC](https://community.ipfire.org/t/strange-squid-process-behavior/9327/30 "2023-02-23T07:32:39Z")

</div>

Update on the situation,  
it is now 10 days that on all 4 firewalls, with the content filter deactivated, the strange storm of requests does not appear.

Now I’d like to know why this happens.  
I’ll try to reactivate the filter to see if everything comes back.

---

<div class="post-metadata">

**Author:** ![sky7176](https://community.ipfire.org/user_avatar/community.ipfire.org/sky7176/32/12836_2.png) [@sky7176](https://community.ipfire.org/u/sky7176)\
**Post date:** [13 March 2023 11:15 UTC](https://community.ipfire.org/t/strange-squid-process-behavior/9327/31 "2023-03-13T11:15:57Z")

</div>

Good morning,  
it’s been 20 days now that with the content filter deactivated, the problem of the storm of requests no longer occurs, on mine the only peak is when I watch the amazon prime and disney plus services.  
Also for the other firewalls everything is ok.  
All are updated to CU 173, I’ll try to re-enable content filtering on mine to see what happens.

---

<div class="post-metadata">

**Author:** ![tikok974](https://community.ipfire.org/user_avatar/community.ipfire.org/tikok974/32/16395_2.png) [@tikok974](https://community.ipfire.org/u/tikok974)\
**Post date:** [3 April 2023 13:57 UTC](https://community.ipfire.org/t/strange-squid-process-behavior/9327/32 "2023-04-03T13:57:11Z")

</div>

Hi @sky7176 ,

I seem to have the same problem as you ☹

[https://community.ipfire.org/t/lots-of-none-none-000-0-error-transaction-end-before-headers-hier-none-error-messages-in-the-squid-log/9548](https://community.ipfire.org/t/lots-of-none-none-000-0-error-transaction-end-before-headers-hier-none-error-messages-in-the-squid-log/9548)

Did the problem reappear at your place ?  
Thanks

---

<div class="post-metadata">

**Author:** ![sky7176](https://community.ipfire.org/user_avatar/community.ipfire.org/sky7176/32/12836_2.png) [@sky7176](https://community.ipfire.org/u/sky7176)\
**Post date:** [4 April 2023 19:14 UTC](https://community.ipfire.org/t/strange-squid-process-behavior/9327/33 "2023-04-04T19:14:36Z")

</div>

HI,  
sorry for the delay in the response.  
No, it hasn’t happened to me in over a month.  
Other than what I indicated in the post, I did nothing, as it appeared it disappeared.  
I’ve never been able to give myself an explanation.  
DOS to my four firewalls?

[Previous page](https://community.ipfire.org/t/strange-squid-process-behavior/9327.md?page=1)
