On Sat, 2004-07-17 at 19:19, Bill Davidsen wrote:
lsof and see what process is causing the problem.
Here's a ps -A and lsof of when I kill as much as I can and still have the problem:
PID TTY TIME CMD 1 ? 00:00:02 init 2 ? 00:00:01 migration/0 3 ? 00:00:00 ksoftirqd/0 4 ? 00:00:01 migration/1 5 ? 00:00:00 ksoftirqd/1 6 ? 00:00:05 events/0 7 ? 00:00:00 events/1 8 ? 00:00:00 khelper 9 ? 00:00:21 kblockd/0 10 ? 00:00:10 kblockd/1 38 ? 00:00:00 kirqd 41 ? 00:03:54 kswapd0 42 ? 00:00:00 aio/0 43 ? 00:00:00 aio/1 46 ? 00:00:00 kseriod 161 ? 00:00:00 md1_raid1 162 ? 00:00:00 md0_raid1 163 ? 00:00:02 reiserfs/0 164 ? 00:00:00 reiserfs/1 382 ? 00:00:00 devfsd 4799 ? 00:00:00 khubd 6900 ? 00:00:01 dhcpcd 7611 tty3 00:00:00 agetty 7612 tty4 00:00:00 agetty 7613 tty5 00:00:00 agetty 7614 tty6 00:00:00 agetty 19213 ? 00:02:26 kcryptd/0 19214 ? 00:00:55 kcryptd/1 4981 ? 00:00:00 pdflush 5239 ? 00:00:04 pdflush 11005 ? 00:00:00 login 11462 tty1 00:00:00 bash 11696 tty2 00:00:00 agetty 11797 tty1 00:00:00 ps
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
init 1 root cwd DIR 9,1 440 2 /
init 1 root rtd DIR 9,1 440 2 /
init 1 root txt REG 9,1 40581 7932 /sbin/init
init 1 root mem REG 9,1 102218 9633
/lib/ld-2.3.4.so
init 1 root mem REG 9,1 1428354 9727
/lib/libc-2.3.4.so
init 1 root 10u FIFO 0,10 1204
/dev/initctl
migration 2 root cwd DIR 9,1 440 2 /
migration 2 root rtd DIR 9,1 440 2 /
ksoftirqd 3 root cwd DIR 9,1 440 2 /
ksoftirqd 3 root rtd DIR 9,1 440 2 /
migration 4 root cwd DIR 9,1 440 2 /
migration 4 root rtd DIR 9,1 440 2 /
ksoftirqd 5 root cwd DIR 9,1 440 2 /
ksoftirqd 5 root rtd DIR 9,1 440 2 /
events/0 6 root cwd DIR 9,1 440 2 /
events/0 6 root rtd DIR 9,1 440 2 /
events/1 7 root cwd DIR 9,1 440 2 /
events/1 7 root rtd DIR 9,1 440 2 /
khelper 8 root cwd DIR 9,1 440 2 /
khelper 8 root rtd DIR 9,1 440 2 /
kblockd/0 9 root cwd DIR 9,1 440 2 /
kblockd/0 9 root rtd DIR 9,1 440 2 /
kblockd/1 10 root cwd DIR 9,1 440 2 /
kblockd/1 10 root rtd DIR 9,1 440 2 /
kirqd 38 root cwd DIR 9,1 440 2 /
kirqd 38 root rtd DIR 9,1 440 2 /
kswapd0 41 root cwd DIR 9,1 440 2 /
kswapd0 41 root rtd DIR 9,1 440 2 /
aio/0 42 root cwd DIR 9,1 440 2 /
aio/0 42 root rtd DIR 9,1 440 2 /
aio/1 43 root cwd DIR 9,1 440 2 /
aio/1 43 root rtd DIR 9,1 440 2 /
kseriod 46 root cwd DIR 9,1 440 2 /
kseriod 46 root rtd DIR 9,1 440 2 /
md1_raid1 161 root cwd DIR 9,1 440 2 /
md1_raid1 161 root rtd DIR 9,1 440 2 /
md0_raid1 162 root cwd DIR 9,1 440 2 /
md0_raid1 162 root rtd DIR 9,1 440 2 /
reiserfs/ 163 root cwd DIR 9,1 440 2 /
reiserfs/ 163 root rtd DIR 9,1 440 2 /
reiserfs/ 164 root cwd DIR 9,1 440 2 /
reiserfs/ 164 root rtd DIR 9,1 440 2 /
devfsd 382 root cwd DIR 0,10 0 1 /dev
devfsd 382 root rtd DIR 9,1 440 2 /
devfsd 382 root txt REG 9,1 36156 9635
/sbin/devfsd
devfsd 382 root 3r CHR 254,0 16
/dev/.devfsd
khubd 4799 root cwd DIR 9,1 440 2 /
khubd 4799 root rtd DIR 9,1 440 2 /
pdflush 4981 root cwd DIR 9,1 440 2 /
pdflush 4981 root rtd DIR 9,1 440 2 /
pdflush 5239 root cwd DIR 9,1 440 2 /
pdflush 5239 root rtd DIR 9,1 440 2 /
dhcpcd 6900 root cwd DIR 9,1 440 2 /
dhcpcd 6900 root rtd DIR 9,1 440 2 /
dhcpcd 6900 root txt REG 9,1 35972 9636
/sbin/dhcpcd
dhcpcd 6900 root 0u CHR 1,3 6 /dev/null
dhcpcd 6900 root 1u CHR 1,3 6 /dev/null
dhcpcd 6900 root 2u CHR 1,3 6 /dev/null
dhcpcd 6900 root 3u sock 0,4 9395 can't
identify protocol
dhcpcd 6900 root 4u IPv4 9396 UDP *:bootpc dhcpcd 6900 root 5u unix 0xdf48cbe0 9397 socket
agetty 7611 root cwd DIR 0,10 0 1 /dev
agetty 7611 root rtd DIR 9,1 440 2 /
agetty 7611 root txt REG 9,1 14812 9614
/sbin/agetty
agetty 7611 root 0u CHR 4,3 30 /dev/vc/3
agetty 7611 root 1u CHR 4,3 30 /dev/vc/3
agetty 7611 root 2u CHR 4,3 30 /dev/vc/3
agetty 7612 root cwd DIR 0,10 0 1 /dev
agetty 7612 root rtd DIR 9,1 440 2 /
agetty 7612 root txt REG 9,1 14812 9614
/sbin/agetty
agetty 7612 root 0u CHR 4,4 31 /dev/vc/4
agetty 7612 root 1u CHR 4,4 31 /dev/vc/4
agetty 7612 root 2u CHR 4,4 31 /dev/vc/4
agetty 7613 root cwd DIR 0,10 0 1 /dev
agetty 7613 root rtd DIR 9,1 440 2 /
agetty 7613 root txt REG 9,1 14812 9614
/sbin/agetty
agetty 7613 root 0u CHR 4,5 32 /dev/vc/5
agetty 7613 root 1u CHR 4,5 32 /dev/vc/5
agetty 7613 root 2u CHR 4,5 32 /dev/vc/5
agetty 7614 root cwd DIR 0,10 0 1 /dev
agetty 7614 root rtd DIR 9,1 440 2 /
agetty 7614 root txt REG 9,1 14812 9614
/sbin/agetty
agetty 7614 root 0u CHR 4,6 33 /dev/vc/6
agetty 7614 root 1u CHR 4,6 33 /dev/vc/6
agetty 7614 root 2u CHR 4,6 33 /dev/vc/6
login 11005 root cwd DIR 9,1 440 2 /
login 11005 root rtd DIR 9,1 440 2 /
login 11005 root txt REG 9,1 27316 100 /bin/login
login 11005 root mem REG 9,1 102218 9633
/lib/ld-2.3.4.so
login 11005 root mem REG 9,1 14257 8816
/lib/libpam_misc.so.0.77
login 11005 root mem REG 9,1 36838 8930
/lib/libpam.so.0.77
login 11005 root mem REG 9,1 16427 9769
/lib/libdl-2.3.4.so
login 11005 root mem REG 9,1 1428354 9727
/lib/libc-2.3.4.so
login 11005 root mem REG 9,1 12146 8842
/lib/security/pam_securetty.so
login 11005 root mem REG 9,1 15416 8847
/lib/security/pam_stack.so
login 11005 root mem REG 9,1 10546 8866
/lib/security/pam_nologin.so
login 11005 root mem REG 9,1 112946 8872
/lib/security/pam_console.so
login 11005 root mem REG 9,1 6903 8827
/lib/security/pam_deny.so
login 11005 root mem REG 9,1 35278 9768
/lib/libnss_compat-2.3.4.so
login 11005 root mem REG 9,1 93369 9781
/lib/libnsl-2.3.4.so
login 11005 root mem REG 9,1 45665 9612
/lib/libnss_nis-2.3.4.so
login 11005 root mem REG 9,1 44776 8646
/lib/libnss_files-2.3.4.so
login 11005 root mem REG 9,1 15500 8833
/lib/security/pam_env.so
login 11005 root mem REG 9,1 54723 8859
/lib/security/pam_unix.so
login 11005 root mem REG 9,1 74782 8832
/lib/security/pam_cracklib.so
login 11005 root mem REG 9,1 22886 8830
/lib/security/pam_limits.so
login 11005 root mem REG 9,1 24121 9783
/lib/libcrypt-2.3.4.so
login 11005 root 0u CHR 4,1 28 /dev/vc/1
login 11005 root 1u CHR 4,1 28 /dev/vc/1
login 11005 root 2u CHR 4,1 28 /dev/vc/1
bash 11462 root cwd DIR 9,1 2064 8961 /root
bash 11462 root rtd DIR 9,1 440 2 /
bash 11462 root txt REG 9,1 737983 42 /bin/bash
bash 11462 root mem REG 9,1 102218 9633
/lib/ld-2.3.4.so
bash 11462 root mem REG 9,1 16427 9769
/lib/libdl-2.3.4.so
bash 11462 root mem REG 9,1 1428354 9727
/lib/libc-2.3.4.so
bash 11462 root mem REG 9,1 35278 9768
/lib/libnss_compat-2.3.4.so
bash 11462 root mem REG 9,1 93369 9781
/lib/libnsl-2.3.4.so
bash 11462 root mem REG 9,1 45665 9612
/lib/libnss_nis-2.3.4.so
bash 11462 root mem REG 9,1 44776 8646
/lib/libnss_files-2.3.4.so
bash 11462 root 0u CHR 4,1 28 /dev/vc/1
bash 11462 root 1u CHR 4,1 28 /dev/vc/1
bash 11462 root 2u CHR 4,1 28 /dev/vc/1
bash 11462 root 255u CHR 4,1 28 /dev/vc/1
agetty 11696 root cwd DIR 0,10 0 1 /dev
agetty 11696 root rtd DIR 9,1 440 2 /
agetty 11696 root txt REG 9,1 14812 9614
/sbin/agetty
agetty 11696 root mem REG 9,1 102218 9633
/lib/ld-2.3.4.so
agetty 11696 root mem REG 9,1 1428354 9727
/lib/libc-2.3.4.so
agetty 11696 root 0u CHR 4,2 29 /dev/vc/2
agetty 11696 root 1u CHR 4,2 29 /dev/vc/2
agetty 11696 root 2u CHR 4,2 29 /dev/vc/2
lsof 11804 root cwd DIR 9,1 2064 8961 /root
lsof 11804 root rtd DIR 9,1 440 2 /
lsof 11804 root txt REG 253,1 110152 67897
/usr/sbin/lsof
lsof 11804 root mem REG 9,1 102218 9633
/lib/ld-2.3.4.so
lsof 11804 root mem REG 9,1 1428354 9727
/lib/libc-2.3.4.so
lsof 11804 root 0u CHR 4,1 28 /dev/vc/1
lsof 11804 root 1w REG 253,5 0 198538
/home/overridex/lsof.txt
lsof 11804 root 2u CHR 4,1 28 /dev/vc/1
lsof 11804 root 3r DIR 0,3 0 1 /proc
lsof 11804 root 4r DIR 0,3 0 773586953
/proc/11804/fd
lsof 11804 root 5w FIFO 0,7 4209317 pipe
lsof 11804 root 6r FIFO 0,7 4209318 pipe
lsof 11805 root cwd DIR 9,1 2064 8961 /root
lsof 11805 root rtd DIR 9,1 440 2 /
lsof 11805 root txt REG 253,1 110152 67897
/usr/sbin/lsof
lsof 11805 root mem REG 9,1 102218 9633
/lib/ld-2.3.4.so
lsof 11805 root mem REG 9,1 1428354 9727
/lib/libc-2.3.4.so
lsof 11805 root 4r FIFO 0,7 4209317 pipe
lsof 11805 root 7w FIFO 0,7 4209318 pipe
kcryptd/0 19213 root cwd DIR 9,1 440 2 /
kcryptd/0 19213 root rtd DIR 9,1 440 2 /
kcryptd/1 19214 root cwd DIR 9,1 440 2 /
kcryptd/1 19214 root rtd DIR 9,1 440 2 /
do you guys see anything I don't? the only other thing I can think of is if it's lvm2/device-mapper, and /usr /var are both on lvm volumes, so I can't really disable that to test.... -Dan
What I see is a lack of another process having the device open. Unless someone else has a good reason to still believe that's the problem, or can suggest a program which might be opening and then closing the device, I would look for some less-likely cause.
-- bill davidsen <[EMAIL PROTECTED]> CTO TMR Associates, Inc Doing interesting things with small computers since 1979
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]