Hi,
I work for a company that has a vBulletin board served up using PHP and mySQL. Nothing else but the board is on the server.
We run 2003 Server SP2. Our box has (8) 3.0 GHz CPU's, and 2 GB of RAM.
PHP version 5.2.1 is running. More configuration details can be found here:
http://www.vbulletin.com/forum/showthread.php?t=251589
Under normal load we have about 300 users browsing our boards. Under 'peak' load, we can only handle about 500 users. Our user base would probably allow us to get 2000 or more concurrent users at a time, but our server is holding us back.
Under peak load, The IIS process is using about 15% of CPU, and about 450,000 MB of RAM. There is always 1GB or more of free memory available. Disk I/O is fine per Performance Manager.
My MySql database is also fine.
During peak load, the site becomes unresponsive. Clicks take two minutes or more.
I can isolate the problem to IIS/PHP because I've set up a mirror site on the same box. The mirror performs fine under load, so I can confidently rule out disk I/O and database performance problems.
Does anyone have any suggestions with regard to PHP/IIS optimization? I'm at a loss as to why the site stumbles when I have so much headroom in terms of resources available...