From: "Евгений Терешков" <evg-krsk@yandex.ru>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] I: systemd-v221
Date: Thu, 25 Jun 2015 16:22:48 +0700
Message-ID: <m3lhf8uopj.fsf@thinkpad.evg-krsk.dyndns.org> (raw)
In-Reply-To: <CAEdvWkTOEC-SzB6BWvLAC3c-1ntqcXOsCE+S_EaEuJ3i4vY96g@mail.gmail.com>
Alexey Shabalin пишет:
> В сизиф отправлен systemd-v221.
> - для инит-скриптов sysv для enable|disable вместо прямого вызова
> chkconfig, запускается /lib/systemd/systemd-sysv-install. Прошу меня
> проконтролировать с этим скриптом.
При попытке сделать systemctl enable bind для bind-9.9.6-alt2 (там есть и
юнит-файл и sysv-скрипт, оба были выключены) получаю бесконечный поток
ругани (возможно, в голове там что-то другое, но из-за скорости увидеть это
малореально):
=8<===========================================================================================
Внимание: Отправляется запрос 'systemctl enable bind.service'.
Synchronizing state of bind.service with SysV init with /lib/systemd/systemd-sysv-install...
Executing /lib/systemd/systemd-sysv-install enable bind
=8<===========================================================================================
При этом LA на виртуалочке подскакивает до over 600 :-(
В конце концов прерываю стену текста по ^C и вижу, что в /etc в итоге
сервис не включился (и вообще нет никаких изменений).
В журнале на время затыка видно вот такое:
=8<===========================================================================================
Jun 25 15:58:26 testserver kernel: VFS: file-max limit 101160 reached
Jun 25 15:58:36 testserver kernel: VFS: file-max limit 101160 reached
Jun 25 15:58:57 testserver kernel: VFS: file-max limit 101160 reached
Jun 25 15:58:57 testserver systemd-timesyncd[397]: Failed to setup connection socket: Too many open files in system
Jun 25 15:59:07 testserver kernel: VFS: file-max limit 101160 reached
Jun 25 15:59:36 testserver kernel: VFS: file-max limit 101160 reached
Jun 25 15:59:46 testserver kernel: VFS: file-max limit 101160 reached
Jun 25 16:00:16 testserver kernel: VFS: file-max limit 101160 reached
Jun 25 16:00:26 testserver kernel: VFS: file-max limit 101160 reached
Jun 25 16:00:56 testserver kernel: VFS: file-max limit 101160 reached
Jun 25 16:01:06 testserver kernel: VFS: file-max limit 101160 reached
Jun 25 16:01:36 testserver kernel: VFS: file-max limit 101160 reached
Jun 25 16:01:46 testserver kernel: VFS: file-max limit 101160 reached
Jun 25 16:02:01 testserver systemd[1]: systemd-resolved.service: Watchdog timeout (limit 1min)!
Jun 25 16:02:24 testserver login[451]: pam_tcb(login:auth): Authentication passed for root from LOGIN(uid=0)
Jun 25 16:02:24 testserver login[451]: pam_tcb(login:session): Session opened for root by LOGIN(uid=0)
Jun 25 16:02:26 testserver systemd[1]: systemd-resolved.service: Main process exited, code=killed, status=6/ABRT
Jun 25 16:02:26 testserver systemd[1]: systemd-resolved.service: Unit entered failed state.
Jun 25 16:02:26 testserver systemd[1]: systemd-resolved.service: Failed with result 'signal'.
Jun 25 16:02:31 testserver systemd[1]: systemd-resolved.service: Service has no hold-off time, scheduling restart.
Jun 25 16:02:32 testserver systemd-logind[411]: New session 3 of user root.
Jun 25 16:02:32 testserver systemd[1]: Started Session 3 of user root.
Jun 25 16:02:32 testserver systemd[1]: Starting Session 3 of user root.
Jun 25 16:02:32 testserver systemd[1]: Started Getty on tty2.
Jun 25 16:02:32 testserver systemd[1]: Starting Getty on tty2...
Jun 25 16:02:32 testserver systemd[1]: Listening on Network Name Resolution Service Bus Name.
Jun 25 16:02:32 testserver systemd[1]: Starting Network Name Resolution...
Jun 25 16:02:32 testserver systemd-resolved[10324]: Using system hostname 'testserver'.
Jun 25 16:02:32 testserver systemd-resolved[10324]: Switching to system DNS server 192.168.1.254.
Jun 25 16:02:37 testserver systemd[1]: Started Network Name Resolution.
Jun 25 16:02:38 testserver systemd[1]: Started Update openresolv data from systemd-resolved.
Jun 25 16:05:17 testserver systemd[1]: Starting Cleanup of Temporary Directories...
Jun 25 16:05:18 testserver systemd[1]: Started Cleanup of Temporary Directories.
=8<===========================================================================================
Видно исчерпание количества файлов, наворачивание systemd-resolved и его
рестарт, попытка входа с консоли от имени рута (потому что сетевое
соединение работать перестало) прошедшая со скрипом. В dmesg те же самые 12
строчек про file-max limit reached.
В общем, как-то страшновато пока 221 на реальное железо ставить.
--
С уважением, Терешков Евгений.
Jabber ID: evg@altlinux.org, evg_krsk@jabber.ru
next prev parent reply other threads:[~2015-06-25 9:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-23 18:39 ` Michael Shigorin
2015-06-29 15:31 ` Michael Shigorin
2015-06-23 18:55 ` Michael Shigorin
2015-06-23 19:45 ` Michael Shigorin
2015-06-25 9:22 ` Евгений Терешков [this message]
2015-06-25 17:49 ` Евгений Терешков
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=m3lhf8uopj.fsf@thinkpad.evg-krsk.dyndns.org \
--to=evg-krsk@yandex.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