Thread script wird jede minute mehrmals gestartet?
(6 answers)
Opened by Trux at 2017-12-10 11:56
so, also ich bin jetzt schon etwas weiter. meine perlversion hat nicht mit threads arbeiten können, somit hab ich nun forks genommen.
nun kann ich auch den channelwatcher ohne den (perl) -MForks befehl starten, allerdings wird mein arbeitsspeicher immer noch bis aufs letzte ausgelastet: thx@vz242:~$ ps -aux USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.1 33340 2668 ? Ss 09:50 0:00 init root 2 0.0 0.0 0 0 ? S 09:50 0:00 [kthreadd/107] root 3 0.0 0.0 0 0 ? S 09:50 0:00 [khelper/107] root 154 0.0 0.0 19436 852 ? S 09:50 0:00 upstart-udev-br root 161 0.0 0.0 49228 1444 ? Ss 09:50 0:00 /lib/systemd/sy root 285 0.0 0.0 15236 676 ? S 09:50 0:00 upstart-file-br syslog 286 0.0 0.0 184200 1440 ? Ssl 09:50 0:00 rsyslogd root 291 0.0 0.0 15352 816 ? S 09:50 0:00 upstart-socket- root 421 0.0 0.0 14952 1060 ? Ss 09:50 0:00 /usr/sbin/xinet root 425 0.0 0.1 61340 3088 ? Ss 09:50 0:00 /usr/sbin/sshd root 429 0.0 0.0 23612 916 ? Ss 09:50 0:00 cron bind 472 0.0 0.6 171324 13860 ? Ssl 09:50 0:00 /usr/sbin/named root 587 0.0 0.0 25300 1692 ? Ss 09:50 0:00 /usr/lib/postfi postfix 590 0.0 0.0 27364 1560 ? S 09:50 0:00 pickup -l -t un postfix 591 0.0 0.0 27416 1608 ? S 09:50 0:00 qmgr -l -t unix root 626 0.0 0.0 83576 1148 ? Ss 09:50 0:00 /usr/sbin/sasla root 628 0.0 0.0 83576 804 ? S 09:50 0:00 /usr/sbin/sasla root 675 0.0 0.1 71284 2636 ? Ss 09:50 0:00 /usr/sbin/apach www-data 678 0.0 0.1 481416 3036 ? Sl 09:50 0:00 /usr/sbin/apach root 723 0.0 0.0 12744 872 tty1 Ss+ 09:50 0:00 /sbin/getty 384 root 725 0.0 0.0 12744 864 tty2 Ss+ 09:50 0:00 /sbin/getty 384 root 752 0.0 0.1 90936 3988 ? Ss 09:50 0:00 sshd: thx [priv thx 763 0.0 0.1 90936 2132 ? S 09:50 0:00 sshd: thx@notty thx 764 0.0 0.0 12788 1016 ? Ss 09:50 0:00 /usr/lib/openss root 765 0.0 0.1 90936 3980 ? Ss 09:50 0:00 sshd: thx [priv thx 776 0.0 0.1 90936 2116 ? S 09:50 0:00 sshd: thx@notty thx 777 0.0 0.0 12780 964 ? Ss 09:50 0:00 /usr/lib/openss root 783 0.0 0.1 90936 3984 ? Ss 09:52 0:00 sshd: thx [priv thx 794 0.0 0.1 90936 2104 ? S 09:52 0:00 sshd: thx@pts/0 thx 795 0.0 0.0 18156 2044 pts/0 Ss 09:52 0:00 -bash thx 805 0.0 1.4 94664 30212 pts/0 S+ 09:52 0:00 perl SBot.pl thx 806 0.0 0.6 60724 13128 pts/0 S+ 09:52 0:00 perl SBot.pl thx 807 0.0 0.8 75808 16880 pts/0 S+ 09:52 0:00 perl SBot.pl thx 808 0.0 0.8 75808 16908 pts/0 S+ 09:52 0:00 perl SBot.pl thx 809 0.0 0.8 75808 16916 pts/0 S+ 09:52 0:00 perl SBot.pl thx 810 0.0 0.8 75808 16916 pts/0 S+ 09:52 0:00 perl SBot.pl thx 811 0.0 0.8 75808 16916 pts/0 S+ 09:52 0:00 perl SBot.pl thx 812 0.0 0.8 75808 16920 pts/0 S+ 09:52 0:00 perl SBot.pl thx 813 0.0 0.8 75808 16920 pts/0 S+ 09:52 0:00 perl SBot.pl thx 814 0.0 0.8 75808 16920 pts/0 S+ 09:52 0:00 perl SBot.pl thx 815 0.0 0.8 75808 16920 pts/0 S+ 09:52 0:00 perl SBot.pl thx 816 0.0 0.8 75808 16920 pts/0 S+ 09:52 0:00 perl SBot.pl thx 817 0.0 0.8 77140 18324 pts/0 S+ 09:52 0:00 perl SBot.pl thx 818 0.0 0.8 77140 18324 pts/0 S+ 09:52 0:00 perl SBot.pl thx 819 0.0 0.8 77140 18324 pts/0 S+ 09:52 0:00 perl SBot.pl thx 820 0.0 0.8 77248 18348 pts/0 S+ 09:52 0:00 perl SBot.pl thx 821 0.0 0.8 77248 18348 pts/0 S+ 09:52 0:00 perl SBot.pl thx 822 0.0 0.8 77248 18348 pts/0 S+ 09:52 0:00 perl SBot.pl thx 823 0.0 0.8 77248 18352 pts/0 S+ 09:52 0:00 perl SBot.pl thx 824 0.0 0.8 77248 18352 pts/0 S+ 09:52 0:00 perl SBot.pl thx 825 0.0 0.8 77248 18352 pts/0 S+ 09:52 0:00 perl SBot.pl thx 826 0.0 0.8 77248 18352 pts/0 S+ 09:52 0:00 perl SBot.pl thx 827 0.0 0.8 77248 18352 pts/0 S+ 09:52 0:00 perl SBot.pl thx 828 0.0 0.8 77248 18352 pts/0 S+ 09:52 0:00 perl SBot.pl thx 829 0.0 0.8 77248 18352 pts/0 S+ 09:52 0:00 perl SBot.pl thx 830 0.0 0.8 77248 18352 pts/0 S+ 09:52 0:00 perl SBot.pl thx 831 0.0 0.8 77248 18352 pts/0 S+ 09:52 0:00 perl SBot.pl thx 837 0.0 1.1 86100 23096 pts/0 S+ 09:53 0:00 perl SBot.pl thx 838 0.0 1.3 94628 27388 pts/0 S+ 09:53 0:00 perl SBot.pl thx 839 0.0 1.3 94628 27404 pts/0 S+ 09:53 0:00 perl SBot.pl thx 840 0.0 1.3 94628 27404 pts/0 S+ 09:53 0:00 perl SBot.pl thx 841 0.0 1.3 94664 27420 pts/0 S+ 09:53 0:00 perl SBot.pl thx 842 0.0 1.3 94664 27420 pts/0 S+ 09:53 0:00 perl SBot.pl thx 843 0.0 1.3 94664 27420 pts/0 S+ 09:54 0:00 perl SBot.pl thx 844 0.0 1.3 94664 27420 pts/0 S+ 09:54 0:00 perl SBot.pl thx 845 0.0 1.3 94664 27420 pts/0 S+ 09:54 0:00 perl SBot.pl thx 846 0.0 1.3 94664 27420 pts/0 S+ 09:54 0:00 perl SBot.pl thx 847 0.0 1.3 94664 27420 pts/0 S+ 09:54 0:00 perl SBot.pl thx 848 0.0 1.3 94664 27420 pts/0 S+ 09:54 0:00 perl SBot.pl thx 849 0.0 1.3 94664 27420 pts/0 S+ 09:54 0:00 perl SBot.pl thx 850 0.0 1.3 94664 27420 pts/0 S+ 09:54 0:00 perl SBot.pl thx 851 0.0 1.3 94664 27420 pts/0 S+ 09:54 0:00 perl SBot.pl thx 852 0.0 1.3 94664 27420 pts/0 S+ 09:54 0:00 perl SBot.pl thx 853 0.0 1.3 94664 27420 pts/0 S+ 09:54 0:00 perl SBot.pl root 861 0.0 0.1 90936 3988 ? Ss 09:55 0:00 sshd: thx [priv thx 872 0.0 0.1 90936 2100 ? S 09:55 0:00 sshd: thx@pts/2 thx 873 0.0 0.0 18156 2044 pts/2 Ss 09:55 0:00 -bash thx 884 0.0 1.3 94664 27420 pts/0 S+ 09:55 0:00 perl SBot.pl thx 890 0.0 1.3 94664 27420 pts/0 S+ 09:56 0:00 perl SBot.pl thx 891 0.0 1.3 94664 27420 pts/0 S+ 09:57 0:00 perl SBot.pl thx 892 0.0 1.3 94664 27420 pts/0 S+ 09:58 0:00 perl SBot.pl thx 898 0.0 1.3 94664 27420 pts/0 S+ 09:59 0:00 perl SBot.pl thx 906 0.0 1.3 94664 27420 pts/0 S+ 10:00 0:00 perl SBot.pl thx 907 0.0 1.3 94664 27420 pts/0 S+ 10:00 0:00 perl SBot.pl thx 908 0.0 1.3 94664 27420 pts/0 S+ 10:00 0:00 perl SBot.pl thx 909 0.0 1.3 94664 27420 pts/0 S+ 10:00 0:00 perl SBot.pl thx 910 0.0 1.3 94664 27420 pts/0 S+ 10:00 0:00 perl SBot.pl thx 911 0.0 1.3 94664 27420 pts/0 S+ 10:00 0:00 perl SBot.pl thx 912 0.0 1.3 94664 27420 pts/0 S+ 10:00 0:00 perl SBot.pl thx 918 0.0 0.0 15524 1160 pts/2 R+ 10:01 0:00 ps -aux thx@vz242:~$ leider weiss ich hier nicht weiter :( |