<div dir="ltr"><div>Hi all, <br></div><div><br></div><div>I observed the following warning at squid cache logs: <br></div><div><br></div><div><span style="font-family:monospace,monospace">WARNING! Your cache is running out of filedescriptors</span></div><div><br></div><div>Googling around I tried to increase the default file descriptors of the system (I am runnign Debian9 x64 bit), by setting at /etc/sysctl.conf: <br></div><div><br></div><div><span style="font-family:monospace,monospace">fs.file-max=802762</span></div><div><br></div><div>Restarted system. Still was receiving the warnings. <br></div><div><br></div><div>When checking further I observed that I have the following default limits: <br></div><div><br></div><div><br></div><div><span style="font-family:monospace,monospace">ulimit -a<br>core file size          (blocks, -c) 0<br>data seg size           (kbytes, -d) unlimited<br>scheduling priority             (-e) 0<br>file size               (blocks, -f) unlimited<br>pending signals                 (-i) 15338<br>max locked memory       (kbytes, -l) 64<br>max memory size         (kbytes, -m) unlimited<br><b>open files                      (-n) 1024</b><br>pipe size            (512 bytes, -p) 8<br>POSIX message queues     (bytes, -q) 819200<br>real-time priority              (-r) 0<br>stack size              (kbytes, -s) 8192<br>cpu time               (seconds, -t) unlimited<br>max user processes              (-u) 15338<br>virtual memory          (kbytes, -v) unlimited<br>file locks                      (-x) unlimited</span><br></div><div><br></div><div><br></div><div>Where the "open files" seems to be the related one. <br></div><div><br></div><div>I set also the following at squid conf: <br></div><div><br></div><div><span style="font-family:monospace,monospace">max_filedescriptors 65535</span></div><div><br></div><div>I am running a compiled version 3.5.23. <br></div><div><br></div><div>I am not sure I have done the correct steps or if I need to tweak the ulimits also.<br></div><div>Any experience from your side?</div><div><br></div><div>Thanx, <br></div><div>alex<br></div><div><br></div></div>