Re: [squid-users] Your cache is running out of filedescriptors

2018-05-29 Thread L . P . H . van Belle
.org] Namens > Matus UHLAR - fantomas > Verzonden: dinsdag 29 mei 2018 8:58 > Aan: squid-users@lists.squid-cache.org > Onderwerp: Re: [squid-users] Your cache is running out of > filedescriptors > > On 28.05.18 15:54, Rejaine Monteiro wrote: > >Solved putting the foll

Re: [squid-users] Your cache is running out of filedescriptors

2018-05-28 Thread Matus UHLAR - fantomas
On 28.05.18 15:54, Rejaine Monteiro wrote: Solved putting the following configuration in /etc/security/limits.conf file: squid hardnofile 4096 squid softnofile 4096 was there anything like that before? (including "*" in first column) It's usually

Re: [squid-users] Your cache is running out of filedescriptors

2018-05-28 Thread Rejaine Monteiro
Solved putting the following configuration in /etc/security/limits.conf file: squid hardnofile 4096 squid softnofile 4096 2018-05-28 13:45 GMT-03:00 Rejaine Monteiro : > Hello everyone. > > My squid is running normally, but after a while it stops work

[squid-users] Your cache is running out of filedescriptors

2018-05-28 Thread Rejaine Monteiro
Hello everyone. My squid is running normally, but after a while it stops working and I have to restart every time. The message that appears in the log is "Your cache is running out of filedescriptors" I already configured the fs.file-max = 65535 parameter in /etc/sysctl.conf. I am running

Re: [squid-users] Your cache is running out of filedescriptors

2017-09-02 Thread Eliezer Croitoru
-boun...@lists.squid-cache.org] On Behalf Of Vieri Sent: Friday, September 1, 2017 18:21 To: squid-users@lists.squid-cache.org Subject: Re: [squid-users] Your cache is running out of filedescriptors From: Eliezer Croitoru > > You will need to use:> ulimit -Hn 65

Re: [squid-users] Your cache is running out of filedescriptors

2017-09-01 Thread Vieri
From: Eliezer Croitoru > > You will need to use:> ulimit -Hn 65535 > > first and after this apply the lower limit: > ulimit -n 16384 > > As Amos suggested, since squid almost 100% requires root privileges then you > can add to the openrc or system startup > s

Re: [squid-users] Your cache is running out of filedescriptors

2017-09-01 Thread Eliezer Croitoru
-boun...@lists.squid-cache.org] On Behalf Of Eliezer Croitoru Sent: Friday, September 1, 2017 02:43 To: 'Vieri' ; squid-users@lists.squid-cache.org Subject: Re: [squid-users] Your cache is running out of filedescriptors Hey Vieri, The hard and soft limit are designed to administrative

Re: [squid-users] Your cache is running out of filedescriptors

2017-08-31 Thread Eliezer Croitoru
users [mailto:squid-users-boun...@lists.squid-cache.org] On Behalf Of Vieri Sent: Thursday, August 31, 2017 10:27 To: squid-users@lists.squid-cache.org Subject: Re: [squid-users] Your cache is running out of filedescriptors I'd like to add a note to my previous message. I set the follo

Re: [squid-users] Your cache is running out of filedescriptors

2017-08-31 Thread Amos Jeffries
On 31/08/17 19:26, Vieri wrote: I'd like to add a note to my previous message. I set the following values, and I'll see what happens: * hard nofile 65535 * soft nofile 16384 ("hard" being a top limit a non-root process cannot exceed) So I take it that Squid will start with a default of 16384

Re: [squid-users] Your cache is running out of filedescriptors

2017-08-31 Thread Vieri
I'd like to add a note to my previous message. I set the following values, and I'll see what happens: * hard nofile 65535 * soft nofile 16384 ("hard" being a top limit a non-root process cannot exceed) So I take it that Squid will start with a default of 16384, but will be able to increase up

Re: [squid-users] Your cache is running out of filedescriptors

2017-08-30 Thread Vieri
From: Eliezer Croitoru > > Just so you would notice: > open files (-n) 4096 > > you should first make it at least 16384 if not more... > It's not harmful to start with 65535 and then see if the issue still persists > or things get resolved. >

Re: [squid-users] Your cache is running out of filedescriptors

2017-08-30 Thread Eliezer Croitoru
August 31, 2017 00:48 To: squid-users@lists.squid-cache.org Subject: [squid-users] Your cache is running out of filedescriptors Hi, I'm opening a new thread realted to my previous post here: http://lists.squid-cache.org/pipermail/squid-users/2017-August/016233.html I'm doing so because

[squid-users] Your cache is running out of filedescriptors

2017-08-30 Thread Vieri
Hi, I'm opening a new thread realted to my previous post here: http://lists.squid-cache.org/pipermail/squid-users/2017-August/016233.html I'm doing so because the subject is more specific now. I'm obviously having trouble with file descriptors since I'm gettign the following message in the log