ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] fork: Resource temporarily unavailable
@ 2003-02-12 17:12 Peter V. Saveliev
  2003-02-13  8:54 ` [sisyphus] " Vitaly Ostanin
  2003-02-14  0:26 ` [sisyphus] " Peter V. Saveliev
  0 siblings, 2 replies; 10+ messages in thread
From: Peter V. Saveliev @ 2003-02-12 17:12 UTC (permalink / raw)
  To: sisyphus

...

Проблема старая, но пока не нашел достойного решения:

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



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-02-16  5:26 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-12 17:12 [sisyphus] fork: Resource temporarily unavailable Peter V. Saveliev
2003-02-13  8:54 ` [sisyphus] " Vitaly Ostanin
2003-02-13 17:02   ` Peter V. Saveliev
2003-02-14  0:26 ` [sisyphus] " Peter V. Saveliev
2003-02-14 10:52   ` Dmitry V. Levin
2003-02-14 12:48     ` Alexey M. Victorovich
2003-02-14 13:13       ` Vyacheslav Sokolov
2003-02-14 15:46         ` Dmitry V. Levin
2003-02-14 15:44       ` Dmitry V. Levin
2003-02-16  5:26         ` Peter V. Saveliev

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git