Re: Apache under attack and eating resources?
From: Devon H. O'Dell (dodell_at_sitetronics.com)
Date: 09/29/03
- Previous message: Philip Paeps: "Re: Apache under attack and eating resources?"
- In reply to: Philip Paeps: "Re: Apache under attack and eating resources?"
- Next in thread: Philip Paeps: "Re: Apache under attack and eating resources?"
- Reply: Philip Paeps: "Re: Apache under attack and eating resources?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 29 Sep 2003 08:35:20 +0200 To: Philip Paeps <philip+freebsd@paeps.cx>
>I forgot to mention I was running mod_php4 from the ports. I don't think any
>scripts changed in the last few weeks, but I'll have a look into it. Any idea
>what kind of script bugs could cause PHP to tear things down like this, other
>than the classic loop from hell?
>
>Thanks!
>
> - Philip
>
>
PHP does a pretty good job from protecting against this. Installing
mod_php4 from ports will also turn on the --enable-memory-limit switch,
which causes PHP to terminate if more than x MB RAM are taken (this
shouldn't segfault Apache). The "classic loop from hell" should also be
undoable, since PHP has a 60 second execution time limit. You might want
to run your httpd process in gdb to see what's going on when stuff
segfaults. If this is indeed a problem with PHP, I'm sure the developers
would like to hear about it ASAP!
--Devon
_______________________________________________
freebsd-security@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"
- Previous message: Philip Paeps: "Re: Apache under attack and eating resources?"
- In reply to: Philip Paeps: "Re: Apache under attack and eating resources?"
- Next in thread: Philip Paeps: "Re: Apache under attack and eating resources?"
- Reply: Philip Paeps: "Re: Apache under attack and eating resources?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|