[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#919213: marked as done (irqbalance: endless loop during configure, system reaches maximum of open files)



Your message dated Wed, 16 Jan 2019 20:10:53 +0100
with message-id <20190116191051.GU10003@sym.noone.org>
and subject line Re: irqbalance: endless loop during configure, system reaches maximum of open files
has caused the Debian Bug report #919213,
regarding irqbalance: endless loop during configure, system reaches maximum of open files
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
919213: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=919213
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: irqbalance
Version: 1.5.0-2
Severity: serious

On one of my systems (not the one I'm writing the report on), a
Raspberry Pi 2 with Debian Sid armhf and sysvinit, the terminal which I
ran the upgrade in, looked like this (excerpt):

Synchronizing state for irqbalance.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d irqbalance defaults
Executing /usr/sbin/update-rc.d irqbalance enable
Synchronizing state for irqbalance.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d irqbalance defaults
Executing /usr/sbin/update-rc.d irqbalance enable
Synchronizing state for irqbalance.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d irqbalance defaults
Executing /usr/sbin/update-rc.d irqbalance enable
Synchronizing state for irqbalance.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d irqbalance defaults
Executing /usr/sbin/update-rc.d irqbalance enable
Synchronizing state for irqbalance.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d irqbalance defaults
Executing /usr/sbin/update-rc.d irqbalance enable
Synchronizing state for irqbalance.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d irqbalance defaults
Executing /usr/sbin/update-rc.d irqbalance enable
Synchronizing state for irqbalance.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d irqbalance defaults
Executing /usr/sbin/update-rc.d irqbalance enable
Synchronizing state for irqbalance.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d irqbalance defaults
Executing /usr/sbin/update-rc.d irqbalance enable
Synchronizing state for irqbalance.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d irqbalance defaults
Executing /usr/sbin/update-rc.d irqbalance enable
Synchronizing state for irqbalance.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d irqbalance defaults
Executing /usr/sbin/update-rc.d irqbalance enable
Synchronizing state for irqbalance.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d irqbalance defaults
Executing /usr/sbin/update-rc.d irqbalance enable
Synchronizing state for irqbalance.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d irqbalance defaults
Executing /usr/sbin/update-rc.d irqbalance enable
Synchronizing state for irqbalance.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d irqbalance defaults
Executing /usr/sbin/update-rc.d irqbalance enable
Synchronizing state for irqbalance.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d irqbalance defaults
Executing /usr/sbin/update-rc.d irqbalance enable
Synchronizing state for irqbalance.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d irqbalance defaults
Executing /usr/sbin/update-rc.d irqbalance enable
Synchronizing state for irqbalance.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d irqbalance defaults
Executing /usr/sbin/update-rc.d irqbalance enable
Synchronizing state for irqbalance.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d irqbalance defaults

htop looked like this (excerpt):

 root       20   0  179M  1576  1404 S  0.3  0.2  3:10.99 |     +- aptitude -u
 root       20   0 10336     0     0 S  0.0  0.0  0:00.71 |        +- dpkg --status-fd 70 --configure --pending
 root       20   0 17832   748   140 S  0.0  0.1  0:17.01 |        |  +- perl -w /usr/share/debconf/frontend /var/lib/dpkg/info/irqbalance.postinst configure 1.5.0-0.1
 root       20   0  1468     0     0 S  0.0  0.0  0:00.01 |        |  |  +- sh /var/lib/dpkg/info/irqbalance.postinst configure 1.5.0-0.1
 root       20   0  7136     4     0 S  0.0  0.0  0:00.06 |        |  |     +- perl /usr/sbin/update-rc.d irqbalance enable
 root       20   0  5296     0     0 S  0.0  0.0  0:00.00 |        |  |        +- systemctl --quiet enable irqbalance
 root       20   0  7136     4     0 S  0.0  0.0  0:00.06 |        |  |           +- perl /usr/sbin/update-rc.d irqbalance enable
 root       20   0  5296     0     0 S  0.0  0.0  0:00.00 |        |  |              +- systemctl --quiet enable irqbalance
 root       20   0  7136     4     0 S  0.0  0.0  0:00.06 |        |  |                 +- perl /usr/sbin/update-rc.d irqbalance enable
 root       20   0  5296     0     0 S  0.0  0.0  0:00.00 |        |  |                    +- systemctl --quiet enable irqbalance
 root       20   0  7136     4     0 S  0.0  0.0  0:00.06 |        |  |                       +- perl /usr/sbin/update-rc.d irqbalance enable
 root       20   0  5296     0     0 S  0.0  0.0  0:00.00 |        |  |                          +- systemctl --quiet enable irqbalance
 root       20   0  7136     4     0 S  0.0  0.0  0:00.06 |        |  |                             +- perl /usr/sbin/update-rc.d irqbalance enable
 root       20   0  5296     0     0 S  0.0  0.0  0:00.00 |        |  |                                +- systemctl --quiet enable irqbalance
 root       20   0  7136     4     0 S  0.0  0.0  0:00.07 |        |  |                                   +- perl /usr/sbin/update-rc.d irqbalance enable
 root       20   0  5296     0     0 S  0.0  0.0  0:00.00 |        |  |                                      +- systemctl --quiet enable irqbalance
 root       20   0  7136     4     0 S  0.0  0.0  0:00.06 |        |  |                                         +- perl /usr/sbin/update-rc.d irqbalance enable
 root       20   0  5296     0     0 S  0.0  0.0  0:00.00 |        |  |                                            +- systemctl --quiet enable irqbalance
 root       20   0  7136     4     0 S  0.0  0.0  0:00.07 |        |  |                                               +- perl /usr/sbin/update-rc.d irqbalance enable
 root       20   0  5296     0     0 S  0.0  0.0  0:00.01 |        |  |                                                  +- systemctl --quiet enable irqbalance
 root       20   0  7136     4     0 S  0.0  0.0  0:00.06 |        |  |                                                     +- perl /usr/sbin/update-rc.d irqbalance enable
 root       20   0  5296     0     0 S  0.0  0.0  0:00.00 |        |  |                                                        +- systemctl --quiet enable irqbalance
 root       20   0  7136     4     0 S  0.0  0.0  0:00.07 |        |  |                                                           +- perl /usr/sbin/update-rc.d irqbalance enable
 root       20   0  5296     0     0 S  0.0  0.0  0:00.01 |        |  |                                                              +- systemctl --quiet enable irqbalance
 root       20   0  7136     4     0 S  0.0  0.0  0:00.06 |        |  |                                                                 +- perl /usr/sbin/update-rc.d irqbalance enable
 root       20   0  5296     0     0 S  0.0  0.0  0:00.00 |        |  |                                                                    +- systemctl --quiet enable irqbalance
 root       20   0  7136     4     0 S  0.0  0.0  0:00.06 |        |  |                                                                       +- perl /usr/sbin/update-rc.d irqbalance enable
 root       20   0  5296     0     0 S  0.0  0.0  0:00.01 |        |  |                                                                          +- systemctl --quiet enable irqbalance
 root       20   0  7136     4     0 S  0.0  0.0  0:00.06 |        |  |                                                                             +- perl /usr/sbin/update-rc.d irqbalance enable

The box was using all available swap (2GB) and threw errors like this:

zsh: pipe failed: too many open files in system

Looks as if some recursive systemctl call (why at all on a system with
sysvinit-core?) horribly went wrong.

(When killing all the systemctl processes with killall -TERM, the load
peaked at close to 1000. Still waiting for it to finish...)

--- End Message ---
--- Begin Message ---
Control: notfound -1 1.5.0-2

Hi,

Axel Beckert wrote:
> In /usr/sbin/update-rc.d:139 ff. $SYSTEMCTL_SKIP_SYSV is only used if
> /bin/systemctl exists. /bin/systemctl shouldn't exist on that system,
> but to my surprise, it does and it's rather old:
> 
> # ls -l /bin/systemctl
> -rwxr-xr-x 1 root root 366476 May 26  2015 /bin/systemctl

I found even more remainders of a previously installed systemd on that
particular Raspberry Pi:

[ctimes]
-rw-r--r-- 1 root root      71 Jul  5  2015 /var/lib/dpkg/info/systemd.triggers
-rwxr-xr-x 1 root root    1662 Jul  5  2015 /var/lib/dpkg/info/systemd.prerm
-rwxr-xr-x 1 root root    3615 Jul  5  2015 /var/lib/dpkg/info/systemd.preinst
-rwxr-xr-x 1 root root    7235 Jul  5  2015 /var/lib/dpkg/info/systemd.postinst
-rw-r--r-- 1 root root   30302 Jul  5  2015 /var/lib/dpkg/info/systemd.md5sums
-rw-r--r-- 1 root root     512 Jul  5  2015 /var/lib/dpkg/info/systemd.conffiles
-rw-r--r-- 1 root root     478 Jul  5  2015 /var/lib/dpkg/info/systemd-sysv.md5sums
-rw-r--r-- 1 root root     530 Jul  5  2015 /var/lib/dpkg/info/systemd-sysv.list
lrwxrwxrwx 1 root root      20 Jul  5  2015 /bin/systemd -> /lib/systemd/systemd
-rwxr-xr-x 1 root root   30340 Jul  5  2015 /bin/systemd-ask-password
-rwxr-xr-x 1 root root   22140 Jul  5  2015 /bin/systemd-escape
-rwxr-xr-x 1 root root   63228 Jan 13 16:46 /bin/systemd-hwdb
-rwxr-xr-x 1 root root  157416 Jul  5  2015 /bin/systemd-inhibit
-rwxr-xr-x 1 root root   22132 Jul  5  2015 /bin/systemd-machine-id-setup
-rwxr-xr-x 1 root root   22128 Jul  5  2015 /bin/systemd-notify
-rwxr-xr-x 1 root root   59000 Jul  5  2015 /bin/systemd-tmpfiles
-rwxr-xr-x 1 root root   38524 Jul  5  2015 /bin/systemd-tty-ask-password-agent

> So this is either a bug back from the time where I migrated that box
> from systemd to sysvinit or the initial Raspberry Pi SD card image
> used for that installation was already unclear with regards to that
> program.

Despite I can't remember any crash of that system during a package
upgrade, 3.5 years are a long time and it looks to me as if maybe an
fsck restored some already deleted files after a crash directly after
switching to sysvinit while /var/lib/dpkg/status stayed intact.

Definitely an issue of that specific system, and not of the package,
hence closing. Sorry for the noise.

Will try to clean this up by installing systemd and purging it again.

Felipe: Thanks again for giving the right hint to discover that! I'm
actually surprised that the system ran for 3.5 years with Sid and
nearly daily dist-upgrades without any obvious issues. In some way 

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe@debian.org>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE

--- End Message ---

Reply to: