[sisyphus] fork: Resource temporarily unavailable
Peter V. Saveliev
=?iso-8859-1?q?peet_=CE=C1_eltel=2Enet?=
Ср Фев 12 20:12:18 MSK 2003
...
Проблема старая, но пока не нашел достойного решения:
8<- /var/log/maillog ---------------------------------------------------
Feb 12 20:04:52 oracle1 postfix/sendmail[7854]: warning: fork: Resource temporarily unavailable
Feb 12 20:04:56 oracle1 postfix/sendmail[9194]: warning: fork: Too many open files
Feb 12 20:04:56 oracle1 postfix/sendmail[27409]: warning: fork: Resource temporarily unavailable
Feb 12 20:04:56 oracle1 postfix/sendmail[13132]: warning: fork: Too many open files
Feb 12 20:04:57 oracle1 postfix/sendmail[11484]: warning: fork: Too many open files
Feb 12 20:05:01 oracle1 postfix/sendmail[10612]: warning: fork: Too many open files
Feb 12 20:05:01 oracle1 postfix/sendmail[12225]: warning: fork: Too many open files
Feb 12 20:05:01 oracle1 postfix/sendmail[16437]: warning: fork: Too many open files
Feb 12 20:05:02 oracle1 postfix/sendmail[8433]: warning: fork: Too many open files
Feb 12 20:05:02 oracle1 postfix/sendmail[7854]: warning: fork: Resource temporarily unavailable
Feb 12 20:05:06 oracle1 postfix/sendmail[9194]: warning: fork: Too many open files
Feb 12 20:05:06 oracle1 postfix/sendmail[27409]: warning: fork: Resource temporarily unavailable
8<----------------------------------------------------------------------
# cat /proc/sys/kernel/threads-max
32767
От оракула:
-bash-2.05b$ ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 4092
pipe size (512 bytes, -p) 8
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 1500
virtual memory (kbytes, -v) unlimited
При этом:
-bash-2.05b$ ps -aux | grep -E '^oracle' | wc -l
172
-bash-2.05b$ ps -aux | wc -l
235
В задумках... Пересобираю glibc на тему posix_threads, как нашел в одной
howto, но - поможет ли? Странно все это...
ЗЫ:
# uname -a
Linux oracle1.main 2.4.18-alt6master-smp #1 SMP Tue Apr 16 14:11:49 MSD 2002 i686 unknown unknown GNU/Linux
--
Sincerely, Peter V. Saveliev
E-mail: peet на eltel.net
Jabber: peet на jabber.ru
Подробная информация о списке рассылки Sisyphus