Re: [squid-users] File Descriptors

2010-07-05 Thread balkrishna
Mr ED, Changing the FD value from limits.conf and including the "ulimit -HSn 4096" in squid daemon does not change the default squid FD limit. This needs to be done in compile time. Recompile your squid and run "ulimit -HSn 4096" after compile and before make install. That will work. Regards, --

Re: [squid-users] File Descriptors

2010-07-05 Thread Ivan .
set at > compile time. I ran into this problem myself. > > -Dan > > > -Original Message- > From:   Superted666 [mailto:ruckafe...@gmail.com] > Sent:   Mon 7/5/2010 3:33 PM > To:     squid-users@squid-cache.org > Cc: > Subject:        [squid-users] File Descrip

RE: [squid-users] File Descriptors

2010-07-05 Thread Mellem, Dan
:[squid-users] File Descriptors Hello, Got a odd problem with file descriptors im hoping you guys could help me out with? Background I'm running CentOS 5.5 and squid 3.0 Stable 5. The system is configured with 4096 file descriptors with the following : /etc/security/limits

[squid-users] File Descriptors

2010-07-05 Thread Superted666
Hello, Got a odd problem with file descriptors im hoping you guys could help me out with? Background I'm running CentOS 5.5 and squid 3.0 Stable 5. The system is configured with 4096 file descriptors with the following : /etc/security/limits.conf *- nofile 4096

Re: [squid-users] File descriptors issue

2009-12-16 Thread Amos Jeffries
On Wed, 16 Dec 2009 18:03:53 +0100, Solaris Treize wrote: > Hello, > I'm running squid-3.0.STABLE18 that I've compiled with the options > --with-filedescriptors=32768 > > I have added to /etc/security/limits.conf the following lines on my > Redhat host : > squid hardnofile

[squid-users] File descriptors issue

2009-12-16 Thread Solaris Treize
Hello, I'm running squid-3.0.STABLE18 that I've compiled with the options --with-filedescriptors=32768 I have added to /etc/security/limits.conf the following lines on my Redhat host : squid           hard    nofile          32768 squid           soft    nofile          32768 As squid user, ulimi

Re: [squid-users] file descriptors and segmentation fault

2008-08-04 Thread Leonardo Rodrigues Magalhães
Abdock escreveu: I am using centos4, i read your post, but in my case it happens just in 30 mins all descriptors get used up, and squid is running but no file left. And this happened suddenly could be something to do with worm / network prob, happens on heavy usage. in my cases, it

RE: [squid-users] file descriptors and segmentation fault

2008-08-02 Thread Abdock
Rodrigues Magalhães [mailto:[EMAIL PROTECTED] Sent: 01 August 2008 17:59 To: Abdock Cc: squid-users@squid-cache.org Subject: Re: [squid-users] file descriptors and segmentation fault Abdock escreveu: > Hello, > > I have been running squid for long time, same config, squid-3.0

Re: [squid-users] file descriptors and segmentation fault

2008-08-01 Thread Leonardo Rodrigues Magalhães
Abdock escreveu: Hello, I have been running squid for long time, same config, squid-3.0-stable-7, transparent mode. Jjust yesterday in the morning all the file descriptors were used up, the graph showed slow decline in usage till none were left, later on i restarted squid and it went ok for a

[squid-users] file descriptors and segmentation fault

2008-08-01 Thread Abdock
Hello, I have been running squid for long time, same config, squid-3.0-stable-7, transparent mode. Jjust yesterday in the morning all the file descriptors were used up, the graph showed slow decline in usage till none were left, later on i restarted squid and it went ok for a while and then again

Re: [squid-users] "file descriptors" set to 1024 instead of user-defined one

2008-06-24 Thread Henrik Nordstrom
tis 2008-06-24 klockan 23:42 +0600 skrev Azhar H. Chowdhury: > Hi, I am running squid 3.0 stable 6 on Fedora core 6. When I run squid from > command prompt, it's setting up "File descriptors" value to 131072 what > I defined at compile time. But running at rc.local (Just put a line with > path of

[squid-users] "file descriptors" set to 1024 instead of user-defined one

2008-06-24 Thread Azhar H. Chowdhury
Hi, I am running squid 3.0 stable 6 on Fedora core 6. When I run squid from command prompt, it's setting up "File descriptors" value to 131072 what I defined at compile time. But running at rc.local (Just put a line with path of squid exe location) set the "file descriptors" value to 1024. Squi

Re: [squid-users] File Descriptors causing an issue in OpenBSD

2007-08-10 Thread Preetish
Hi All, Recompilng the kernel with MAXFILES=8192 worked. I even had to add the line :openfiles-max=infinity:\ to /etc/login.def in the daemon section. Well now the File Descriptors has increased and even the internet speed is good ( i ll know it better by tomorrow). I have kept my cache

Re: [squid-users] File Descriptors causing an issue in OpenBSD

2007-08-10 Thread Tek Bahadur Limbu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 10 Aug 2007 01:17:21 +0530 Preetish <[EMAIL PROTECTED]> wrote: > > >Odd.. are you sure you are really running the new binary, and that the > > >ulimit setting is done correctly in the start script? > > #Squid startup/shutdown > > if [ -z $1

Re: [squid-users] File Descriptors causing an issue in OpenBSD

2007-08-09 Thread Preetish
> >Odd.. are you sure you are really running the new binary, and that the > >ulimit setting is done correctly in the start script? #Squid startup/shutdown if [ -z $1 ] ; then echo -n "Syntax is: $0 start stop" exit fi if [ $1 != start -a $1 != stop ]; then echo -n "Wrong

Re: [squid-users] File Descriptors causing an issue in OpenBSD

2007-08-09 Thread Tek Bahadur Limbu
Preetish wrote: Hi Everybody I have recompiled Squid the way i saw in one of the how to. this is what i did 1)I uninstalled Squid 2) #ulimit -HSn 8192 #then recompiled squid with --with-maxfd=8192 then in my starting squid script i have added ulimit -HSn 8192 But still it shows the same number

Re: [squid-users] File Descriptors causing an issue in OpenBSD

2007-08-09 Thread Henrik Nordstrom
On tor, 2007-08-09 at 17:00 +0530, Preetish wrote: > Hi Everybody > > I have recompiled Squid the way i saw in one of the how to. this is what i did > > 1)I uninstalled Squid > 2) > #ulimit -HSn 8192 > #then recompiled squid with --with-maxfd=8192 > then in my starting squid script i have added u

[squid-users] File Descriptors causing an issue in OpenBSD

2007-08-09 Thread Preetish
Hi Everybody I have recompiled Squid the way i saw in one of the how to. this is what i did 1)I uninstalled Squid 2) #ulimit -HSn 8192 #then recompiled squid with --with-maxfd=8192 then in my starting squid script i have added ulimit -HSn 8192 But still it shows the same number of file descripto

Re: [squid-users] File Descriptors

2007-02-03 Thread Henrik Nordstrom
fre 2007-02-02 klockan 14:25 -0200 skrev Michel Santos: > >When Squid sees it's short of filedescriptors it stops accepting > > new requests, focusing on finishing what it has already accepted. > > isn't this conflicting with what you said before? No. > do squid recover or do it need to be rest

Re: [squid-users] File Descriptors

2007-02-02 Thread Michel Santos
Henrik Nordstrom disse na ultima mensagem: > fre 2007-02-02 klockan 10:54 +0800 skrev Adrian Chadd: > >> If your system or process FD limits are lower than what Squid believes >> it >> to be, then yup. It'll get unhappy. > > Only temporarily. It automatically adjusts fd usage to what the system >

Re: [squid-users] File Descriptors

2007-02-02 Thread Henrik Nordstrom
fre 2007-02-02 klockan 10:54 +0800 skrev Adrian Chadd: > If your system or process FD limits are lower than what Squid believes it > to be, then yup. It'll get unhappy. Only temporarily. It automatically adjusts fd usage to what the system can sustain when hitting the limit (see fdAdjustReserved)

Re: [squid-users] File Descriptors

2007-02-02 Thread Henrik Nordstrom
tor 2007-02-01 klockan 20:01 -0600 skrev Matt: > What does Squid do or act like when its out of file descriptors? When Squid sees it's short of filedescriptors it stops accepting new requests, focusing on finishing what it has already accepted. And long before there is a shortage it disables the

Re: [squid-users] File Descriptors

2007-02-01 Thread Adrian Chadd
On Thu, Feb 01, 2007, Matt wrote: > What does Squid do or act like when its out of file descriptors? If > cachemgr says it still has some left could it still really be out? If your system or process FD limits are lower than what Squid believes it to be, then yup. It'll get unhappy. (It generally

[squid-users] File Descriptors

2007-02-01 Thread Matt
What does Squid do or act like when its out of file descriptors? If cachemgr says it still has some left could it still really be out? Matt

Re: [squid-users] FILE DESCRIPTORS

