Event short description: squid_running_out_of_fds

This event happens when the log watcher detects squid cache is running out of file descriptors for its operations. When this is detected squid will have problems to properly handle incoming requests.


  1. In the case this is detected, you have to first check what is the current maximum number of allowed file descriptors. This done by running the following command (as root) inside the machine:
    >> squidclient mgr:info | grep Maximum
    ...normally, something like follows will appear:
    Maximum Resident Size: 372864 KB
    Maximum number of file descriptors: 1024
  2. To upper that limit, add the following line with the requested limit in the /etc/squid/squid.conf  (you can add at the end of the file):
    max_filedesc 4096
  3. After that, restart squid service like this:
    >> /etc/init.d/squid restart
  4. Then, recheck current max level as you did in point 1)