ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux general discussion list <community@altlinux.ru>
Subject: Re: [Comm] crond [was: Re: hosting]
Date: Tue, 8 Apr 2003 23:38:13 +0400
Message-ID: <20030408193813.GA32115@basalt.office.altlinux.org> (raw)
In-Reply-To: <3E927304.4010302@interlot.ru>

[-- Attachment #1: Type: text/plain, Size: 1116 bytes --]

On Tue, Apr 08, 2003 at 10:58:12AM +0400, Roman Savelyev wrote:
> Dmitry V. Levin пишет:
> >>При стандартном crond несколько пользователей, поставивших тяжелые
> >>задания на одно и то же время, могут серьезно затормозить машину.
> >Это все связано с тем, что crond(8) не использует pam(8) вообще и
> >pam_open_session(3) в частности.
> Нет, тут разговор о другом немного.

Я думаю, что разговор именно об этом.

> Речь о том, что нагрузка на систему от заданий, начавшихся в 
> определённое время может стать запредельной.

Она может стать такой и при выполнении одного задания.

> Не нагрузка на старт оных, а выполнение оных.
> 
> Напрашиваются решения:
> 1) Введение параметра "максимум активных"

Это недостаточно эффективно.

С другой стороны, поддержка pam session позволит установить, например,
per-user limit.

> 2) Откладываеие задания до снижения нагрузки

Это умеет atd(8) уже сейчас и, думаю, можно будет сделать в crond(8) при
их объединении.

> 3) Управление приоритетами

Это уже будет не совсем cron.

> 4) Управление пулами памяти (это в унихах трудно)

А что, собственно, имелось в виду?


--
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2003-04-08 19:38 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-07 10:34 [Comm] hosting Bushuev Sergey
2003-04-07 10:41 ` Mike Lykov
2003-04-07 10:56   ` Bushuev Sergey
2003-04-07 14:24     ` Roman Savelyev
2003-04-07 15:41       ` Re[2]: " Aleks
2003-04-07 16:29         ` Sergey Degtyaryov
2003-04-07 11:07 ` [Comm] hosting Andrey Brindeew
2003-04-07 14:26   ` Roman Savelyev
2003-04-07 15:14     ` Andrey Brindeew
2003-04-07 17:22       ` Roman S
2003-04-07 17:14         ` Andrey Brindeew
2003-04-09 18:25     ` [Comm] crond += batch (was: hosting) Michael Shigorin
2003-04-07 20:15   ` [Comm] crond [was: Re: hosting] Dmitry V. Levin
2003-04-08  6:58     ` Roman Savelyev
2003-04-08 19:38       ` Dmitry V. Levin [this message]
2003-04-09  6:18         ` [Comm] " Andrey Brindeew
2003-04-09  7:58         ` [Comm] " Roman Savelyev
2003-04-08 13:24 ` [Comm] hosting Борис Ревякин
2003-04-09  8:08 ` Mike Lykov
2003-04-09 18:28   ` [Comm] hosting Michael Shigorin

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=20030408193813.GA32115@basalt.office.altlinux.org \
    --to=ldv@altlinux.org \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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