RE: IIS 6 - PerlEx - causing working process to recycle on ScriptReturned No Data

2007-09-24 Thread Horace Redelmyer
Thanks to those who responded. I have found that my app is stable after 
I made sure all paths through the code catch all exceptions safely.

[EMAIL PROTECTED] wrote:
 Send Perl-Win32-Web mailing list submissions to
   perl-win32-web@listserv.ActiveState.com

 To subscribe or unsubscribe via the World Wide Web, visit
   http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web
 or, via email, send a message with subject or body 'help' to
   [EMAIL PROTECTED]

 You can reach the person managing the list at
   [EMAIL PROTECTED]

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of Perl-Win32-Web digest...


 Today's Topics:

1. RE: IIS 6 - PerlEx - causing working process to recycle on
   ScriptReturned No Data (Steven Manross)


 --

 Message: 1
 Date: Mon, 17 Sep 2007 17:22:37 -0700
 From: Steven Manross [EMAIL PROTECTED]
 Subject: RE: IIS 6 - PerlEx - causing working process to recycle on
   ScriptReturned No Data
 To: Horace Redelmyer [EMAIL PROTECTED],   PerlEx
   [EMAIL PROTECTED],
   perl-win32-web@listserv.ActiveState.com
 Message-ID:
   [EMAIL PROTECTED]
 Content-Type: text/plain; charset=us-ascii

 If you are having the same problem I have (with PerlScript in ASP) where
 something similar happens, you can downgrade to build 638 (perl 5.6) to
 correct the problem.

 Steven

   
 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On 
 Behalf Of Horace Redelmyer
 Sent: Monday, September 17, 2007 8:31 AM
 To: PerlEx; perl-win32-web@listserv.ActiveState.com
 Subject: IIS 6 - PerlEx - causing working process to recycle 
 on ScriptReturned No Data

 I am finding  that if the Perl interpreters die (returning 
 Script Returned No Data to the browser), the IIS 6 worker 
 process refuses to handle any more requests. However, the IIS 
 ping every 30s must think that the process is alive since it 
 doesn't recycle until the end of the configured recycle period.

 Is there any way to cause the worker process to recycle when 
 the interpreters are dead?

 I'm sure that I am catching all exceptions (e.g. sql query 
 timeouts) in my code in eval blocks. Does anyone know under 
 what circumstances Perl might die? This only happens under 
 stress testing situations.

 I am using perl v5.8.8 build 822 [280952] from ActiveState 
 with PerlEx on IIS 6 on windows 2003 server.

 Thanks in advance
 Horace
 ___
 Perl-Win32-Web mailing list
 Perl-Win32-Web@listserv.ActiveState.com
 To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

 
___
Perl-Win32-Web mailing list
Perl-Win32-Web@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


IIS 6 - PerlEx - causing working process to recycle on Script Returned No Data

2007-09-17 Thread Horace Redelmyer
I am finding  that if the Perl interpreters die (returning Script 
Returned No Data to the browser), the IIS 6 worker process refuses to 
handle any more requests. However, the IIS ping every 30s must think 
that the process is alive since it doesn't recycle until the end of the 
configured recycle period.

Is there any way to cause the worker process to recycle when the 
interpreters are dead?

I'm sure that I am catching all exceptions (e.g. sql query timeouts) in 
my code in eval blocks. Does anyone know under what circumstances Perl 
might die? This only happens under stress testing situations.

I am using perl v5.8.8 build 822 [280952] from ActiveState with PerlEx 
on IIS 6 on windows 2003 server.

Thanks in advance
Horace
___
Perl-Win32-Web mailing list
Perl-Win32-Web@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


PerlAspX Demo Failure

2005-10-12 Thread Horace Redelmyer
I have downloaded the PerlAspX demo from activestate. However, trying to 
run it, I get the following compilation problem (for 
http://localhost/perlaspx/ASPSimple.aspx)


C:\WINDOWS\system32 C:\Perl\bin\plcx.exe  --asp.net /noconfig 
@C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET 
Files\perlaspx\2bc1b764\dbc5a4ae\ls3bgpnf.cmdline



PerlNET 1.1.0 build 110
Copyright (C) 2001-2003 ActiveState Corp. All rights reserved.
System.ApplicationException: Can't locate type System.Web.UI.Page

   at PerlRuntime.Interpreter.GetType(Int32 x, String klass)

   at PerlRuntime.Interpreter.typeof(Int32 x, Int32 klass_, Int32 e, 
Int32 rt)System.NullReferenceException: Object reference not set to an 
instance of an object.



I have installed all of the windows updates for XP Professional, and I 
downloaded a fresh perl from activestate.


Any clues?


Thanks
Horace
Redelmyer Consulting
Toronto, Ontario



___
Perl-Win32-Web mailing list
Perl-Win32-Web@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


IIS 6 - fast cgi or something similar

2005-10-10 Thread Horace Redelmyer

I have a large cgi Perl application that can't be rewritten since
supporting customers is a full time job in itself.

Customers are moving to IIS 6.

There isn't even time to figure out if this works with Perl 5.8, so I'm
stuck in Perl 5.6.1.

However, I need the performance improvements I could get by not spawning
and recompiling my Perl scripts at every request.

The questions are

1) does the fastcgi dll http://www.caraveo.com/fastcgi/ work with IIS 6
(and hopefully 5).

2) where can I find a version of Perl 5.6.1 compiled for fastcgi. My
searches have been coming up blank.

3) is there an alternative that doesn't involve apache? I.e. some other
similar dll for IIS?

Thanks
Horace
Redelmyer Consulting
Toronto, Ontario


___
Perl-Win32-Web mailing list
Perl-Win32-Web@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs