当前位置: 首页 > 工具软件 > Squid > 使用案例 >

squid troubleshooting

邢皓
2023-12-01

1.Running out of filedescriptors

If you see the Too many open files error message, you are most likely running out of file descriptors. This may be due to running Squid on an operating system with a low filedescriptor limit. This limit is often configurable in the kernel or with other system tuning tools. There are two ways to run out of file descriptors: first, you can hit the per-process limit on file descriptors. Second, you can hit the system limit on total file descriptors for all processes.

 

Squid 2.0-2.6 provide a ./configure option --with-maxfd=N

 

Squid 2.7+ provide a squid.conf option max_filedescriptors

 

Squid 3.x provide a ./configure option --with-filedescriptors=N

 
 类似资料:

相关阅读

相关文章

相关问答