Am Freitag, 14. Mai 2004 20:22 schrieb Andreas Winkelmann:
Am Freitag, 14. Mai 2004 20:03 schrieb Al Bogner:
Kann sich wer folgendes erklären?
Manuell wurde du nicht gestartet. Wodurch bzw. warum läuft du schon seit Stunden? Kann das mit amavisd zusammenhängen?
# top -n 1 -b top - 20:00:36 up 7:45, 1 user, load average: 1.05, 1.04, 1.02 Tasks: 77 total, 1 running, 76 sleeping, 0 stopped, 0 zombie Cpu(s): 0.6% us, 57.3% sy, 0.1% ni, 9.2% id, 32.5% wa, 0.3% hi, 0.0% si Mem: 516696k total, 513852k used, 2844k free, 51964k buffers Swap: 200804k total, 77004k used, 123800k free, 14296k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 6119 root 18 0 3216 2140 1232 D 25.7 0.4 261:22.49 du
amavisd-new läuft aber nicht als root, oder?
Es ist alles 9.1 default.
Mach mal:
# ps aux --forest
Wo taucht denn da der "du" auf?
siehe folgend. Mir fällt dazu jetzt ein, dass mein Script hd_warnung unter anderem stündlich testet, ob die HD voll wird. Da kommt folgendes vor: du -aLh --max-depth=1 "$PARTITION" >> $WARNLOG Unter 8.2 gab es da aber nie zeitliche Probleme. Al # ps aux --forest USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.0 588 56 ? S 12:15 0:04 init [3] root 2 0.0 0.0 0 0 ? SN 12:15 0:00 [ksoftirqd/0] root 3 0.0 0.0 0 0 ? S< 12:15 0:00 [events/0] root 19 0.0 0.0 0 0 ? S< 12:15 0:09 \_ [kblockd/0] root 29 0.0 0.0 0 0 ? S< 12:15 0:00 \_ [pdflush] root 30 0.0 0.0 0 0 ? S< 12:15 0:00 \_ [pdflush] root 32 0.0 0.0 0 0 ? S< 12:15 0:00 \_ [aio/0] root 447 0.0 0.0 0 0 ? S< 12:15 0:00 \_ [kcopyd/0] root 31 1.5 0.0 0 0 ? S 12:15 8:54 [kswapd0] root 199 0.0 0.0 0 0 ? S 12:15 0:00 [kseriod] root 275 0.0 0.0 0 0 ? S 12:15 0:02 [kjournald] root 485 0.0 0.0 0 0 ? S 12:15 0:00 [kjournald] root 486 0.0 0.0 0 0 ? S 12:15 0:00 [kjournald] root 487 0.0 0.0 0 0 ? S 12:15 0:00 [kjournald] root 488 0.0 0.0 0 0 ? S 12:15 0:00 [kjournald] root 489 0.0 0.0 0 0 ? S 12:15 0:00 [kjournald] root 490 0.0 0.0 0 0 ? S 12:15 0:00 [kjournald] root 491 0.0 0.0 0 0 ? S 12:15 0:00 [kjournald] root 492 0.0 0.0 0 0 ? S 12:15 0:00 [kjournald] root 493 0.0 0.0 0 0 ? S 12:15 0:00 [kjournald] root 494 0.0 0.0 0 0 ? S 12:15 0:00 [kjournald] root 686 0.0 0.1 2312 956 ? S 12:15 0:00 /bin/bash /usr/local/bin/Ausschalten root 10483 0.0 0.0 1596 492 ? S 21:47 0:00 \_ sleep 900 root 1187 0.0 0.1 2500 876 ? S 12:15 0:00 /bin/bash /sbin/hotplug pci root 1188 0.0 0.0 1360 308 ? S 12:15 0:00 \_ logger -t /sbin/hotplug[1167] root 1216 0.0 0.1 2500 872 ? S 12:15 0:00 /bin/bash /etc/hotplug/pci.agent pci root 1217 0.0 0.0 1360 308 ? S 12:15 0:00 \_ logger -t /etc/hotplug/pci.agent[1167] root 1495 0.0 0.0 0 0 ? S 12:15 0:00 [khubd] root 2493 0.0 0.1 1436 524 ? Ss 12:15 0:00 /sbin/syslogd -a /var/lib/ntp/dev/log root 2500 0.0 0.1 2348 604 ? Ss 12:15 0:00 /sbin/klogd -c 1 -2 root 2660 0.0 0.1 6616 896 ? Ss 12:15 0:00 /usr/sbin/nmbd -D -s /etc/samba/smb.conf bin 2957 0.0 0.0 1420 380 ? Ss 12:15 0:00 /sbin/portmap root 2958 0.0 0.1 1588 524 ? Ss 12:15 0:00 /sbin/resmgrd root 3189 0.0 0.0 1412 312 ? S 12:15 0:00 [hwscand] root 3297 0.0 0.1 4708 796 ? Ss 12:15 0:00 /usr/sbin/sshd -o PidFile=/var/run/sshd.init.pid root 10508 0.1 0.3 7732 2060 ? Ss 22:00 0:00 \_ sshd: root@pts/48 root 10510 0.1 0.3 2844 1680 pts/48 Ss 22:00 0:00 \_ -bash root 10558 0.0 0.1 2156 700 pts/48 R+ 22:00 0:00 \_ ps aux --forest root 3412 0.0 0.1 2316 848 ? S 12:15 0:00 /bin/sh /usr/bin/mysqld_safe --user=mysql --pid-file=/var/lib/mysql/mysqld.pi mysql 3484 0.0 0.2 115200 1520 ? S 12:15 0:00 \_ /usr/sbin/mysqld-max --basedir=/usr --datadir=/var/lib/mysql --user=mysql root 3784 0.0 0.1 2600 520 ? S 12:15 0:00 /usr/sbin/powersaved -d -e /etc/powersave.conf -a resmgr -v 3 lp 4086 0.0 0.1 6364 708 ? Ss 12:15 0:00 /usr/sbin/cupsd root 4095 0.0 0.0 0 0 ? S 12:15 0:00 [nfsd] root 4096 0.0 0.0 0 0 ? S 12:15 0:00 [nfsd] root 4097 0.0 0.0 0 0 ? S 12:15 0:00 [nfsd] root 4098 0.0 0.0 0 0 ? S 12:15 0:00 [nfsd] root 4100 0.0 0.0 0 0 ? S 12:15 0:00 [lockd] root 4101 0.0 0.0 0 0 ? S 12:15 0:00 [rpciod] root 4114 0.0 0.0 1592 504 ? Ss 12:15 0:01 /usr/sbin/rpc.mountd root 4299 0.0 0.1 4176 680 ? Ss 12:15 0:00 /usr/lib/postfix/master postfix 4330 0.0 0.1 4248 752 ? S 12:15 0:00 \_ qmgr -l -t fifo -u postfix 10506 0.0 0.2 4296 1524 ? S 21:59 0:00 \_ smtp -t unix -u postfix 10507 0.0 0.2 4232 1376 ? S 21:59 0:00 \_ bounce -z -n defer -t unix -u postfix 10555 0.0 0.2 4216 1360 ? S 22:00 0:00 \_ pickup -l -t fifo -u root 4362 0.0 0.1 12892 720 ? Ss 12:15 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf wwwrun 4365 0.0 0.1 12892 704 ? S 12:16 0:00 \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf wwwrun 4366 0.0 0.1 12892 704 ? S 12:16 0:00 \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf wwwrun 4367 0.0 0.1 12892 704 ? S 12:16 0:00 \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf wwwrun 4368 0.0 0.1 12892 704 ? S 12:16 0:00 \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf wwwrun 4369 0.0 0.1 12892 704 ? S 12:16 0:00 \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf vscan 4364 0.0 0.2 34752 1308 ? Ss 12:16 0:00 amavisd (master) vscan 4406 0.0 1.4 34884 7240 ? S 12:16 0:00 \_ amavisd (child) vscan 4407 0.0 0.8 34884 4268 ? S 12:16 0:00 \_ amavisd (child) root 4404 0.0 0.0 1980 476 ? Ss 12:16 0:00 /usr/sbin/xinetd root 4426 0.0 0.1 1396 532 ? Ss 12:16 0:00 /usr/sbin/cron root 6078 0.0 0.0 1400 504 ? S 13:01 0:00 \_ /USR/SBIN/CRON root 6079 0.0 0.1 2312 824 ? Ss 13:01 0:00 \_ /bin/sh -c /usr/local/bin/hd_warnung 2>&1 > /dev/null root 6080 0.0 0.1 2316 844 ? S 13:01 0:00 | \_ /bin/bash /usr/local/bin/hd_warnung root 6119 61.9 0.4 3216 2140 ? D 13:01 334:21 | \_ du -aLh --max-depth=1 / root 6151 0.0 0.1 4080 544 ? S 13:02 0:00 \_ /usr/sbin/sendmail -FCronDaemon -odi -oem root root 6152 0.0 0.1 4064 544 ? S 13:02 0:00 \_ /usr/sbin/postdrop -r root 4431 0.0 0.1 42624 652 ? Ss 12:16 0:00 /usr/sbin/nscd root 4464 0.0 0.1 8936 596 ? Ss 12:16 0:00 /usr/sbin/smbd -D -s /etc/samba/smb.conf root 5047 0.0 0.0 1608 432 tty1 Ss+ 12:16 0:00 /sbin/mingetty --noclear tty1 root 5048 0.0 0.0 1608 432 tty2 Ss+ 12:16 0:00 /sbin/mingetty tty2 root 5049 0.0 0.0 1608 432 tty3 Ss+ 12:16 0:00 /sbin/mingetty tty3 root 5050 0.0 0.0 1608 432 tty4 Ss+ 12:16 0:00 /sbin/mingetty tty4 root 5051 0.0 0.0 1608 432 tty5 Ss+ 12:16 0:00 /sbin/mingetty tty5 root 5052 0.0 0.0 1608 432 tty6 Ss+ 12:16 0:00 /sbin/mingetty tty6