Posts Tagged ‘file descriptors’

Increase the maximum file descriptors for Squid

ถ้า squid คุณเกิดปัญหาหรือ error message ขึ้นว่า WARNING! Your cache is running out of filedescriptors ในไฟล์ cache.log แสดงว่า Squid version ที่ใช้อยู่ได้ compile ให้ไฟล์ file descriptors ให้สามารถใช้ได้มากสุด 1024 ซึ่งปัญหานี้เราไม่สามารถแก้ไขด้วยวิธีการใช้ ulimit ได้โดยตรง ใน Squid ที่ support จะมี option max_filedesc เพิ่มขึ้นมาเพื่อใช้ในกาีรแก้ไขปัญหานี้ Linux ที่ support (ตอนนี้ทราบแต่ทาง Red Hat) Red Hat Enterprise Linux 3: squid-2.5.STABLE3-6.3E.18 Red Hat Enterprise Linux 4: squid-2.5.STABLE14-1.4E [...]