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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to