You are not logged in.

#1 2007-06-25 18:35:30

geek.arnuld
Member
From: INDIA
Registered: 2007-05-03
Posts: 135
Website

unnessary disk access

i just installed Arch Duke some hours ago and then i did "pacman -Syu". everything is running fine but sometimes, 1-3 times  a day, i see unnecessary disk-access. when you access the disk e.g copying the files from one place to the other then you can see the red LED of the cabinet (representing the Hard-Disk) glowing.

i did not set up any cron jobs and nothing is running right now but my OS is accessing the hard-disk, continuously for 10 min. why this is happening ?

Offline

#2 2007-06-25 18:53:00

mouse256
Member
From: Antwerpen, Belgium
Registered: 2005-08-24
Posts: 247

Re: unnessary disk access

Well, it seems something is running smile
I do a guess: have you beagle running?
maybe a dump of "ps aux" would be nice, then we can maybe identify what's causing it...

Offline

#3 2007-06-25 20:07:03

[vEX]
Member
From: Sweden
Registered: 2006-11-23
Posts: 450

Re: unnessary disk access

There is a default cron job that runs updatedb daily, you can disable it by removing the file, or changing the permissions (as root: chmod 000 /etc/cron.daily/updatedb) and see if that's the reason, was one of the first things I turned off once I saw it was running.


PC: Antec P182B | Asus P8Z77-V PRO | Intel i5 3570k | 16GB DDR3 | GeForce 450GTS | 4TB HDD | Pioneer BDR-207D | Asus Xonar DX | Altec Lansing CS21 | Eizo EV2736W-BK | Arch Linux x86_64
HTPC: Antec NSK2480 | ASUS M3A78-EM (AMD 780G) | AMD Athlon X3 425 | 8GB DDR2 | GeForce G210 | 2TB HDD | Arch Linux x86_64
Server: Raspberry Pi (model B) | 512MB RAM | 750GB HDD | Arch Linux ARM

Offline

#4 2007-06-29 18:32:23

geek.arnuld
Member
From: INDIA
Registered: 2007-05-03
Posts: 135
Website

Re: unnessary disk access

mouse256 wrote:

Well, it seems something is running smile
I do a guess: have you beagle running?
maybe a dump of "ps aux" would be nice, then we can maybe identify what's causing it...

