Newsgroup: it.comp.os.linux.iniziare
Titolo: Cosa e' che accede continuamente all'HD?

Salve,
uno ext3 journaled.
Non uso interfaccia grafica,
allego il log di "ps auw" a fine post.
Ogni 2 secondi l'hard disk viene toccato:
e' il journaled che fa cio'?
se si, dove e' possibile tararlo per cambiare questa tempistica?
oppure e' un demone?
non sono pratico di ext3, e non so dove cercarmi da solo queste info:
con man tune2fs ho fatto un buco nell'acqua, credo.
ai demoni seguenti:
httpd
mysql
gnupop3d
samba
leafnode
non accede quasi nessuno,
comunque
ho stoppato samba e mysql e apache ed
ho staccato la spina di rete
e mi sono messo pazientemente ad aspettare,
le grattatine all'hard disk continuano.
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.2  1412  504 ?        S    07:24   0:04 init
root         2  0.0  0.0     0    0 ?        SW   07:24   0:00 [keventd]
root         3  0.0  0.0     0    0 ?        SW   07:24   0:00 [kapmd]
root         4  0.0  0.0     0    0 ?        SWN  07:24   0:00
[ksoftirqd_CPU0]
root         5  0.0  0.0     0    0 ?        SW   07:24   0:00 [kswapd]
root         6  0.0  0.0     0    0 ?        SW   07:24   0:00 [bdflush]
root         7  0.0  0.0     0    0 ?        SW   07:24   0:00 [kupdated]
root         8  0.0  0.0     0    0 ?        SW<  07:24   0:00 [mdrecoveryd]
root        12  0.0  0.0     0    0 ?        SW   07:24   0:00 [kjournald]
root        66  0.0  0.3  1748  892 ?        S    07:24   0:00 devfsd /dev
root       226  0.0  0.0     0    0 ?        SW   07:28   0:00 [kjournald]
root       545  0.0  0.0     0    0 ?        SW   07:28   0:00 [khubd]
rpc        865  0.0  0.2  1544  532 ?        S    07:28   0:00 portmap
root       888  0.0  0.2  1512  596 ?        S    07:28   0:00 syslogd -m 0
root       897  0.0  0.5  2140 1216 ?        S    07:28   0:00 klogd -2
root       920  0.0  0.2  1396  496 ?        S    07:28   0:00
/usr/sbin/apmd -p 10 -w 5 -W -P /etc/sysconfig/apm-scripts/apmd_proxy
daemon     946  0.0  0.2  1436  496 ?        S    07:28   0:00 /usr/sbin/atd
root       973  0.0  0.5  2664 1220 ?        S    07:28   0:00
/usr/sbin/sshd
root      1003  0.0  0.4  2304 1088 ?        S    07:28   0:00
xinetd -stayalive -reuse -pidfile /var/run/xinetd.pid
root      1319  0.0  0.5  3760 1220 ?        S    07:28   0:00
/usr/lib/postfix/master
postfix   1331  0.0  0.5  3892 1320 ?        S    07:28   0:00 qmgr -l -t
fifo -u
postfix   1332  0.0  0.5  3872 1336 ?        S    07:28   0:00 tlsmgr -l -t
fifo -u
root      1347  0.0  0.2  1480  500 ?        S    07:28   0:00 gnu-pop3d -d
10 -t 600
root      1360  0.0  0.2  1480  500 ?        S    07:28   0:00 gnu-pop3d -d
10 -t 600
root      1361  0.0  0.2  1480  500 ?        S    07:28   0:00 gnu-pop3d -d
10 -t 600
root      1362  0.0  0.2  1480  500 ?        S    07:28   0:00 gnu-pop3d -d
10 -t 600
root      1363  0.0  0.2  1480  500 ?        S    07:28   0:00 gnu-pop3d -d
10 -t 600
root      1381  0.0  0.1  1440  472 ?        S    07:28   0:00 gpm -t
ps/2 -m /dev/psaux
root      1533  0.0  1.8 12104 4452 ?        S    07:28   0:00
httpd -DHAVE_PHP4 -DHAVE_SSL -DHAVE_PROXY -DHAVE_ACCESS -DHAVE_ACTION
root      1540  0.0  0.5  2968 1272 ?        S    07:28   0:00 /usr/bin/perl
/usr/sbin/advxsplitlogfile
apache    1541  0.4  2.2 12528 5404 ?        S    07:28   0:55
httpd -DHAVE_PHP4 -DHAVE_SSL -DHAVE_PROXY -DHAVE_ACCESS -DHAVE_ACTION
apache    1542  0.4  2.2 12472 5344 ?        S    07:28   0:55
httpd -DHAVE_PHP4 -DHAVE_SSL -DHAVE_PROXY -DHAVE_ACCESS -DHAVE_ACTION
apache    1543  0.5  2.2 12576 5456 ?        S    07:28   1:11
httpd -DHAVE_PHP4 -DHAVE_SSL -DHAVE_PROXY -DHAVE_ACCESS -DHAVE_ACTION
apache    1544  0.3  2.2 12484 5364 ?        S    07:28   0:39
httpd -DHAVE_PHP4 -DHAVE_SSL -DHAVE_PROXY -DHAVE_ACCESS -DHAVE_ACTION
nobody    1596  0.0  0.6  4140 1532 ?        S    07:28   0:00 proftpd
(accepting connections)
root      1620  0.0  0.2  1620  664 ?        S    07:28   0:00 crond
root      1642  0.0  0.5  2444 1232 ?        S    07:28   0:00 /bin/sh
/usr/bin/safe_mysqld --datadir=/var/lib/mysql --pid-file=/var
root      1643  0.0  0.2  1656  580 ?        S    07:28   0:00 logger -t
safe_mysqld
mysql     1686  0.0  2.6 28188 6264 ?        S    07:28   0:00
/usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --
mysql     1688  0.0  2.6 28188 6264 ?        S    07:29   0:00
/usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --
mysql     1689  0.0  2.6 28188 6264 ?        S    07:29   0:08
/usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --
mysql     1690  0.0  2.6 28188 6264 ?        S    07:29   0:00
/usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --
root      1691  0.0  2.1  6980 5116 ?        S    07:29   0:00 /usr/bin/perl
/usr/share/webmin/
miniserv.pl
 /etc/webmin/miniserv.conf
xfs       1716  0.0  1.4  4964 3548 ?        S    07:29   0:00
xfs -port -1 -daemon -droppriv -user xfs
root      1741  0.0  0.7  4660 1744 ?        S    07:29   0:00 smbd -D
root      1752  0.0  0.7  3716 1688 ?        S    07:29   0:00 nmbd -D
root      1856  0.0  0.4  2368 1124 vc/1     S    07:29   0:00 login -- root
root      1858  0.0  0.1  1380  408 vc/3     S    07:29   0:00
/sbin/mingetty tty3
root      1859  0.0  0.1  1380  408 vc/4     S    07:29   0:00
/sbin/mingetty tty4
root      1860  0.0  0.1  1380  408 vc/5     S    07:29   0:00
/sbin/mingetty tty5
root      1861  0.0  0.1  1380  408 vc/6     S    07:29   0:00
/sbin/mingetty tty6
apache    1914  0.3  2.2 12520 5404 ?        S    07:31   0:40
httpd -DHAVE_PHP4 -DHAVE_SSL -DHAVE_PROXY -DHAVE_ACCESS -DHAVE_ACTION
apache    2018  0.2  2.2 12548 5424 ?        S    08:01   0:24
httpd -DHAVE_PHP4 -DHAVE_SSL -DHAVE_PROXY -DHAVE_ACCESS -DHAVE_ACTION
apache    2023  0.0  2.2 12508 5356 ?        S    08:01   0:09
httpd -DHAVE_PHP4 -DHAVE_SSL -DHAVE_PROXY -DHAVE_ACCESS -DHAVE_ACTION
root      2594  0.0  0.6  2780 1596 vc/1     S    08:16   0:00 -bash
root      4120  0.0  0.2  1480  500 ?        S    09:04   0:00 gnu-pop3d -d
10 -t 600
root      4200  0.0  0.2  1480  500 ?        S    09:09   0:00 gnu-pop3d -d
10 -t 600
root      4378  0.0  0.2  1480  500 ?        S    09:34   0:00 gnu-pop3d -d
10 -t 600
postfix   4779  0.0  0.4  3764 1160 ?        S    10:48   0:00 pickup -l -t
fifo
root      4783  0.0  0.2  1480  500 ?        S    10:49   0:00 gnu-pop3d -d
10 -t 600
root      4786  0.0  0.2  1480  500 ?        S    10:50   0:00 gnu-pop3d -d
10 -t 600
massimo   4787  0.7  1.1  5324 2736 ?        S    10:54   0:04 smbd -D
root      4788  0.0  0.2  1480  500 ?        S    10:54   0:00 gnu-pop3d -d
10 -t 600
news      4904  0.2  1.4  4332 3452 ?        S    11:02   0:00 leafnode
root      4935  0.0  0.1  1380  408 vc/2     S    11:03   0:00
/sbin/mingetty tty2
root      4949  0.0  0.3  2672  748 vc/1     R    11:03   0:00 ps auxw

 safe_mysqld
Lui scrive sul log, quindi a seconda di come hai impostato syslog potrebbe
fare accessi al disco
altro, non so.
-- 
Ikitt

 oppure e' un demone?
Potrebbe essere la swap.
Prova a dare swapoff e vedi se continua.
Matteo