[squid-users] filedescriptor usage observation in 3.2.0.1

2010-08-14 Thread Ralf Hildebrandt
I noticed that squids use of filedescriptors is ever increasing. Today, after a restart, the numbers would drop again - to normal levels. I found that the decrease in filedescriptors ("cacheCurrentFileDescrCnt") correlated in a similar decrease in the number of clients ("cacheClients"). Coulod it

Re: [squid-users] filedescriptor usage observation in 3.2.0.1

2010-08-14 Thread Nyamul Hassan
File Descriptor count and Cache Client count are not the same thing. File Descriptors are needed whenever Squid has to write / read to a file or the network (server or client side).  So, even if only one user is using, Squid might have needed 50 FDs. If the cache.log is giving warnings about Squi

Re: [squid-users] filedescriptor usage observation in 3.2.0.1

2010-08-14 Thread Ralf Hildebrandt
* Nyamul Hassan : > File Descriptor count and Cache Client count are not the same thing. > > File Descriptors are needed whenever Squid has to write / read to a > file or the network (server or client side).  So, even if only one > user is using, Squid might have needed 50 FDs. Yes. During the ni

Re: [squid-users] filedescriptor usage observation in 3.2.0.1

2010-08-14 Thread Nyamul Hassan
I'm currently running 2.7.STABLE9, and don't see any FD leaking issue.  It might be in your version, but not common. Please check the CacheMgr Info page, and the FD page for details on how those FDs are being used.  Perhaps it will make things more clear. Our Squid has been running with the follo

Re: [squid-users] filedescriptor usage observation in 3.2.0.1

2010-08-14 Thread Ralf Hildebrandt
* Nyamul Hassan : > I'm currently running 2.7.STABLE9, and don't see any FD leaking issue. Yes, in 2.7 I also didn't have those problems :) >  It might be in your version, but not common. > > Please check the CacheMgr Info page, and the FD page for details on > how those FDs are being used.  Per

Re: [squid-users] filedescriptor usage observation in 3.2.0.1

2010-08-15 Thread Henrik Nordström
lör 2010-08-14 klockan 11:17 +0200 skrev Ralf Hildebrandt: > Coulod it be that squid is not freeing or expiring cacheClients > properly? On the weekend there are only few people working at the > hospital, thus the number I saw a few minutes ago, immediately before > the restart were totall unreali

Re: [squid-users] filedescriptor usage observation in 3.2.0.1

2010-08-15 Thread Henrik Nordström
lör 2010-08-14 klockan 14:30 +0200 skrev Ralf Hildebrandt: > It's leaking FDs. See my bugreports. Yes. aufs in Squid-3 is known to leak FDs somewhat. Exact cause has not yet been identified but it's worked on. Regards Henrik

Re: [squid-users] filedescriptor usage observation in 3.2.0.1

2010-08-16 Thread Ralf Hildebrandt
* Henrik Nordström : > lör 2010-08-14 klockan 14:30 +0200 skrev Ralf Hildebrandt: > > > It's leaking FDs. See my bugreports. > > Yes. aufs in Squid-3 is known to leak FDs somewhat. Exact cause has not > yet been identified but it's worked on. I think diskd is also affected. -- Ralf Hildebrandt

Re: [squid-users] filedescriptor usage observation in 3.2.0.1

2010-08-16 Thread Ralf Hildebrandt
* Henrik Nordström : > lör 2010-08-14 klockan 11:17 +0200 skrev Ralf Hildebrandt: > > > Coulod it be that squid is not freeing or expiring cacheClients > > properly? On the weekend there are only few people working at the > > hospital, thus the number I saw a few minutes ago, immediately before >

Re: [squid-users] filedescriptor usage observation in 3.2.0.1

2010-08-16 Thread Henrik Nordström
mån 2010-08-16 klockan 09:15 +0200 skrev Ralf Hildebrandt: > * Henrik Nordström : > > lör 2010-08-14 klockan 14:30 +0200 skrev Ralf Hildebrandt: > > > > > It's leaking FDs. See my bugreports. > > > > Yes. aufs in Squid-3 is known to leak FDs somewhat. Exact cause has not > > yet been identified b

Re: [squid-users] filedescriptor usage observation in 3.2.0.1

2010-08-16 Thread Ralf Hildebrandt
* Henrik Nordström : > mån 2010-08-16 klockan 09:15 +0200 skrev Ralf Hildebrandt: > > * Henrik Nordström : > > > lör 2010-08-14 klockan 14:30 +0200 skrev Ralf Hildebrandt: > > > > > > > It's leaking FDs. See my bugreports. > > > > > > Yes. aufs in Squid-3 is known to leak FDs somewhat. Exact caus

Re: [squid-users] filedescriptor usage observation in 3.2.0.1

2010-08-16 Thread Henrik Nordström
mån 2010-08-16 klockan 12:57 +0200 skrev Ralf Hildebrandt: > Not anymore, but when I first observed the leak I was using diskd Which version? There was one fd leak with identical symptoms fixed some year ago and I think this was visible with diskd as well. After that I am not aware of anyone see

Re: [squid-users] filedescriptor usage observation in 3.2.0.1

2010-08-16 Thread Ralf Hildebrandt
* Henrik Nordström : > mån 2010-08-16 klockan 12:57 +0200 skrev Ralf Hildebrandt: > > > Not anymore, but when I first observed the leak I was using diskd > > Which version? There was one fd leak with identical symptoms fixed some > year ago and I think this was visible with diskd as well. 3.1.6