So Pete, what are your new settings? If you don't mind telling which website are you talking about that someone is scraping 1000 pages per minute off.<br><br>-<br>Adi<br>Same one from nzphplist<br><br><br><div class="gmail_quote">
On Thu, Aug 19, 2010 at 5:15 PM, Pete Graham <span dir="ltr"><<a href="mailto:petegraham1@gmail.com">petegraham1@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,<br>
<br>
I had my systems admin friend help me out on this one. He modified the<br>
Apache configuration: tuned the prefork mpm. Re-activated keepalive,<br>
with stricter settings. Also he noticed some IP in India was<br>
requesting 1000 pages a minute sometimes so blacklisted the IP,<br>
amongst other things.<br>
<br>
Site seems to behaving itself much more now, thankfully.<br>
<font color="#888888"><br>
Pete<br>
</font><div><div></div><div class="h5"><br>
On 19 August 2010 12:33, David Goodwin <<a href="mailto:david@codepoets.co.uk">david@codepoets.co.uk</a>> wrote:<br>
> On Wed, 2010-08-18 at 17:09 +0100, Pete Graham wrote:<br>
>> Hi everybody,<br>
>><br>
>> I have a live SilverStripe site I've inherited that I'm experiencing<br>
>> major problems with. After the site has been running for a while it<br>
>> starts spawning multiple httpd processes, some taking up huge<br>
>> percentages of the CPU (these can be seen using top). The site<br>
>> progressively become more and more unresponsive returning 500 errors<br>
>> for requests.<br>
><br>
> Is the server running mod_php?<br>
><br>
> Is the server set to kill it's children after N requests, or do children<br>
> live forever? - is Apache's MaxRequestsPerChild 0 or something else?<br>
><br>
> ( Perhaps it's just some sort of memory leak...? )<br>
><br>
> I'd suggest you make sure error_log is enabled; and check apache's<br>
> access logs.... perhaps it's possible to identify a request with<br>
> something going wrong?<br>
><br>
> I'd guess you could 'strace' the apache process that's misbehaving<br>
> (assuming mod_php); but this might not work; or be at too low a level.<br>
> I've never tried it myself.<br>
><br>
><br>
> David.<br>
><br>
><br>
><br>
> _______________________________________________<br>
> Phpwm mailing list<br>
> Website : <a href="http://www.phpwm.org" target="_blank">http://www.phpwm.org</a><br>
> Twitter : <a href="http://www.twitter.com/phpwm" target="_blank">http://www.twitter.com/phpwm</a><br>
> Facebook: <a href="http://www.facebook.com/group.php?gid=2361609907" target="_blank">http://www.facebook.com/group.php?gid=2361609907</a><br>
><br>
> Post to list: <a href="mailto:Phpwm@mailman.lug.org.uk">Phpwm@mailman.lug.org.uk</a><br>
> Archive etc : <a href="https://mailman.lug.org.uk/mailman/listinfo/phpwm" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/phpwm</a><br>
><br>
<br>
_______________________________________________<br>
Phpwm mailing list<br>
Website : <a href="http://www.phpwm.org" target="_blank">http://www.phpwm.org</a><br>
Twitter : <a href="http://www.twitter.com/phpwm" target="_blank">http://www.twitter.com/phpwm</a><br>
Facebook: <a href="http://www.facebook.com/group.php?gid=2361609907" target="_blank">http://www.facebook.com/group.php?gid=2361609907</a><br>
<br>
Post to list: <a href="mailto:Phpwm@mailman.lug.org.uk">Phpwm@mailman.lug.org.uk</a><br>
Archive etc : <a href="https://mailman.lug.org.uk/mailman/listinfo/phpwm" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/phpwm</a><br>
</div></div></blockquote></div><br>