From: Michael Shigorin <mike@osdn.org.ua> To: ALT Linux Community <community@altlinux.ru> Cc: vserver@lists.osdn.org.ua Subject: [Comm] Re: init.d cкрипты для apache/samba опускают чужие экземляры Date: Wed, 14 Dec 2005 23:17:13 +0200 Message-ID: <20051214211713.GC2918@osdn.org.ua> (raw) In-Reply-To: <133457338.20051214231926@cyberdude.ru> [-- Attachment #1: Type: text/plain, Size: 1704 bytes --] On Wed, Dec 14, 2005 at 11:19:26PM +0300, Vlad Borisoff wrote: > В случае, если запущены несколько экземпляров apache и/или > samba с разными конфигурационными файлами, /etc/init.d/httpd* > /etc/init.d/smb* скрипты опускают все экземляры (поднимаются > экземляры без проблем). Да. > Проблема с /etc/init.d/httpd связана, как я понял с тем, что > программа start-stop-daemon учитывает не только pidfile, > но и имя процесса: таким образом убивая все процессы с > именем libhttpd.ep (ну и к тому же, ниже вызова функции > stop_daemon libhttpd.ep дополниельно убиваются через killall). Да... источник проблемы, которая *редко* приводит к залипанию одного из детишек на :80 (или где ещё) и как следствие -- морозит перезапуск сервера -- где-то сильно глубоко, судя по обсуждению в апачевых рассылках. Пришлось внедрить такой workaround, до этого он жил в рестарт-скрипте monit у нас. > Существует ли какое-либо простое решение организации > запуска/останова нескольких экземпляров процессов > apache/samba в дистрибутиве ALT Linux? или это считается > абсолютно ненужным и совершенно не стоящим внимания? Возможно, решит в корне не только эту проблему, но и ещё стопку рядомлежащих: apt-get install kernel-image-vs-smp util-vserver $BROWSER http://linux-vserver.org cd /var/lib/vservers lftp ftp://ftp.altlinux.org/pub/people/mike/vserver tar zxpf mv cd /etc/vservers $EDITOR ... service vserver start vserver $NAME enter apt-get install apache ... (в Украине также доступно здесь: ftp://ftp.linux.kiev.ua/pub/Linux/EMT/vserver) -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next parent reply other threads:[~2005-12-14 21:17 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-12-14 21:17 ` Michael Shigorin [this message] 2005-12-14 23:57 ` Dmitry V. Levin 2005-12-20 5:24 ` Dmitry Vodennikov 2005-12-20 11:16 ` Michael Shigorin 2005-12-21 5:23 ` Dmitry Vodennikov
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=20051214211713.GC2918@osdn.org.ua \ --to=mike@osdn.org.ua \ --cc=community@altlinux.ru \ --cc=community@lists.altlinux.org \ --cc=shigorin@gmail.com \ --cc=vserver@lists.osdn.org.ua \ /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