LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-16-2011, 06:49 AM   #1
hirdesh
LQ Newbie
 
Registered: May 2011
Posts: 10

Rep: Reputation: 0
Unhappy squid-proxy-your cache is running out of file discriptor


hello friends im using a lease line on real ip for internet connection in my office.i have shared my internet conetion with a squid 2.6 stable6. i m having almost 200 pc in my office.
since last few days my squid is creating a problem.as soon as i restart it ,it work fine but after a few minute it becomes extremely slow ..it almost dies.when i go to its cache log i found the error that
your cache is running out of file descriptor...

once i increased the no of file descrptor from 1024 to 4028 , the problem temporaily sorted out but after a few days same problem is repetaed ....and still the problem exist ...as i m a ebie to linux pls help me...

plese help me ....
 
Old 05-17-2011, 12:48 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello and welcome to LinuxQuestions,

Have a look at this site for some pointers on how to solve the file descriptor problem. You should also review your configuration of Squid and check the settings referring to your cache.

Kind regards,

Eric
 
Old 05-18-2011, 01:25 AM   #3
hirdesh
LQ Newbie
 
Registered: May 2011
Posts: 10

Original Poster
Rep: Reputation: 0
thanks for your kind reply but ihave alredy incereasd no of file descriptor to 4028.the problem was teporily sort out but after a few days it agin appeared.so plese help me .....one more thing- does squid cache purging may help it out? if yes pls provide me the best way to purge the squid cache ......can i purge squid online with out affecting its working.
 
Old 05-18-2011, 01:35 AM   #4
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

If you already increased your number of file descriptors and after some time this error occurs again, then you'll have to look at your Squid cache directives as I pointed out earlier. The answer to your purge question can be found at the Squid Wiki, a very good source of information.

Kind regards,

Eric
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Squid Web Proxy Cache jabbar Linux - Server 6 06-25-2010 08:04 AM
clearing cache on squid proxy shadowsurfer Linux - Newbie 9 04-15-2008 11:33 PM
Squid proxy or cache server? jonette20 Linux - Newbie 2 08-07-2007 08:27 AM
Squid : 1 proxy 3 cache bazet Linux - Networking 1 12-03-2006 04:03 PM
Squid Reverse Proxy Cache Question Gentoo20 Linux - Networking 0 02-04-2005 01:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration