PDA

Bekijk de volledige versie : hdd access every 5 seconds - no spin down :(



elpaso
14-03-2005, 08:23
Hi,

I would like to spin down my WL-HDD (with oleg's latest), but some process it's accessing HDD every 5 seconds or so, there is nothing in the logs and I cannot figure out which process needs access to the disk.

Any hint?

this is my ps:
1 admin 156 S sbin/init
2 admin SW [keventd]
3 admin SWN [ksoftirqd_CPU0]
4 admin SW [kswapd]
5 admin SW [bdflush]
6 admin SW [kupdated]
7 admin SW [mtdblockd]
16 admin SW [khubd]
25 admin SW [kjournald]
68 admin 64 S telnetd
72 admin 200 S httpd
76 admin 160 S syslogd -m 0 -O /tmp/syslog.log -S -l 7
78 admin 92 S klogd
83 admin 92 S lpd
85 admin 92 S p9100d -f /dev/usb/lp0 0
88 admin 84 S waveservermain
90 admin 84 S rcamdmain
92 admin 112 S infosvr br0
94 admin 124 S ntp
101 admin SW [kjournald]
105 admin 104 S /usr/sbin/dropbear
108 nobody 324 S thttpd-php4f_2.21b-2_mipsel -p 81 -d /home/www81/html
109 admin 340 S /usr/sbin/smbd -D
111 admin 432 S /usr/sbin/nmbd -D
113 admin 140 S /usr/sbin/stupid-ftpd -f /etc/stupid-ftpd.conf
365 admin 648 S /usr/sbin/dropbear
366 admin 540 S -sh
380 admin 372 R ps

hugo
14-03-2005, 09:37
it can be thttpd or samba. stupid-ftpd could also access, but i doubt it's the culprit.

smbd will only access hdd if one of you pc is on, and is having a letter assigned to a share. maybe something on you pc scanning any drive?

Where is your home folder?

elpaso
14-03-2005, 10:01
it can be thttpd or samba. stupid-ftpd could also access, but i doubt it's the culprit.

smbd will only access hdd if one of you pc is on, and is having a letter assigned to a share. maybe something on you pc scanning any drive?

Where is your home folder?

Thank you for your quick answer,

my home folder is in /home/ (that is on HDD):
[admin@wl www81]$ mount
/dev/ide/host0/bus0/target0/lun0/part2 on / type ext3 (ro)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
ramfs on /tmp type ramfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/ide/host0/bus0/target0/lun0/part3 on /home type ext3 (rw,noatime)
[admin@wl www81]$


my PC is on (linux) but I don't mount or access samba shares at the moment, I will try to shutdown samba on WL-HDD and see if the problem persists.

It seems that after a reboot the problem disappears but after a while it starts again to access the disk every 5 seconds.

I would like to have lsof command on WL-HDD, maybe I could find which process is responsbible for HDD activity.

hugo
14-03-2005, 10:49
Your problem is most probably due to thttpd. Try to kill the process and see how it goes

Styno
14-03-2005, 19:17
Moved to WL-HDD Q&A as it does not belong in WL-500g Q&A :)