Linux / UNIX Tech Support Forum
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 ...
|
|||||||
| Getting started tutorials So much to read, so little time! If that is your problem, we have solution. Read our FAQ and tutorials to help you cut through the clutter of information overload. Only members of "contributors" group can post new tutorials. Other members can just reply to thread. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
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
__________________
Vivek Gite Linux Evangelist |
|
|||
|
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 |
|
|||
|
ok!!!
add the command as it is in the file /etc/sys.... for example: echo > 8192 /proc/sys/fs/.... or ulimit -HSn 8192 then save the file and quit...? thk u |
|
||||
|
Read linux kernel documentation and look for sysctl directory. Index of /files/linux-kernel/Documentation/sysctl/
|
![]() |
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 | 01-02-2008 10:36 AM |
| Read arguments from a file and pass them to binary file | AHJ | Shell scripting | 1 | 31-10-2007 06:04 PM |
| Problem blocking file ext downloads from Gmail in squid | Roshu | Networking, Firewalls and Security | 1 | 24-08-2007 11:21 PM |
| iptables under debian | ricc | Linux software | 1 | 22-04-2007 08:26 PM |
| increasing load | kasimani | Web servers | 3 | 21-02-2007 08:50 AM |