Page 1 of 1

Perl job "frisst" ganze CPU Leistung

Posted: 2004-12-26 16:20
by termi11
Hallo,

hab seit etwa 1 Tag folgendes Problem:
Suse root server mit allen updates.
Nach nem reboot läuft alles normal. Nach etwa 1 Stunde hab ich unter top:

Code: Select all

1219 wwwrun    25   0  3500 3496 1716 R 11.9  0.3   2:07.37 perl
 2558 wwwrun    25   0  3492 3488 1708 R 11.9  0.3   1:29.91 perl
 3443 wwwrun    25   0  3488 3484 1704 R 11.9  0.3   0:34.87 perl
 1169 wwwrun    25   0  3504 3500 1716 R 11.5  0.3   1:36.08 perl
 2810 wwwrun    25   0  3492 3488 1708 R 11.5  0.3   1:21.82 perl
 3038 wwwrun    25   0  3484 3480 1704 R 11.5  0.3   1:05.85 perl
 3264 wwwrun    25   0  3484 3480 1704 R 11.5  0.3   0:45.26 perl
 1348 wwwrun    25   0  3492 3488 1708 R 11.2  0.3   1:43.06 perl
 4003 root      16   0  1104 1104  852 R  1.0  0.1   0:00.19 top
Teils steht auch ein Perl job mit etwa 90% cpu da.
dann hab ich mit ps -x-a folgendes:

Code: Select all

2810 ?        R      1:49 /usr/local/apache/bin/httpd -DSSL
 2907 ?        S      0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 2908 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 2946 ?        S      0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 2962 ?        S      0:00 trivial-rewrite -n rewrite -t unix -u
 3031 ?        S      0:00 /usr/sbin/mysqld-max --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/mysqld.pid --skip-locking
 3032 ?        Z      0:00 [sh] <defunct>

Mehrfach diesen Block.

In der /var/log/messsages steht nix spezielles.

in der php.ini hab ich mal den mysql_persistent auf Off gesetzt. Doch gebracht hat's nix.

Wer kann mir nen Tip geben.

Könnte das was mit dem phpBB2 Virus zu tun haben?

Besten Dank im Voraus!!

Re: Perl job "frisst" ganze CPU Leistung

Posted: 2004-12-26 17:09
by Roger Wilco
1. Boardsuche benutzen
2. http://www.heise.de/newsticker/meldung/54623
3.

Code: Select all

RewriteEngine On 
RewriteCond %{QUERY_STRING} ^(.*)wget%20 [OR] 
RewriteCond %{QUERY_STRING} ^(.*)echr(.*) [OR] 
RewriteCond %{QUERY_STRING} ^(.*)esystem(.*) [OR] 
RewriteCond %{QUERY_STRING} ^(.*)highlight=%2527 [OR] 
RewriteCond %{HTTP_COOKIE}% s:(.*):%22test1%22%3b 
RewriteRule ^.*$ http://127.0.0.1/ [L,R=301]