For Programmers: Free Programming Magazines  


Home > Archive > PHP on Windows > December 2004 > php performance terrible outside firewall









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author php performance terrible outside firewall
Edward Tilley

2004-12-28, 3:57 pm

environment - PII 450, 1 Gb RAM, Windows 2000 Server, IIS 5, PHP 4.3.1,
MySQL 4.0.23

My php website screams on my local network segment but slows to a crawl
everytime a remote user (someone outside my firewall) calls a php page. My
processor goes to 100% for 2 to 5 seconds and php.exe becomes the top CPU
consumer.

Has anyone else seen this behaviour? I forward port 80 requests through the
firewall presently and I think I have covered all of my DNS bases.

Thanks for any help !

Ed
Edward Tilley

2004-12-30, 3:57 pm

Problem resolved. Turns out that my internal DNS server's configuration and
a misinstalled/configured web-statistics counter were to blame. PHP runs
great and a recent upgrade to mySQL added significant performance gains via
query caching...

"Edward Tilley" <etilley@cogeco.ca> wrote in message
news:20041228092557.28002.qmail@pb1.pair.com...
> environment - PII 450, 1 Gb RAM, Windows 2000 Server, IIS 5, PHP 4.3.1,
> MySQL 4.0.23
>
> My php website screams on my local network segment but slows to a crawl
> everytime a remote user (someone outside my firewall) calls a php page. My
> processor goes to 100% for 2 to 5 seconds and php.exe becomes the top CPU
> consumer.
>
> Has anyone else seen this behaviour? I forward port 80 requests through
> the firewall presently and I think I have covered all of my DNS bases.
>
> Thanks for any help !
>
> Ed

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com