Вот лог /var/squid/logs/cache.log:
Код: Выделить всё
Squid Cache (Version 3.2.7): Terminated abnormally.
CPU Usage: 0.430 seconds = 0.250 user + 0.180 sys
Maximum Resident Size: 12376 KB
Page faults with physical i/o: 0
2013/05/19 09:05:50 kid1| Starting Squid Cache version 3.2.7 for x86_64-unknown-openbsd5.3...
2013/05/19 09:05:50 kid1| Process ID 3109
2013/05/19 09:05:50 kid1| Process Roles: worker
2013/05/19 09:05:50 kid1| With 8192 file descriptors available
2013/05/19 09:05:50 kid1| Initializing IP Cache...
2013/05/19 09:05:50 kid1| DNS Socket created at [::], FD 6
2013/05/19 09:05:50 kid1| DNS Socket created at 0.0.0.0, FD 7
2013/05/19 09:05:50 kid1| Adding nameserver 192.168.2.5 from /etc/resolv.conf
2013/05/19 09:05:50 kid1| Adding nameserver 192.168.2.65 from /etc/resolv.conf
2013/05/19 09:05:50 kid1| Logfile: opening log daemon:/var/squid/logs/access.log
2013/05/19 09:05:50 kid1| Logfile Daemon: opening log /var/squid/logs/access.log
2013/05/19 09:05:50 kid1| Store logging disabled
2013/05/19 09:05:50 kid1| Swap maxSize 0 + 262144 KB, estimated 20164 objects
2013/05/19 09:05:50 kid1| Target number of buckets: 1008
2013/05/19 09:05:50 kid1| Using 8192 Store buckets
2013/05/19 09:05:50 kid1| Max Mem size: 262144 KB
2013/05/19 09:05:50 kid1| Max Swap size: 0 KB
2013/05/19 09:05:50 kid1| Using Least Load store dir selection
2013/05/19 09:05:50 kid1| Set Current Directory to /var/squid/cache
2013/05/19 09:05:51 kid1| Loaded Icons.
2013/05/19 09:05:51 kid1| HTCP Disabled.
2013/05/19 09:05:51 kid1| Adaptation support is off.
2013/05/19 09:05:51 kid1| Accepting HTTP Socket connections at local=[::]:3128 remote=[::] FD 10 flags=9
2013/05/19 09:05:51 kid1| Accepting HTTP Socket connections at local=0.0.0.0:3128 remote=[::] FD 11 flags=9
2013/05/19 09:05:51 kid1| Accepting NAT intercepted HTTP Socket connections at local=127.0.0.1:3127 remote=[::] FD 12 flags=41
2013/05/19 09:05:51 kid1| storeLateRelease: released 0 objects
2013/05/19 09:39:39 kid1| comm_open: socket failure: (24) Too many open files
2013/05/19 09:39:39 kid1| Closing HTTP port [::]:3128
2013/05/19 09:39:39 kid1| Closing HTTP port 0.0.0.0:3128
2013/05/19 09:39:39 kid1| Closing HTTP port 127.0.0.1:3127
2013/05/19 09:39:39 kid1| storeDirWriteCleanLogs: Starting...
2013/05/19 09:39:39 kid1| Finished. Wrote 0 entries.
2013/05/19 09:39:39 kid1| Took 0.00 seconds ( 0.00 entries/sec).
FATAL: Too few filedescriptors available in the system (98 usable of 8192).
Сообщение в конце даёт понять что очень мало файловых дескрипторов, но как правильно увеличить это число и ничего не сломать?