Reply to Re: 100% CPU load : how to investigate?

Your name:

Reply:


Posted by Erwin Moller on 03/13/07 14:52

Vincent Delporte wrote:

> Hello
>
> Someone I know is running some Web 2.0-type web site that lives on a
> shared host, and is experiencing 100% CPU load after a few hours. At
> this point, his provider couldn't tell if it's due to a DoS attack, or
> a bug in his application.

Web2. A very vague description. :P

>
> 1. For the DoS thing, I assume looking at the log files should be
> enough to tell if it's the problem is due to a suspicious rise in the
> number of connections at some point.

Yes.
Simply check the number of requests. A DDos should be found easily (before
crashing).

>
> 2. As for bugs, are there tools available for PHP that can monitor an
> application and reveal bugs that could explain this CPU load?

Yes. A few debuggers/profilers are out there.
just type 'debugger php' in google to get them.
A very well known one is the DBG debugger.

I understood Zend has a good one, but you have to buy it.
I didn't buy Zend Studio (yet), but am considering it. I hear only good
things from people in here. :)

or check here: http://drupal.org/node/1466

Regards,
Erwin Moller

>
> Thank you.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация