Страница 1 из 1

storeDiskdSend: msgsnd: (35) resource temporarily unavailab

Добавлено: 2008-12-05 12:13:33
FoxDW
Работал сквид хде то месяц а потом упал и сказал storeDiskdSend: msgsnd: (35) resource temporarily unavailable что такое ?

в логах такое

Код: Выделить всё

2008/12/05 16:04:17| Adding nameserver 195.112.224.75 from /etc/resolv.conf
2008/12/05 16:04:17| helperOpenServers: Starting 5 'redirector' processes
2008/12/05 16:04:17| helperOpenServers: Starting 10 'ntlm_auth' processes
2008/12/05 16:04:17| Unlinkd pipe opened on FD 27
2008/12/05 16:04:17| Store logging disabled
2008/12/05 16:04:17| Swap maxSize 15728640 KB, estimated 1209895 objects
2008/12/05 16:04:17| Target number of buckets: 60494
2008/12/05 16:04:17| Using 65536 Store buckets
2008/12/05 16:04:17| Max Mem  size: 1048576 KB
2008/12/05 16:04:17| Max Swap size: 15728640 KB
2008/12/05 16:04:17| Version 1 of swap file with LFS support detected...
2008/12/05 16:04:17| Rebuilding storage in /usr/local/squid/cache (DIRTY)
2008/12/05 16:04:17| Using Least Load store dir selection
2008/12/05 16:04:17| Current Directory is /usr/local/squid/logs
2008/12/05 16:04:17| Loaded Icons.
2008/12/05 16:04:17| Accepting  HTTP connections at 0.0.0.0, port 3128, FD 29.
2008/12/05 16:04:17| HTCP Disabled.
2008/12/05 16:04:17| Ready to serve requests.
2008/12/05 16:04:18| Store rebuilding is 1.08% complete
2008/12/05 16:04:19| storeDiskdSend: msgsnd: (35) Resource temporarily unavailable
2008/12/05 16:04:19| storeDiskdSend CREATE: (35) Resource temporarily unavailable
2008/12/05 16:04:19| storeDiskdSend: msgsnd: (35) Resource temporarily unavailable
2008/12/05 16:04:19| storeDiskdSend CLOSE: (35) Resource temporarily unavailable
2008/12/05 16:04:19| assertion failed: ufs/store_io_ufs.cc:129: "!(closing ||opening)"
2008/12/05 16:04:23| Starting Squid Cache version 3.0.STABLE9 for i386-portbld-freebsd7.0...
2008/12/05 16:04:23| Process ID 69619
2008/12/05 16:04:23| With 11072 file descriptors available
2008/12/05 16:04:23| DNS Socket created at 0.0.0.0, port 65080, FD 7
2008/12/05 16:04:23| Adding domain eliteautocompany.ru from /etc/resolv.conf
2008/12/05 16:04:23| Adding nameserver 192.168.2.1 from /etc/resolv.conf
2008/12/05 16:04:23| Adding nameserver 195.112.224.126 from /etc/resolv.conf
2008/12/05 16:04:23| Adding nameserver 195.112.224.75 from /etc/resolv.conf
2008/12/05 16:04:23| helperOpenServers: Starting 5 'redirector' processes
2008/12/05 16:04:23| helperOpenServers: Starting 10 'ntlm_auth' processes
2008/12/05 16:04:23| Unlinkd pipe opened on FD 27
2008/12/05 16:04:23| Store logging disabled
2008/12/05 16:04:23| Swap maxSize 15728640 KB, estimated 1209895 objects
2008/12/05 16:04:23| Target number of buckets: 60494
2008/12/05 16:04:23| Using 65536 Store buckets
2008/12/05 16:04:23| Max Mem  size: 1048576 KB
2008/12/05 16:04:23| Max Swap size: 15728640 KB
2008/12/05 16:04:23| Version 1 of swap file with LFS support detected...
2008/12/05 16:04:23| Rebuilding storage in /usr/local/squid/cache (DIRTY)
2008/12/05 16:04:23| Using Least Load store dir selection
2008/12/05 16:04:23| Current Directory is /usr/local/squid/logs
2008/12/05 16:04:23| Loaded Icons.
2008/12/05 16:04:23| Accepting  HTTP connections at 0.0.0.0, port 3128, FD 29.
2008/12/05 16:04:23| HTCP Disabled.
2008/12/05 16:04:23| Ready to serve requests.
2008/12/05 16:04:24| Store rebuilding is 1.08% complete
2008/12/05 16:04:26| storeDiskdSend: msgsnd: (35) Resource temporarily unavailable
2008/12/05 16:04:26| storeDiskdSend CREATE: (35) Resource temporarily unavailable
2008/12/05 16:04:26| storeDiskdSend: msgsnd: (35) Resource temporarily unavailable
2008/12/05 16:04:26| storeDiskdSend CLOSE: (35) Resource temporarily unavailable
2008/12/05 16:04:26| assertion failed: ufs/store_io_ufs.cc:129: "!(closing ||opening)"
Думаю что то не то с этим

Код: Выделить всё

# Physical memory / 3
cache_mem 1024 MB
# Max out Squid I/O perfomance, 15 GB cache and use Squid special diskd
# but you need to recompile the kernel
# To use disk you need to --enable-storeio=diskd,ufs
# Reasonable values for Q1 and Q2 are 72 and 64, respectively.
# Q1 value must bigger Q2
#cache_dir diskd /usr/local/squid/cache 15360 16 256 Q1=72 Q2=64
cache_dir ufs /usr/local/squid/cache 15360 16 256
раньше стояло

Код: Выделить всё

cache_dir diskd /usr/local/squid/cache 15360 16 256 Q1=72 Q2=64
поменял на

Код: Выделить всё

cache_dir ufs /usr/local/squid/cache 15360 16 256
Размер папки cache 4549 Mb
вроде заработало

Re: storeDiskdSend: msgsnd: (35) resource temporarily unavailab

Добавлено: 2008-12-05 13:39:39
manefesto
а squid -k reconfigure делал ?
Кэш пересоздавал ?