Pagina 1 di 3 1 2 3 ultimoultimo
Visualizzazione dei risultati da 1 a 10 su 24

Discussione: Kill Processi

  1. #1

    Kill Processi

    Salve,

    Purtroppo dopo una 15ina di giorno che il mios erver debian è UP, non capisco perchè ma rimangono attaccati dei processi, finchè dopo diversi giorni non ho un kernel panic

    Questo è il riusltato dei processi:

    arrakis:/home/federico# ps aux
    USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
    root 1 0.0 0.3 2908 868 ? S Apr15 0:01 init [2]
    root 2 0.0 0.0 0 0 ? SN Apr15 0:00 [ksoftirqd/0]
    root 3 0.0 0.0 0 0 ? S< Apr15 0:00 [events/0]
    root 4 0.0 0.0 0 0 ? S< Apr15 0:00 [khelper]
    root 5 0.0 0.0 0 0 ? S< Apr15 0:00 [kthread]
    root 7 0.0 0.0 0 0 ? S< Apr15 0:00 [kacpid]
    root 69 0.0 0.0 0 0 ? S< Apr15 0:00 [kblockd/0]
    root 113 0.0 0.0 0 0 ? S Apr15 0:00 [pdflush]
    root 116 0.0 0.0 0 0 ? S< Apr15 0:00 [aio/0]
    root 115 0.0 0.0 0 0 ? S Apr15 0:01 [kswapd0]
    root 705 0.0 0.0 0 0 ? S< Apr15 0:00 [kseriod]
    root 801 0.0 0.0 0 0 ? S< Apr15 0:00 [kgameportd]
    root 799 0.0 0.0 0 0 ? S Apr15 0:00 [khpsbpkt]
    root 807 0.0 0.0 0 0 ? S Apr15 0:08 [kjournald]
    root 9865 0.0 0.4 3016 1068 ? Ss Apr15 0:36 /sbin/syslogd
    root 3214 0.0 0.5 3600 1520 ? Ss Apr15 0:00 /sbin/klogd
    root 9363 0.0 0.2 2936 620 ? Ss Apr15 0:00 /usr/sbin/inetd
    root 29662 0.0 0.1 3048 504 ? Ss Apr15 0:00 /sbin/mdadm -F -i /var/run/mdadm.pid -m federico -f -s
    daemon 29085 0.0 0.2 3228 648 ? Ss Apr15 0:00 /usr/sbin/atd
    root 11323 0.0 0.5 3396 1344 ? Ss Apr15 0:01 /usr/sbin/cron
    root 18921 0.0 0.3 2904 908 tty1 Ss+ Apr15 0:00 /sbin/getty 38400 tty1
    root 27760 0.0 0.3 2924 912 tty2 Ss+ Apr15 0:00 /sbin/getty 38400 tty2
    root 12595 0.0 0.3 2920 912 tty3 Ss+ Apr15 0:00 /sbin/getty 38400 tty3
    root 7679 0.0 0.3 2904 908 tty4 Ss+ Apr15 0:00 /sbin/getty 38400 tty4
    root 11343 0.0 0.3 2884 912 tty5 Ss+ Apr15 0:00 /sbin/getty 38400 tty5
    root 20173 0.0 0.3 2916 916 tty6 Ss+ Apr15 0:00 /sbin/getty 38400 tty6
    root 11904 0.0 0.8 4936 2268 ? S Apr15 0:00 /bin/sh /usr/bin/mysqld_safe
    root 3675 0.0 0.3 4936 1016 ? S Apr15 0:00 /bin/sh /usr/bin/mysqld_safe
    mysql 26317 0.0 13.5 124884 34680 ? S Apr15 3:22 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-
    root 7870 0.0 0.3 3208 992 ? S Apr15 0:00 logger -p daemon.err -t mysqld_safe -i -t mysqld
    root 1652 0.0 1.9 9696 4988 ? S Apr15 0:00 /usr/sbin/snmpd -Lsd -Lf /dev/null -p /var/run/snmpd.pid
    Debian- 31776 0.0 0.6 8412 1608 ? Ss Apr27 0:00 /usr/sbin/exim4 -bd -q30m
    root 9707 0.0 0.6 6528 1624 ? Ss Apr30 0:00 /usr/sbin/sshd
    root 4264 0.0 3.9 27856 10180 ? Ss May01 0:00 /usr/sbin/apache2 -k start -DSSL
    www-data 11828 0.0 5.2 31424 13468 ? S May01 0:12 /usr/sbin/apache2 -k start -DSSL
    www-data 23451 0.0 5.1 31308 13120 ? S May01 0:07 /usr/sbin/apache2 -k start -DSSL
    www-data 31873 0.0 4.9 31048 12576 ? S May01 0:06 /usr/sbin/apache2 -k start -DSSL
    www-data 19710 0.0 5.0 31300 13020 ? S May01 0:07 /usr/sbin/apache2 -k start -DSSL
    www-data 8414 0.0 4.9 31140 12600 ? S May01 0:06 /usr/sbin/apache2 -k start -DSSL
    www-data 10532 0.0 5.0 31008 12912 ? S May01 0:11 /usr/sbin/apache2 -k start -DSSL
    www-data 14640 0.0 5.1 31204 13148 ? S May01 0:12 /usr/sbin/apache2 -k start -DSSL
    www-data 27451 0.0 5.2 31492 13364 ? S May01 0:08 /usr/sbin/apache2 -k start -DSSL
    www-data 4289 0.0 5.2 31400 13320 ? S May01 0:08 /usr/sbin/apache2 -k start -DSSL
    root 23131 0.0 0.0 0 0 ? S May05 0:00 [pdflush]
    root 26491 0.0 0.3 2868 880 ? S May06 0:00 run-parts --report /etc/cron.daily
    root 5950 0.0 0.8 4892 2192 ? Ss May06 0:00 /bin/sh /etc/cron.daily/find
    root 4844 0.0 0.8 4916 2208 ? SN May06 0:00 /bin/sh /usr/bin/updatedb
    root 29406 0.0 0.3 4920 892 ? SN May06 0:00 /bin/sh /usr/bin/updatedb
    nobody 21571 0.0 0.5 3492 1528 ? D May06 0:00 /usr/bin/find / ( -fstype NFS -o -fstype nfs -o -fstype afs -o -fstype proc -o -fstype smbfs -o -fstype autofs -o -
    root 1491 0.0 0.4 19204 1256 ? SN May06 0:00 sort -f
    root 8924 0.0 0.2 2912 596 ? SN May06 0:00 /usr/lib/locate/frcode
    root 3112 0.0 0.8 4936 2116 ? Ss May07 0:00 /bin/sh -c test -x /usr/sbin/anacron || run-parts --report /etc/cron.daily
    root 6694 0.0 0.3 2900 872 ? S May07 0:00 run-parts --report /etc/cron.daily
    root 18112 0.0 0.8 4880 2188 ? Ss May07 0:00 /bin/sh /etc/cron.daily/find
    root 20412 0.0 0.8 4960 2208 ? SN May07 0:00 /bin/sh /usr/bin/updatedb
    root 22089 0.0 0.3 4964 892 ? SN May07 0:00 /bin/sh /usr/bin/updatedb
    nobody 26767 0.0 0.5 3480 1532 ? D May07 0:00 /usr/bin/find / ( -fstype NFS -o -fstype nfs -o -fstype afs -o -fstype proc -o -fstype smbfs -o -fstype autofs -o -
    root 22098 0.0 0.4 19200 1252 ? SN May07 0:00 sort -f
    root 4078 0.0 0.2 2876 600 ? SN May07 0:00 /usr/lib/locate/frcode
    root 14069 0.0 0.8 4900 2120 ? Ss May08 0:00 /bin/sh -c test -x /usr/sbin/anacron || run-parts --report /etc/cron.daily
    root 20807 0.0 0.3 2912 876 ? S May08 0:00 run-parts --report /etc/cron.daily
    root 27948 0.0 0.8 4896 2184 ? Ss May08 0:00 /bin/sh /etc/cron.daily/find
    root 11080 0.0 0.8 4952 2208 ? SN May08 0:00 /bin/sh /usr/bin/updatedb
    nobody 4663 0.0 0.5 3492 1532 ? D May08 0:00 /usr/bin/find / ( -fstype NFS -o -fstype nfs -o -fstype afs -o -fstype proc -o -fstype smbfs -o -fstype autofs -o -
    root 16119 0.0 0.4 19256 1248 ? SN May08 0:00 sort -f
    root 8447 0.0 0.2 2860 596 ? SN May08 0:00 /usr/lib/locate/frcode
    root 28004 0.0 0.5 4388 1404 ? Ss May08 0:00 /usr/sbin/pppd call dsl-provider
    nobody 28918 0.0 0.5 3508 1528 ? D May09 0:00 /usr/bin/find / ( -fstype NFS -o -fstype nfs -o -fstype afs -o -fstype proc -o -fstype smbfs -o -fstype autofs -o -
    root 28959 0.0 0.4 28820 1256 ? SN May09 0:00 sort -f
    nobody 20632 0.0 0.5 3508 1532 ? D 06:25 0:00 /usr/bin/find / ( -fstype NFS -o -fstype nfs -o -fstype afs -o -fstype proc -o -fstype smbfs -o -fstype autofs -o -
    federico 9884 0.0 0.9 17636 2408 ? S 19:49 0:00 sshd: federico@pts/0
    federico 10571 0.0 1.0 5336 2776 pts/0 Ss 19:49 0:00 -bash
    root 2673 0.0 1.1 5480 2932 pts/0 S 19:49 0:00 bash
    root 32063 0.0 0.6 4180 1572 pts/0 R+ 20:23 0:00 ps aux
    arrakis:/home/federico#


    Alcuni li ho killati manualmente, altri non ne vogliono sapere...

  2. #2

    re:

    li killi e non terminano ?

    non ho capito

  3. #3

    Re: re:

    Originariamente inviato da sacarde
    li killi e non terminano ?

    non ho capito
    idem
    AMD Phenom II X6 1090T, ASUS M3A78-CM, GTX460 OC 1GB, CentOS 7 & Thinkpad T410 windows & Fairphone FP2

  4. #4
    Alcuni non si killano altri si, ma il problema è che mi rimangono quei processi ogni giorni, tipo:

    root 14069 0.0 0.8 4900 2120 ? Ss May08 0:00 /bin/sh -c test -x /usr/sbin/anacron || run-parts --report /etc/cron.daily
    root 20807 0.0 0.3 2912 876 ? S May08 0:00 run-parts --report /etc/cron.daily
    root 27948 0.0 0.8 4896 2184 ? Ss May08 0:00 /bin/sh /etc/cron.daily/find
    root 11080 0.0 0.8 4952 2208 ? SN May08 0:00 /bin/sh /usr/bin/updatedb
    nobody 4663 0.0 0.5 3492 1532 ? D May08 0:00 /usr/bin/find / ( -fstype NFS -o -fstype nfs -o -fstype afs -o -fstype proc -o -fstype smbfs -o -fstype autofs -o -
    root 16119 0.0 0.4 19256 1248 ? SN May08 0:00 sort -f
    root 8447 0.0 0.2 2860 596 ? SN May08 0:00 /usr/lib/locate/frcode

    L'8 maggio sono stati creati questi processi e non sono sttai terminati, il 9 idem il 10 idem finchè non mi va in Kernel Panic e devo riavviare....

  5. #5
    Utente di HTML.it
    Registrato dal
    Jan 2002
    Messaggi
    411
    Controlla il crond.
    RTFM.
    Pessimismo e fastidio.

  6. #6

    re:

    quale è la risposta a:

    kill -9 nnnn

  7. #7
    root 23131 0.0 0.0 0 0 ? S May05 0:00 [pdflush]

    Questo è il processo che non riesco a killare:

    arrakis:/home/federico# kill -9 23131
    arrakis:/home/federico#

    MA non viene eliminato...


    Ho allegato il grafico che mostra come ogni giorno i miei processi raddoppino....
    Immagini allegate Immagini allegate

  8. #8

    re:

    anche da utente root?

  9. #9
    Tutto da root sto facendo...

    nobody 21571 0.0 0.5 3492 1528 ? D May06 0:00 /usr/bin/find / ( -fstype NFS -o -fstype nfs -o -fstype afs -o -fstype proc -o -fstype smbfs -o -fstype autofs -o -
    nobody 26767 0.0 0.5 3480 1532 ? D May07 0:00 /usr/bin/find / ( -fstype NFS -o -fstype nfs -o -fstype afs -o -fstype proc -o -fstype smbfs -o -fstype autofs -o -
    nobody 4663 0.0 0.5 3492 1532 ? D May08 0:00 /usr/bin/find / ( -fstype NFS -o -fstype nfs -o -fstype afs -o -fstype proc -o -fstype smbfs -o -fstype autofs -o -
    nobody 28918 0.0 0.5 3508 1528 ? D May09 0:00 /usr/bin/find / ( -fstype NFS -o -fstype nfs -o -fstype afs -o -fstype proc -o -fstype smbfs -o -fstype autofs -o -
    nobody 20632 0.0 0.5 3508 1532 ? D May10 0:00 /usr/bin/find / ( -fstype NFS -o -fstype nfs -o -fstype afs -o -fstype proc -o -fstype smbfs -o -fstype autofs -o -
    nobody 8183 0.0 0.6 3464 1536 ? D May11 0:00 /usr/bin/find / ( -fstype NFS -o -fstype nfs -o -fstype afs -o -fstype proc -o -fstype smbfs -o -fstype autofs -o -
    nobody 12233 0.0 0.5 3492 1532 ? D May12 0:00 /usr/bin/find / ( -fstype NFS -o -fstype nfs -o -fstype afs -o -fstype proc -o -fstype smbfs -o -fstype autofs -o -
    nobody 20337 0.0 0.5 3496 1532 ? D May13 0:00 /usr/bin/find / ( -fstype NFS -o -fstype nfs -o -fstype afs -o -fstype proc -o -fstype smbfs -o -fstype autofs -o -
    nobody 23893 0.0 0.5 3492 1528 ? D 06:25 0:00 /usr/bin/find / ( -fstype NFS -o -fstype nfs -o -fstype afs -o -fstype proc -o -fstype smbfs -o -fstype autofs -o

    NEanche questi....

  10. #10

    re:

    non e' che sono respawn

    che si riavviano

    controlla se cambia il numero processo



    altrimenti mi sembra strano che non hai messaggi d'errore

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.