Hi,
We were using ActivePERL when we ran into some troubles. When we downloaded some modules from CPAN and started using , we were unable to install those modules. So we followed the best approach , download source code and make our own perl.exe and configure perl cgi extensions to IIS. However , we donot intend to use the ASPN dll for the obvious reasons mentioned in the ASPN Site "PerlIS DLL runs in the process space of the server, your web server is more susceptible to crashes and hangs caused by programming errors".(from aspn site)
Thanks for providing insight and quick response, thanks a lot.
Regards,
Swaroop
| [reply] |
Well, technically, mod_perl is also in the process space of Apache.
However, IIS only runs one process (multithreaded). In my experience, if it hangs, your site it down.
Apache+mod_perl will typically run w/multiple processes. This means if one hangs, the others can still serve requests.
| [reply] |
This isn't entirely true...
If you go into the properties page of the Virtual directory that you are using and select 'High (Isolated)' in the Application dropdown. The Perl for ISAPI DLL will now be started in a separate process (a DCOM server) called dllhost that persists between calls to the server. This process can be killed using task manager and is resurected next time round.
If you have problems getting this to work then you need to add the IWAM_<server> user to your 'users' group. The DCOM server is owned by the IWAM_<server> account. You will need to remember this when accessing network resources etc. with your Perl script.
Your issue with installing CPAN modules is unlikely to be related to the method that you use to execute your script. If you are having problems running your script then permissions are likely to be the problem.
| [reply] |