[systemd-devel] Unit failed to load: Cannot allocate memory.
Mike Kazantsev
mk.fraggod at gmail.com
Sat Aug 20 02:21:33 PDT 2011
On Thu, 18 Aug 2011 16:20:20 +0200
Lennart Poettering <lennart at poettering.net> wrote:
> On Tue, 09.08.11 07:02, Mike Kazantsev (mk.fraggod at gmail.com) wrote:
>
> > Good day,
> >
> > Updating to systemd-33 (with "include missing.h" patch) seem to give me
> > the following errors on boot:
> >
> > [ 27.024525] systemd[1]: Cannot add dependency job for unit fossil_echo.service, ignoring: Unit fossil_echo.service failed to load: Cannot allocate memory. See system logs and 'systemctl status fossil_echo.service' for details.
...
>
> Any chance you can bisect this?
>
Reexec reacts on these units right before "Deserializing state..." msg,
with the same messages.
I'll check whether they go away on reexec to 32 and reappear in 33, and
if that's the case, will have results shortly.
> ENOMEM in these cases is very strange. It should normally not
> happen. It's a bit hard to see know from this output however which
> operation precisely generated the ENOMEM.
>
> Could you try systemd.log_level=debug systemd.log_target=kmsg and see if
> you can reproduce this?
>
Not much info there, I'm afraid:
[ 48.972457] systemd[1]: systemd 33 running in system mode. (+PAM -LIBWRAP -AUDIT -SELINUX -SYSVINIT +LIBCRYPTSETUP; other)
[ 48.999695] systemd[1]: Set hostname to <damnation>.
[ 49.043612] systemd[1]: Looking for unit files in:
[ 49.043624] systemd[1]: /etc/systemd/system
[ 49.043632] systemd[1]: /lib64/systemd/system
[ 49.043642] systemd[1]: Disabled SysV init scripts and rcN.d links support
[ 49.043980] systemd[1]: Using cgroup controller name=systemd. File system hierarchy is at /sys/fs/cgroup/systemd/system.
[ 49.044210] systemd[1]: Installed release agent.
[ 49.073399] systemd[1]: Created root group.
[ 49.073487] systemd[1]: Using notification socket /run/systemd/notify
[ 49.073837] systemd[1]: Successfully created private D-Bus server.
[ 49.075082] systemd[1]: Spawned //lib64/systemd/system-generators/systemd-getty-generator as 556
[ 49.075437] systemd[1]: Spawned //lib64/systemd/system-generators/systemd-cryptsetup-generator as 557
[ 49.094653] systemd[1]: //lib64/systemd/system-generators/systemd-cryptsetup-generator exited successfully.
[ 49.094947] systemd[1]: //lib64/systemd/system-generators/systemd-getty-generator exited successfully.
[ 49.507443] systemd[1]: Failed to load configuration for plymouth-quit-wait.service: No such file or directory
[ 49.515014] systemd[1]: Failed to load configuration for dnsfilter.service: Cannot allocate memory
[ 49.676117] systemd[1]: Failed to load configuration for transmission-daemon.service: Cannot allocate memory
[ 49.725750] systemd[1]: Failed to load configuration for git-daemon.service: Cannot allocate memory
[ 49.841745] systemd[1]: Failed to load configuration for uwsgi_ves.service: Cannot allocate memory
[ 49.869937] systemd[1]: Failed to load configuration for uwsgi_graphite.service: Cannot allocate memory
[ 49.906513] systemd[1]: Failed to load configuration for catalyst_thruk.service: Cannot allocate memory
[ 49.970346] systemd[1]: Failed to load configuration for fossil_echo.service: Cannot allocate memory
[ 50.163117] systemd[1]: Failed to load configuration for auditd.service: No such file or directory
[ 50.205398] systemd[1]: -.mount changed dead -> mounted
[ 50.205504] systemd[1]: sys-fs-fuse-connections.mount changed dead -> mounted
[ 50.205627] systemd[1]: Activating default unit: default.target
[ 50.205650] systemd[1]: Trying to enqueue job graphical.target/start/replace
[ 50.206010] systemd[1]: Cannot add dependency job for unit fossil_echo.service, ignoring: Unit fossil_echo.service failed to load: Cannot allocate memory. See system logs and 'systemctl status fossil_echo.service' for details.
[ 50.206390] systemd[1]: Cannot add dependency job for unit catalyst_thruk.service, ignoring: Unit catalyst_thruk.service failed to load: Cannot allocate memory. See system logs and 'systemctl status catalyst_thruk.service' for details.
[ 50.206777] systemd[1]: Cannot add dependency job for unit uwsgi_graphite.service, ignoring: Unit uwsgi_graphite.service failed to load: Cannot allocate memory. See system logs and 'systemctl status uwsgi_graphite.service' for details.
[ 50.207116] systemd[1]: Cannot add dependency job for unit uwsgi_ves.service, ignoring: Unit uwsgi_ves.service failed to load: Cannot allocate memory. See system logs and 'systemctl status uwsgi_ves.service' for details.
[ 50.207507] systemd[1]: Cannot add dependency job for unit git-daemon.service, ignoring: Unit git-daemon.service failed to load: Cannot allocate memory. See system logs and 'systemctl status git-daemon.service' for details.
[ 50.207865] systemd[1]: Cannot add dependency job for unit transmission-daemon.service, ignoring: Unit transmission-daemon.service failed to load: Cannot allocate memory. See system logs and 'systemctl status transmission-daemon.service' for details.
[ 50.208350] systemd[1]: Cannot add dependency job for unit dnsfilter.service, ignoring: Unit dnsfilter.service failed to load: Cannot allocate memory. See system logs and 'systemctl status dnsfilter.service' for details.
[ 50.209149] systemd[1]: Installed new job graphical.target/start as 1
[ 50.209162] systemd[1]: Installed new job multi-user.target/start as 2
[ 50.209173] systemd[1]: Installed new job basic.target/start as 3
[ 50.209184] systemd[1]: Installed new job sysinit.target/start as 4
[ 50.209194] systemd[1]: Installed new job local-fs.target/start as 5
[ 50.209205] systemd[1]: Installed new job tmp.mount/start as 6
...and goes on
--
Mike Kazantsev // fraggod.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20110820/86db0ceb/attachment.pgp>
More information about the systemd-devel
mailing list