ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] question about spamd
@ 2005-12-20 14:53 Epiphanov Sergei
  2005-12-20 15:18 ` Dmitry V. Levin
  0 siblings, 1 reply; 6+ messages in thread
From: Epiphanov Sergei @ 2005-12-20 14:53 UTC (permalink / raw)
  To: sisyphus

Решил настроить 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, но такое поведение странно.

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



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

end of thread, other threads:[~2005-12-20 16:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-20 14:53 [sisyphus] question about spamd Epiphanov Sergei
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

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