This is a discussion on SQUID and increasing the file descriptor on debian within the Getting started tutorials forums, part of the Linux Getting Started category; Dear Sirs, Good Afternoon. Well as we all know setting up squid on debian is so easy but the problem ...
|
|||||||
| Register | FAQ | Members List | Calendar | Forgotten your password? | Mark Forums Read |
|
|||
|
Dear Sirs,
Good Afternoon. Well as we all know setting up squid on debian is so easy but the problem is like a close system and not so easy to modify the core of this amazing cache. so I tried to install squid and it's working great on my debian etch 4.0 but after checking with the cachemgr I've found i'm limited with only 1024 as a file descriptor, so how can I increase the file descriptor after installing squid on debian? your help is highly appreciated Greetings from Lebanon |
| Sponsored Links | ||
|
|
|
||||
|
Hi!
You can use following command to increase FD on Linux: Code:
echo 5000 > /proc/sys/fs/file-max Let me know if you need any further assistance |
|
|||
|
thank you for your instant reply, does this affect the file descriptor of squid? anyway I will try it and I hope this issue would be slved by using this comand
another question if you have any amazing fine tunes to speed up the cache performance ever heard of zero hit patch for squid? and did u try it? greetings from lebanon Regards, |
|
|||
|
Excuse me! I meant (Zero pentalty hit patch - ZPH)
Squid-cache Zero Penalty Hit patch And I have one more question about increasing the file descriptor.. ulimit -n and echo XXXX > /proc/sys/fie.... what's the difference? or does these two commands end up with same results? Greetings from Lebanon Yours Sincerely |
|
|||
|
Yup same result but both will forget values after a reboot as they are temporary solution. You need to add values to /etc/sysctl.conf file to keep setting forever after a reboot
About patch ... if you are using latest version you should be fine |
|
||||
|
Read linux kernel documentation and look for sysctl directory. Index of /files/linux-kernel/Documentation/sysctl/
|
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Increasing the KERNEL parameter | sathiya | Ubuntu / Debian | 4 | 02-01-2008 11:36 AM |
| Read arguments from a file and pass them to binary file | AHJ | Shell scripting | 1 | 10-31-2007 07:04 PM |
| Problem blocking file ext downloads from Gmail in squid | Roshu | Networking, Firewalls and Security | 1 | 08-25-2007 12:21 AM |
| iptables under debian | ricc | Linux software | 1 | 04-22-2007 09:26 PM |
| increasing load | kasimani | Web servers | 3 | 02-21-2007 09:50 AM |