[arnuld@arch ~]$ ps -aux
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0   1588   548 ?        Ss   Jun29   0:00 init [3]                                           
root         2  0.0  0.0      0     0 ?        S    Jun29   0:00 [migration/0]
root         3  0.0  0.0      0     0 ?        SN   Jun29   0:00 [ksoftirqd/0]
root         4  0.0  0.0      0     0 ?        S    Jun29   0:00 [watchdog/0]
root         5  0.0  0.0      0     0 ?        S<   Jun29   0:01 [events/0]
root         6  0.0  0.0      0     0 ?        S<   Jun29   0:00 [khelper]
root         7  0.0  0.0      0     0 ?        S<   Jun29   0:00 [kthread]
root        30  0.0  0.0      0     0 ?        S<   Jun29   0:00 [kblockd/0]
root        31  0.0  0.0      0     0 ?        S<   Jun29   0:00 [kacpid]
root       136  0.0  0.0      0     0 ?        S<   Jun29   0:00 [kseriod]
root       161  0.0  0.0      0     0 ?        S<   Jun29   0:01 [kswapd0]
root       162  0.0  0.0      0     0 ?        S<   Jun29   0:00 [aio/0]
root       300  0.0  0.0      0     0 ?        S<   Jun29   0:00 [ata/0]
root       301  0.0  0.0      0     0 ?        S<   Jun29   0:00 [ata_aux]
root       305  0.0  0.0      0     0 ?        S<   Jun29   0:00 [scsi_eh_0]
root       306  0.0  0.0      0     0 ?        S<   Jun29   0:00 [scsi_eh_1]
root       323  0.0  0.0      0     0 ?        S<   Jun29   0:00 [scsi_eh_2]
root       324  0.0  0.0      0     0 ?        S<   Jun29   0:00 [scsi_eh_3]
root      1117  0.0  0.0      0     0 ?        S<   Jun29   0:01 [kjournald]
root      1152  0.0  0.0      0     0 ?        S<   Jun29   0:00 [ksuspend_usbd]
root      1155  0.0  0.0      0     0 ?        S<   Jun29   0:00 [khubd]
root      1171  0.0  0.0   1768   632 ?        S<s  Jun29   0:01 /sbin/udevd --daemon
root      1704  0.0  0.0      0     0 ?        S<   Jun29   0:00 [kgameportd]
root      4639  0.0  0.0      0     0 ?        S<   Jun29   0:00 [kpsmoused]
root      5453  0.0  0.1   6580  1868 ?        Ss   Jun29   0:00 /usr/sbin/cupsd
root      5485  0.0  0.0      0     0 ?        S<   Jun29   0:01 [kjournald]
root      5488  0.0  0.0      0     0 ?        S<   Jun29   0:00 [kjournald]
root      5538  0.0  0.0   2080   764 ?        Ss   Jun29   0:00 /usr/sbin/syslog-ng
root      5566  0.0  0.0   1620   556 ?        S    Jun29   0:00 /usr/sbin/crond
root      5572  0.0  0.0   1588   512 tty3     Ss+  Jun29   0:00 /sbin/agetty 38400 vc/3 linux
root      5573  0.0  0.0   1588   512 tty4     Ss+  Jun29   0:00 /sbin/agetty 38400 vc/4 linux
root      5574  0.0  0.0   1584   508 tty5     Ss+  Jun29   0:00 /sbin/agetty 38400 vc/5 linux
root      5575  0.0  0.0   1584   508 tty6     Ss+  Jun29   0:00 /sbin/agetty 38400 vc/6 linux
root     11282  0.0  0.0      0     0 ?        S    Jun29   0:00 [pdflush]
root     11789  0.0  0.0      0     0 ?        S    Jun29   0:00 [pdflush]
root     15018  0.0  0.1   2296  1100 tty2     Ss   Jun29   0:00 /bin/login --     
arnuld   15031  0.0  0.1   4524  1748 tty2     S    Jun29   0:00 -bash
root     16726  0.0  0.1   2296  1096 tty1     Ss   Jun29   0:00 /bin/login --     
root     16727  0.0  0.1   4264  1720 tty1     S+   Jun29   0:00 -bash
root     19337  0.0  0.1   2600  1160 ?        S    00:02   0:00 /bin/sh /usr/sbin/run-cron /etc/cron.daily
root     19529  0.0  0.1   4084  1400 ?        S    00:02   0:00 /bin/sh /etc/cron.daily/whatis
root     19534  0.0  0.1   4216   996 ?        S    00:02   0:00 /bin/sh /etc/cron.daily/whatis
arnuld   20892  0.0  0.1   4480  1392 tty2     S+   00:02   0:00 /bin/sh /usr/bin/startx
arnuld   20908  0.0  0.0   2568   716 tty2     S+   00:02   0:00 xinit /home/arnuld/.xinitrc -- -auth /home/arnuld/.serveraut
root     20909 12.6  1.2  16232 12480 tty7     S<s+ 00:02   0:01 X :0 -auth /home/arnuld/.serverauth.20892
arnuld   21001  0.1  0.1   4564  1652 tty2     S    00:03   0:00 wmiiwm -a unix /tmp/ns.arnuld.:0/wmii -r /etc/wmii-3.5/wmiir
arnuld   21006  0.0  0.0      0     0 ?        Zs   00:03   0:00 [wmiirc] <defunct>
arnuld   21020  0.0  0.1   4476  1368 ?        S    00:03   0:00 /bin/sh /etc/wmii-3.5/status
arnuld   21054  0.0  0.1   4352  1352 ?        S    00:03   0:00 /bin/sh /usr/bin/wmiir read /event
arnuld   21055  0.0  0.0   1600   340 ?        S    00:03   0:00 ixpc read /event
arnuld   21056  0.0  0.0   4480   896 ?        S    00:03   0:00 /bin/sh /etc/wmii-3.5/wmiirc
root     21228  7.5  0.1   4276  1808 ?        S    00:03   0:00 /bin/awk ???    function readline() {??      if (use_zcat ||
arnuld   21417  2.5  0.6  11268  6168 ?        S    00:03   0:00 urxvt
arnuld   21480  1.0  0.1   4520  1744 pts/0    Ss   00:03   0:00 -bash
arnuld   21569  0.0  0.0   3060   476 ?        S    00:03   0:00 sleep 1
root     21605  0.0  0.0   1804   340 ?        R    00:03   0:00 gzip -cd /usr/man/man2/./time.2.gz
arnuld   21606  0.0  0.1   3552   988 pts/0    R+   00:03   0:00 ps -aux
[arnuld@arch ~]$ f

Offline

#5 2007-06-29 18:33:49

geek.arnuld
Member
From: INDIA
Registered: 2007-05-03
Posts: 135
Website

Re: unnessary disk access

[vEX] wrote:

There is a default cron job that runs updatedb daily, you can disable it by removing the file, or changing the permissions (as root: chmod 000 /etc/cron.daily/updatedb) and see if that's the reason, was one of the first things I turned off once I saw it was running.

i think, this is what you are talking about (some part of "ps -aux")

oot     16726  0.0  0.1   2296  1096 tty1     Ss   Jun29   0:00 /bin/login --     
root     16727  0.0  0.1   4264  1720 tty1     S+   Jun29   0:00 -bash
root     19337  0.0  0.1   2600  1160 ?        S    00:02   0:00 /bin/sh /usr/sbin/run-cron /etc/cron.daily
root     19529  0.0  0.1   4084  1400 ?        S    00:02   0:00 /bin/sh /etc/cron.daily/whatis
root     19534  0.0  0.1   4216   996 ?        S    00:02   0:00 /bin/sh /etc/cron.daily/whatis

and this i from my Arch Duke:

[arnuld@arch etc]$ cat cron.daily/whatis
#!/bin/sh

# Make sure MANPATH is complete
source /etc/profile
source /etc/profile.d/* 2>/dev/null

# Update the "whatis" database
/usr/sbin/makewhatis -u -w

[arnuld@arch etc]$

i think i need to comment that last line, right ?

Last edited by geek.arnuld (2007-06-29 18:37:24)

Offline

#6 2007-06-30 10:38:53

mouse256
Member
From: Antwerpen, Belgium
Registered: 2005-08-24
Posts: 247

Re: unnessary disk access

I think you can also just remove the whatis file in cron.daily smile

Offline

#7 2007-06-30 19:38:46

antonik
Member
Registered: 2007-05-08
Posts: 26

Re: unnessary disk access

or move it to cron.weekly wink

Its nice to have locate...

Offline

Board footer

Powered by FluxBB