Reply to Re: FastCGI and DB connections / global variables?

Your name:

Reply:


Posted by Jerry Stuckle on 07/26/06 00:50

Joshua Ruppert wrote:
> With that said I'm not sure what my problem is. I have a website that
> has already been developed running Win2K and PHP 4, that I tried to
> switch over to FastCGI. When I did this every thing ran fine for a
> while, until we had a spike in traffic. (Since FastCGI was tried we
> have moved to Win2K3.)
>
> The root cause of the problems seems to be the response time of the DB
> servers but I'm not certain. When the database servers became loaded,
> the PHP processes seemed to hang while waiting for the database to
> respond. Eventually this effected each of the PHP processes started by
> FastCGI, completely taking down the site.
>
> The only way I found to restart the PHP processes is to reboot the
> machine, because task manager did let me kill the processes that were
> started by FastCGI.
>
> Is there anything that you could see (slow DB connections or otherwise)
> that would cause this kind of behavior?
>
> I used the PHPLens.com EasyWindows PHP Installer, but I'm having
> trouble finding resources to help me fine tune FastCGI opperation.
>
> Any suggestions are greatly appreciated.
>
>

Is it possible you're getting into a deadlock situation? These are more
likely to show up when the database is busy, and you probably wouldn't
be able to cancel the task.

P.S. - please don't top post. Thanks.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[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

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