OK... I have a Windows 2003 Web Edition server running IIS6 with a Perl/PHP
site. When I initially installed the server I couldn't get the site to run
until I installed ActivePerl build 809 which I did and worked well. In fact,
really well. Performance was outstanding with CPU usage hovering around 3-5%
for the major page hits. No complaints.
Today I tried to access one of the pages on the server and it seems that it
stopped processing .cgi scripts overnight for some unknown reason. PHP
loaded just fine, but anything with a .cgi extension failed. Since I hadn't
made any changes to the server (only website updates copying files to and
from www directory) since it was functioning just fine. I was quite baffled
as to why this was happening. I thought maybe it just needs a reboot.
Rebooted, same problem.
Did some research and some checking around, all of a sudden the .cgi
extension was not listed in application extensions. I do not understand how
this could be. The site was running just fine, 24 hours ago with no changes
whatsoever including web updates.
In any case, I remapped .cgi extensions to c:\Perl\bin\perl.exe "%S" %S and
now the site seems to be loading again. However, now one page load is taking
up massive CPU usage. Some spikes have gone as high as 80% with Perl.exe
taking up most of the CPU usage. What is wrong here? I never had this much
resource usage before. Please help...
Another interesting note is that although I didn't do any web updates, the
content on the site is dynamic and seems to have been reverted to about 2
days ago. Anything posted to the site by users has disappeared and it's
functioning as if the server content has gone back in time two days ago,
except that it was working fantasticly two days ago. How did this happen?
Any info would be tremendously appreciated... Much thanks in advance.