ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Epiphanov Sergei <serpiph@nikiet.ru>
To: sisyphus@lists.altlinux.org
Subject: [sisyphus] question about spamd
Date: Tue, 20 Dec 2005 17:53:36 +0300
Message-ID: <200512201753.37070.serpiph@nikiet.ru> (raw)

Решил настроить spamd после обновления оного до новой версии, да вот 
незадача: 'service spamd status' говорит, что нет работающего spamd, но есть 
оборванный /var/run/spamd/spamd.pid. При этом 'ps axf' сообщает, что spamd 
работает. Команда 'killall spamd; service spamd start' говорит OK. В 
файле /etc/sysconfig/spamd нарисовано:

RUNAS=spamd
PIDFILE=/var/run/spamd/spamd.pid
SPAMDOPTIONS="-L --username=$RUNAS --pidfile=$PIDFILE"

Поиск проблемы привёл к:

1) spamd запускается, порождает потомков под пользователем spamd, но базовый 
процесс остаётся root. Предыдущая версия (3.0.4-alt1) по сравнению с текущей 
(3.1.0-alt1) вела себя более корректно, переходя вся под указанного 
пользователя.

2) В документации к spamd приведено, что вариант '--username=root' недопустим 
и программа вываливается с фатальным сообщением. На самом деле порождается 
несколько потомков и базовый процесс начинает забирать всё процессорное 
время на себя, в результате всё жутко тормозит, а потомки вешают spamc, 
обратившийся к ним.

Пришлось облететь всё на вертолёте, указав RUNAS=root, а в параметре 
--username=spamd, но такое поведение странно.

-- 
С уважением, Епифанов Сергей



             reply	other threads:[~2005-12-20 14:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-20 14:53 Epiphanov Sergei [this message]
2005-12-20 15:18 ` Dmitry V. Levin
2005-12-20 15:30   ` Ivan Adzhubey
2005-12-20 15:34     ` Dmitry V. Levin
2005-12-20 15:41       ` Ivan Adzhubey
2005-12-20 16:37         ` Dmitry V. Levin

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=200512201753.37070.serpiph@nikiet.ru \
    --to=serpiph@nikiet.ru \
    --cc=sisyphus@lists.altlinux.org \
    /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