ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Aleksey Avdeev <solo@solin.spb.ru>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Cc: solo@altlinux.org
Subject: Re: [sisyphus] apache2: ps и killall
Date: Tue, 07 Feb 2012 23:23:02 +0400
Message-ID: <4F317A16.40302@solin.spb.ru> (raw)
In-Reply-To: <1f6a74876bdce5c1fa3fbe37d6cb0bde@hadoop.ru>

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

07.02.2012 20:32, Vitaly Kuznetsov пишет:
> On Mon, 16 Jan 2012 17:26:58 +0400, Sergei Epiphanov wrote:
  ^^^^^^^^^^^^^^^^^^^
>> Вчера наткнулся на странное поведение apache2: он запускается по команде
>> 'service httpd2 start', а вот по команде 'service httpd2 restart'  не
>> хочет
>> останавливаться: пишет, что не работает, попытка запустить вторую копию,
>> конечно же, облоамывается.
>>
>> При этом в списке ps я вижу имя процесса httpd2.worker, но команда
>> 'killall
>> httpd2.worker' говорит, что такого процесса нет. Это у меня проблемы
>> или что-
>> то более глобальное?
> 
> Это разлом новоприехавшего apache2. Выглядит разлом следующим образом:
> # cat /proc/8667/stat
> 8667 (/usr/sbin/httpd) S 1 8667 8667 0 -1 4202816 16370 0 0 0 59 2 0 0
> 20 0 1 0 3679513 220827648 16277 18446744073709551615 4194304 4637660
> 140734156750048 140734156749336 139705053965043 0 0 4096 134235883
> 18446744071580342644 0 0 17 0 0 0 0 0 0
> 
> Name выставлен в несуществующий /usr/sbin/httpd. В то же время
> инитскрипт рассчитывает на то, что name соответствует имени бинарника:
> 
> status --pidfile "$PIDFILE" --expect-user root --expect-user root --name
> $name -- $BINARY
> 
> Короче, надо отучить новый apache2 менять name таким образом.

  Если при этом:

1. Используется (грузится) mod_perl и это
apache2-mod_perl-2.0.5-alt{1,2} (mod_perl собранный с perl-5.14).

2. В /var/log/httpd2/error_log наблюдается:

Attempt to free unreferenced scalar: SV 0x8dff48, Perl interpreter:
0x8c08b0 during global destruction.

  То это <https://bugzilla.altlinux.org/show_bug.cgi?id=26892> и бочку я
качу на mod_perl собранный с perl-5.14 (подобная сборка кривит не только
у нас). Известное мне лечение -- откат на
apache2-mod_perl-2.0.4-alt1.1.

PS: Вообще, судя по дате исходного письма (см. выделение выше) --
проблема выпала ещё на apache2-2.2.21-alt1, а не только на
apache2-2.2.22-alt1, как я считал ранее. (Плохо, что не было повешано
баги: исходно письмо я пропустил).

-- 

С уважением. Алексей.



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 900 bytes --]

  reply	other threads:[~2012-02-07 19:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-16 13:26 Sergei Epiphanov
2012-01-16 15:49 ` Ildar Mulyukov
2012-02-07 16:32 ` Vitaly Kuznetsov
2012-02-07 19:23   ` Aleksey Avdeev [this message]
2012-02-07 19:50     ` Vitaly Kuznetsov

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=4F317A16.40302@solin.spb.ru \
    --to=solo@solin.spb.ru \
    --cc=sisyphus@lists.altlinux.org \
    --cc=solo@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