Your message dated Sat, 25 Jul 2009 15:21:57 +0200
with message-id <20090725132157.ga9...@galadriel.inutil.org>
and subject line Re: Bug#471465: Info received (Bug#471465: laptop-mode-tools: 
mount takes 100% of CPU after unplugging AC )
has caused the Debian Bug report #471465,
regarding laptop-mode-tools: mount takes 100% of CPU after unplugging AC
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 ow...@bugs.debian.org
immediately.)


-- 
471465: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=471465
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: laptop-mode-tools
Version: 1.36-1
Severity: normal

If I unplug the AC power (the laptop is a Thinkpad T60) while the
/etc/cron.daily/locate script is running, the system slows to a crawl.
It's happened twice with this pattern so far, so I think its
reproducible.

The cause seems to a 'mount' process consuming almost 100% of the CPU
time, or maybe 100% of one of the core's CPU time (while the 'find'
gets most of the other core's CPU).  The 'mount' eventually finished,
about 20 minutes later.  I don't know if taking a long time to remount
is expected while another disk-intensive process is running?

Here is a 'df':

  $ df
  Filesystem           1K-blocks      Used Available Use% Mounted on
  /dev/sda2             74587868  19977684  50821256  29% /
  tmpfs                   773556         0    773556   0% /lib/init/rw
  udev                     10240       108     10132   2% /dev
  tmpfs                   773556         0    773556   0% /dev/shm
  /dev/sda1               280003     44602    220945  17% /boot
  /dev/sda3             76992740  17741292  55340424  25% /home

Here is the 'ps l' for the 'mount' process and fo rits ancestors:

$ ps lww24788
F   UID   PID  PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY        TIME COMMAND
4     0 24788 24787  20   0   2052   692 -      R    ?          4:33 mount 
/dev/sda2 -t ext3 / -o remount,rw,errors=remount-ro,commit=600
$ ps lww24787
F   UID   PID  PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY        TIME COMMAND
1     0 24787 24765  20   0   3180   868 -      S    ?          0:00 /bin/bash 
/usr/sbin/laptop_mode auto
$ ps lww24765
F   UID   PID  PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY        TIME COMMAND
1     0 24765 24731  20   0   3180  1052 -      S    ?          0:00 /bin/bash 
/usr/sbin/laptop_mode auto
$ ps lww24731
F   UID   PID  PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY        TIME COMMAND
0     0 24731 24730  20   0   3180  1704 -      S    ?          0:00 /bin/bash 
/usr/sbin/laptop_mode auto
$ ps lww24730
F   UID   PID  PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY        TIME COMMAND
0     0 24730  3618  20   0   2776  1196 -      S    ?          0:00 /bin/bash 
/etc/acpi/actions/lm_ac_adapter.sh
$ ps lww3618
F   UID   PID  PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY        TIME COMMAND
1     0  3618     1  20   0   3208  2172 -      Ss   ?          0:00 
/usr/sbin/acpid -c /etc/acpi/events -s /var/run/acpid.socket



-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages laptop-mode-tools depends on:
ii  lsb-base                      3.2-4      Linux Standard Base 3.2 init scrip
ii  util-linux                    2.13.1-2   Miscellaneous system utilities

Versions of packages laptop-mode-tools recommends:
ii  acpid                         1.0.6-5.1  Utilities for using ACPI power man
ii  hdparm                        8.3-1      tune hard disk parameters for high
ii  sdparm                        1.02-1     Output and modify SCSI device para

-- no debconf information



--- End Message ---
--- Begin Message ---
Version: 2.6.28-1

On Sun, Dec 21, 2008 at 10:29:48AM -0500, Sanjoy Mahajan wrote:
> I have tried to reproduce it, but haven't seen the problem with recent
> kernel versions (am running vanilla 2.6.27.4).

Thanks, marking this version as fixed, then.

Cheers,
        Moritz


--- End Message ---

Reply via email to