Re: [squid-users] logfileHandleWrite: daemon:/var/log/squid/access.log: error writing ((32) Broken pipe)

2022-09-06 Thread Alex Rousskov
> pid_filename /var/run/squid2.pid > postrotate > test ! -e /var/run/squid.pid || ... /usr/sbin/squid -k rotate > endscript I spotted one more (potentially critical) problem: Your Squid configuration sets pid_filename to /var/run/squid2.pid but your logrotate configuration assumes Squid

Re: [squid-users] logfileHandleWrite: daemon:/var/log/squid/access.log: error writing ((32) Broken pipe)

2022-09-06 Thread Alex Rousskov
On 9/6/22 18:02, roee klinger wrote: it seems that the logs has filled over 100GB of log data, since I made a configuration mistake (I think?) by setting this: logfile_rotate 0 This is correct setting when using an external log rotation tool like the logrotate daemon. More on that below.

Re: [squid-users] logfileHandleWrite: daemon:/var/log/squid/access.log: error writing ((32) Broken pipe)

2022-09-06 Thread roee klinger
Hey Alex, Thank you for your reply. > Your syslog or cache.log might > contain more info. Analyzing the timing/schedule of these problems may > also be helpful in identifying the trigger. After following this advice, I could easily see that this happens due to disk space running out on my server

Re: [squid-users] [squid][v5.6] : problem with "slow" or "fast" acl

2022-09-06 Thread Amos Jeffries
On 6/09/22 00:56, PERROT Eric DNUM SDCAST BST SSAIM wrote: Hello, We use directives "reply_body_max_size", "request_body_max_size" and "delay_access" to limit upload, download and passband in our infra. All of which are "fast" type. This configuration existes since a while, but we have no

[squid-users] MySQL backend for time restrictions of clients

2022-09-06 Thread ngtech1ltd
Hey Everyone, I have seen a very nice to restrict internet access by hours. The concept is pretty simple. Per client you have a time table which contains the day and the hour in the day as integers. For example the next table: ## user_id, day, hour, allow 1, 0, 8, 0 1, 0, 9, 1 … 1, 0, 20, 1 1, 0

Re: [squid-users] [squid][v5.6] : problem with "slow" or "fast" acl

2022-09-06 Thread ngtech1ltd
Hey Eric and David, I am thinking about the best place to put a note acl. What is the actual requirement? Do you want to limit a specific client or all of them? I have not used delay pools for a very long time so I am not sure about what you want these to do. Eliezer Eliezer Croitoru

Re: [squid-users] [squid][v5.6] : problem with "slow" or "fast" acl

2022-09-06 Thread David Touzeau
Hi Eric. We had the same restrictions with the fast or slow ACLs. Have you thought about creating a squid helper that calculates your needs? So maybe you can get around this by using the acl "note" acl note xxx xxx which turns your helper results (slow) into "fast". Le 05/09/2022 à 14:56, PE

Re: [squid-users] logfileHandleWrite: daemon:/var/log/squid/access.log: error writing ((32) Broken pipe)

2022-09-06 Thread Alex Rousskov
On 9/6/22 07:41, roee klinger wrote: It is also important to know that I am running multiple Squid instances on the same machine, they are all getting the error at the same time What external event(s) happen at that time? Something is probably sending a signal to the logging daemon process. I

[squid-users] logfileHandleWrite: daemon:/var/log/squid/access.log: error writing ((32) Broken pipe)

2022-09-06 Thread roee klinger
Hello, I know this is a common issue, and I found many instances of people complaining about it online, but I have not found a working fix yet. It is also important to know that I am running multiple Squid instances on the same machine, they are all getting the error at the same time, and I have

Re: [squid-users] squid-users Digest, Vol 97, Issue 4

2022-09-06 Thread ngtech1ltd
Hey Rahul, I’m trying to understand: Did you turned on the debug in level 9 since you turned spined the container? If so it’s pretty reasonable that it will run out of space pretty fast. Eliezer Eliezer Croitoru NgTech, Tech Support Mobile: +972-5-28704261 Email: ngtech1...@gmail.com