RE: [PHP] Nasty DoS in PHP
| From: | Darren Gamble | Date: | Thu, 18 Apr 2002 12:13:30 +0000 |
| Subject: | RE: [PHP] Nasty DoS in PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-93509@lists.php.net to get a copy of this message | ||
Good day,
Just reading this thread, figured I would put my $0.02 in.
This is apparently a known problem. It seems to occur whenever the php
script uses lots of memory, actually, and it does the same thing whether
it's run standalone or as a module.
I first experienced it when I had a PHP script load a 10 meg LDAP database
into memory, which took some 90 Megs of RAM to do (overhead, I guess). If I
ran the script standalone, it wouldn't quit right away. If it was run as a
module, Apache would have to kill the child off (it logged this activity) if
I asked Apache to shut down. If I ran the script a few times, all of the
memory of the machine would be used up, and I'd have to kill off Apache to
get it back.
============================
Darren Gamble
Planner, Regional Services
Shaw Cablesystems GP
630 - 3rd Avenue SW
Calgary, Alberta, Canada
T2P 4L4
(403) 781-4948
-----Original Message-----
From: Jason Soza [mailto:solja@gci.net]
Sent: Thursday, April 18, 2002 12:10 AM
To: php-general@lists.php.net
Subject: RE: [PHP] Nasty DoS in PHP
Mine produced the same error message as yours, Jason, but the memory and CPU
usage continued until I hit the 'stop' button on the browser. It seemed to
have overridden both time and memory limits, as it had racked up 320 megs of
my RAM by the time I stopped it.
Jason
-----Original Message-----
From: Jason Murray [mailto:Jason.Murray@melbourneit.com.au]
Sent: Wednesday, April 17, 2002 9:57 PM
To: 'CC Zona'; php-general@lists.php.net
Subject: RE: [PHP] Nasty DoS in PHP
> So that was both as an Apache mod and a CGI binary? Sounds like it's
> reproducible.
Running as an Apache module here, it terminated as expected at 30 seconds.
Jason
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php