Hello BJ,
Please understand, I do not understand Perl Script - I cannot read your
code.
Moving past that, I think you are mistaking a scripting problem for a
problem executing script.
HTTP 200 Ok simply means that the request was executed. IIS isn't
responsible for making sure that the script however performs it's duty -
only that it was executed.
Whenever you execute a perl cgi script, IIS spawns a new thread to handel
that code. There is not an unlimited thread count - it all depends on your
machine resources available. Check out:
http://www.microsoft.com/technet/treeview/default.asp?url=/technet/prodtechn
ol/windowsserver2003/proddocs/standard/ref_reg_globalentries.asp
MaxPoolThreads
Registry Path:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\InetInfo\Parameters
Data Type: REG_DWORD
Default value: 4
Range: 0 - 4,294,967,295 (unlimited)
Specifies the number of pool threads to create per processor. Pool threads
watch for the network for requests and process incoming requests. The
MaxPoolThreads count does not include threads that are consumed by ISAPI
applications. By default, only four CGI applets can run concurrently. If
you run more than four CGI applications, you should increase this value in
order to increase the throughput. Optionally, you could set the
UsePoolThreadForCGI value to FALSE (0), but this is somewhat dangerous
because it can significantly decrease performance during high usage of CGI
applications. Generally, you should not create more than 20 threads per
processor.
I would suggest the following course of action:
Break your code down into smaller segments. Test each part individually.
Use a debugger or debug print type statements to go over each line of code.
Your problem is not IIS - it is the way your script is working. I
understand that you have error handling in place that supposed to catch a
problem - but that doesn't mean that IIS is at fault. It's much more likely
that your code isn't catching the correct problem.
Thank you,
Tony DeVere [MSFT]
Microsoft IIS
Newsgroup Support
tdevere.RemoveThis@online.microsoft.com
"Please do not send email directly to this alias. This is our online
account name for newsgroup participation only."
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2001 Microsoft Corporation. All rights
reserved.
>> Stay informed about: IIS 4.0 performance with PerlIS.dll