Hi,
I have web sites - online game www.webgame.cz.
On server runs Win2000+IIS5.0 (it has to be Win, Linux can't, because of few other applications).
Server (1600Mhz,512MB RAM) has 100% CPU usage when 200-250 users are online, if PHP runs as a CGI (users click a lot, database MySQL has cca 200k rows in 30 indexed tables, database has 100M😎.
We installed now PHP as isapi module and expected that it will be faster than as cgi (and MySQL will be faster, because it can use permanent connections mysql_pconnect())
But it's as module now slower than as cgi!
MySQL uses a bit less CPU as module (up to 50%), but DLLHOST.EXE uses too much (same as MySQL - up to 50%)
So, CPU is 100% used when 150 users are online.
Can you give me an advice what to do. Or is it normal, that DLLHOST.EXE uses so much CPU? As cgi PHP used only 5-10% CPU.
Or would it be faster if MySQL is on HDD1 and other programs on HDD2? Or isn't 512MB for such a server enough? (Windows swap file has 200-300M😎
Thanx for all answers
Tomas Morava, icq 95541995