ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Peter V. Saveliev" <peet@eltel.net>
To: sisyphus@altlinux.ru
Subject: Re: [sisyphus] fork: Resource temporarily unavailable
Date: Sun, 16 Feb 2003 08:26:21 +0300
Message-ID: <20030216082621.1eaae8b2.peet@eltel.net> (raw)
In-Reply-To: <20030214154459.GB18322@basalt.office.altlinux.org>

On Fri, 14 Feb 2003 18:44:59 +0300
"Dmitry V. Levin" <ldv@altlinux.org> wrote:

> On Fri, Feb 14, 2003 at 04:48:31PM +0400, Alexey M. Victorovich wrote:
> > On Fri, Feb 14, 2003 at 03:26:52AM +0300, Peter V. Saveliev wrote:
> > >> Проблема решилась - fork() удовлетворил через увеличение
> > >> PTHREAD_THREADS_MAX до 8192 в glibc, открытие файлов - через nofile
> > > 
> > > Увеличение PTHREAD_THREADS_MAX это очень плохой стиль.
> > 
> > А как это можно сделать иначе?
> 
> Это зависит от задачи.


а) задача - oracle 8i. Он дает ~150 процессов (4 базы данных). Но, при
этом, от юзера oracle больше не запустить ничего в буквальном смысле
слова, и даже su - oracle "подвисает". Самое неприятное, что не
отрабатывает бэкап, идущий, как понятно, от того же oracle. Это приводит
к тому, что диск забивается не архивируемыми вовремя archivelogs (на это
надо около полутора суток для средней юзаемости базы), и база "встает" -
некуда вести журнал.
  limits.conf правил. Но помогла только правка glibc. Как еще можно было
поступить? Я ведь и glibc-то правил только после молчания в рассылке.

б) задача - CommuniGate Pro. Ужасно кривая (имхо) софтина, но которую не
заменить пока ничем, так как это в первую очередь не MTA даже, а
вебморда. У нас он держит очень много доменов/пользователей, и иногда,
когда нагрузка возрастает, он выдает все ту же ошибку fork'a. Тут уже
верится легче, т.к. даже в покое CGP - это ~700 тредов. Стиль стилем, а
почта ходить должна.

Такие пироги с кошками.

-- 
Sincerely, Peter V. Saveliev

E-mail: peet@eltel.net
Jabber: peet@jabber.ru



      reply	other threads:[~2003-02-16  5:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-12 17:12 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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030216082621.1eaae8b2.peet@eltel.net \
    --to=peet@eltel.net \
    --cc=sisyphus@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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