2006-02-23 Thread Squidrunner Support Team
Original Message- > From: Mark Elsen [mailto:[EMAIL PROTECTED] > Sent: Donnerstag, 23. Februar 2006 09:26 > To: Gregori Parker > Cc: squid-users@squid-cache.org > Subject: Re: [squid-users] FILE DESCRIPTORS > > > Sorry to be pounding the list lately, but I'm

RE: [squid-users] FILE DESCRIPTORS

2006-02-23 Thread Gix, Lilian \(CI/OSR\) *
... Gix Lilian -Original Message- From: Mark Elsen [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 23. Februar 2006 09:26 To: Gregori Parker Cc: squid-users@squid-cache.org Subject: Re: [squid-users] FILE DESCRIPTORS > Sorry to be pounding the list lately, but I'm about to lo

Re: [squid-users] FILE DESCRIPTORS

2006-02-23 Thread Mark Elsen
> Sorry to be pounding the list lately, but I'm about to lose it with > these file descriptors... > > I've done everything I have read about to increase file descriptors on > my caching box, and now I just rebuilt a fresh clean squid. Before I > ran configure, I did ulimit -HSn 8192, and I noticed

RE: [squid-users] FILE DESCRIPTORS

2006-02-23 Thread Gregori Parker
27;Squid stopped' ;; esac From: kabindra shrestha [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 22, 2006 7:28 PM To: Gregori Parker Subject: Re: [squid-users] FILE DESCRIPTORS u ve to run the same command "ulimit -HSn 8192&q

[squid-users] FILE DESCRIPTORS

2006-02-22 Thread Gregori Parker
Sorry to be pounding the list lately, but I'm about to lose it with these file descriptors... I've done everything I have read about to increase file descriptors on my caching box, and now I just rebuilt a fresh clean squid. Before I ran configure, I did ulimit -HSn 8192, and I noticed that while

Re: [squid-users] File descriptors

2005-08-05 Thread Awie
> > I am at 8192 File Descriptors, but am still running out, so I am moving > > to 16,000 next. I just need to know the ramifications of what I am > > doing. > > Quite likely you have some other problem with the filedescriptor problem > only being a side effect. 8K filedescriptors is well more than

Re: [squid-users] File descriptors

2005-08-05 Thread Henrik Nordstrom
On Fri, 1 Jul 2005, Sam Reynolds wrote: What is the maximum number of File descriptors that you can have? Depends on your OS. The default is 1024. Is there a correlation between the number of File Descriptors and RAM? YEs, but even more so between file descriptors and CPU usage. At what

[squid-users] File descriptors

2005-07-01 Thread Sam Reynolds
What is the maximum number of File descriptors that you can have? Is there a correlation between the number of File Descriptors and RAM? At what point does increasing the number of File Descriptors become a problem? I am at 8192 File Descriptors, but am still running out, so I am moving to 16,0

Re: [squid-users] file descriptors - urgent request

2003-11-03 Thread jeff . richards
cc: 03/11/2003 18:22 Subject: Re: [squid-users] file descriptors - urgent r

Re: [squid-users] file descriptors - urgent request

2003-11-03 Thread Tom Lahti
Sorry, I just noticed your question actually said "without a recompile". In that case, the answer is no: you must recompile to raise the file descriptor limit in squid. At 10:55 PM 11/2/2003, [EMAIL PROTECTED] wrote: Mark FAQ already checked. I just wondered (grasping at straws) if there was

Re: [squid-users] file descriptors - urgent request

2003-11-03 Thread Tom Lahti
There is, and its in the FAQ. Check closer. http://www.squid-cache.org/Doc/FAQ/FAQ-11.html#ss11.4 At 10:55 PM 11/2/2003, [EMAIL PROTECTED] wrote: Mark FAQ already checked. I just wondered (grasping at straws) if there was some way of doing it. Thanks anyway! Jeff -- =

Re: [squid-users] file descriptors - urgent request

2003-11-02 Thread jeff . richards
TED] be> cc: [EMAIL PROTECTED] Subject: Re: [squid-users] file descriptors - urgent request 03/1

Re: [squid-users] file descriptors - urgent request

2003-11-02 Thread Marc Elsen
[EMAIL PROTECTED] wrote: > > If anyone can give me a definitive response in the next two hours, I would > be extremely grateful. > > I believe that Squid needs a recompile, with a new system fd limit in > place, in order to increase it's fd limit(?) Is there any way of increasing > the fd limit

[squid-users] file descriptors - urgent request

2003-11-02 Thread jeff . richards
If anyone can give me a definitive response in the next two hours, I would be extremely grateful. I believe that Squid needs a recompile, with a new system fd limit in place, in order to increase it's fd limit(?) Is there any way of increasing the fd limit for Squid withour a re-compile? System li

Re: [squid-users] File Descriptors

2003-08-20 Thread Henrik Nordstrom
On Tuesday 19 August 2003 22.22, [EMAIL PROTECTED] wrote: > runtime information page it shows squid seeing 1024 file > descriptors available. > > Do I need to recompile squid to fix this? Most likely yes. The ulimit set when you compile Squid is built into the Squid binary and this binary can n

Re: [squid-users] File Descriptors

2003-08-19 Thread Adam Aube
>Now I am having errors show up in my log saying I am running on of file >descriptors. Using ulimit (or its equivalent), set the hard and soft limits both before compiling and before running Squid. This has been recently discussed on the list (today, I think), and also several times in the arch

[squid-users] File Descriptors

2003-08-19 Thread Paul . Fiero
I have finally managed to get WCCPv2 working on my box. Works great. Now I am having errors show up in my log saying I am running on of file descriptors. I have checked my /proc/sys/fs/file-max and /proc/sys/fs/inode-nr files and they both are set pretty high. When I check the cachemgr runtime