Forum Moderators: open

Message Too Old, No Replies

Two Server Setup

Two Server Setup Problem

         

Bryan_Smith

4:55 pm on Dec 6, 2007 (gmt 0)

10+ Year Member



I'm currently running a two server setup for a website. Don't shoot me, but I'm running IIS on the webserver. Lately, the processor utlization has been peaking at 80-100% at times, although for the most part, traffic is minimal.I am planning on switching to Suse Enterprise in early '08 but any tuning I could do to help things out would be great.

Thank you for your input and ideas.

~Smitty

LifeinAsia

5:13 pm on Dec 6, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Which process is hogging all the resources? What else do you have running on the server?

And why would someone shoot you for running IIS on the webserver? Where else would you run it?

[edited by: LifeinAsia at 5:15 pm (utc) on Dec. 6, 2007]

Bryan_Smith

5:55 pm on Dec 6, 2007 (gmt 0)

10+ Year Member



When spiking it is the w3wp process which is the web server. From my experiances IIS isn't great at serving up php scripts. This is a dedicated box to this website, nothing else is running on it except for the necessary windows services.

LifeinAsia

6:01 pm on Dec 6, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



What version of Windoze are you running? Have you verified that no other processes are running (e.g., some Trojan or worm that sneaked in)?

I don't have any experience running PHP, but when I Googled "w3wp php" I saw several hits regarding high CPU utilization with that configuration.

Bryan_Smith

6:45 pm on Dec 6, 2007 (gmt 0)

10+ Year Member



Windows 2003 and virus free.

jtara

2:37 am on Dec 7, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Without knowing any details, it's hard to say anything more than "optimize your code".

But this might be a possible fix, as well:

[support.microsoft.com...]

SYMPTOMS
On a computer that is running Microsoft Windows Server 2003, the W3wp.exe process consumes up to 99 percent of the CPU resources every several minutes. This problem occurs if the following conditions are true:
•Microsoft Exchange Server 2003 is running on the computer.
•Microsoft Outlook Web Access (OWA) is installed on the computer.
•The Front-end server only option is enabled in Exchange Server 2003.

Amazingly, this the the second result for a Google search on "w3wp".

Not good when the second Google result on a program name is a bug!

Bryan_Smith

1:20 pm on Dec 7, 2007 (gmt 0)

10+ Year Member



unfortunately i have none of those installed on the machine.