You are here: Re: [PHP] Help please!! « PHP « IT news, forums, messages
Re: [PHP] Help please!!

Posted by Brent Baisley on 01/14/05 16:21

I would check what hitting the machine from the network. At the most
basic level, just try "netstat 1" on the command line. Also try iostat
1 to see what load the machine has. It may not be PHP or Apache but
something else, maybe a denial of service attack.


On Jan 13, 2005, at 10:02 PM, Brent Clements wrote:

> Having a very frustrating problem and I can't seem to figure out why
> it's happening.
>
> 1. As of last week, all of our applications have started to work
> intermittingly. The codebase has not changed.
> 2. Sometimes the application will display, sometimes it won't. The
> browsers "loading progress bar" will move for about 25% then just
> stop. No timeout or 401 errors occur.
> 3. There are no errors message in any of the logs files.
>
> To test if it's our application we have done the following in our main
> php file which runs the rest of the application
>
> <?php
> echo "Step 0 <br>";
>
> --Segment of our code is here--
>
> echo "Step 1 <br>";
>
> --Segment of our code is here--
>
> echo "Step 2 <br>";
>
> ?>
>
> Sometimes it doesn't even get to the first line of php code which is
> the first echo statement, sometimes it gets to step 0 and step 1 and
> sometimes it gets to all steps.
>
> The code between each of these steps is nothing major, nothing calls
> mysql or anything like that. It's mainly just variable initialization.
>
> Again, the entire application runs fine every couple of refreshes.
> Then sometimes it'll just stop completely. I have turned on all sorts
> of debugging and nothing.
>
> I have reinstalled apache, mysql, and php 2 times. We have also
> optimize both apache and mysql for for than enough client connections
> as well are using persistant db connections. But like I said, the
> application works sometimes, sometimes it doesn't. And the data is
> pretty static.
>
> I am running RHEL 3 U3 with RH php version php-4.3.2-19.ent, RH mysql
> server version mysql-server-3.23.58-2.3, and RH apache version
> httpd-2.0.46-44.ent
>
> Thanks guys for any help troubleshooting this.
>
> -Brent
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Brent Baisley
Systems Architect
Landover Associates, Inc.
Search & Advisory Services for Advanced Technology Environments
p: 212.759.6400/800.759.0577

 

Navigation:

[Reply to this 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

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