ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perlex
perlex
W2K3 / IIS 6 with PerlEx 2.3.1 and ISAPI Rewrite 2.8.0059 hangs and crashes
by Christoph Reithmair other posts by this author
Feb 9 2006 6:49AM messages near this date
RE: Updating to new PerlEx - Problems with Oracle | Encrypted PerlEx scripts in ActivePerl distribution
SERVICES Hello,

I'm running an Application on Windows Server 2003 (not installed SP1) and
IIS 6 in worker process isolation mode. The application is coded with
Perl and runs under PerlEx 2.3.1. For rewriting URL's I'm using ISAPI
Rewrite 2.8.0056.

The server handles about 50.000 pageviews a day and sometime (not
reproducible) I get errors.
I get "Invalid access to memory location", "A dynamic link library
(DLL) initialization routine failed."
or "friendly" error "HTTP 500 - Internal server error" !

But the most errors didnt't sent to clients. Then the worker process
didn't use any
CPU anymore. It just hangs and didn't serve any pages because it's not
responding.

But I get no significant errors in the eventlog or otherwise.
In the PerlEx logs there is only a gap if server is not responding and no
error messages !

Here are some errors and warnings from system-eventlog:
EventID 1013:
A process serving application pool 'InternetCMSAppPool' exceeded time
limits
during shut down. The process id was '3292'.

EventID 1009:
A process serving application pool 'InternetCMSAppPool' terminated
unexpectedly.
The process id was '704'. The process exit code was '0xc0000005'.

Then I have to recycle application pool and sometimes only iisreset
works !
I've installed IISHangAgent, IISState and the symbols to find the
error.

IISHangAgent write logfiles of last served files and pages but i found
no correlation
between errors.

At last hang i run iisstate.
here is the logfile:

Opened log file 'C:\iisstate\output\IISState-2892.log'

***********************
Starting new log output
IISState version 3.3.1

Thu Feb 09 09:56:47 2006

OS = Windows 2003 Server
Executable: w3wp.exe
PID =  2892

Note: Thread times are formatted as HH:MM:SS.ms

***********************

Thread ID: 0
System Thread ID: 9ec
Kernel Time: 0:0:0.15
User Time: 0:0:0.46
*** ERROR: Symbol file could not be found.  Defaulted to export symbols
for C:\WINDOWS\system32\ntdll.dll -
*** ERROR: Symbol file could not be found.  Defaulted to export symbols
for C:\WINDOWS\system32\kernel32.dll -
Thread Status: Thread is in a WAIT state.
Thread Type: Other
# ChildEBP RetAddr
00 0006fe58 77f43741 SharedUserData!SystemCallStub+0x4
WARNING: Stack unwind information not available. Following frames may
be wrong.
01 0006fecc 77e4168f ntdll!NtWaitForSingleObject+0xc
02 010012a0 72617453 kernel32!WaitForSingleObject+0xf
03 33576c55 00000000 0x72617453

Thread ID: 1
System Thread ID: c00
Kernel Time: 0:0:0.0
User Time: 0:0:0.0
Thread Type: Other
# ChildEBP RetAddr
00 009fff9c 77f4262b SharedUserData!SystemCallStub+0x4
WARNING: Stack unwind information not available. Following frames may
be wrong.
01 009fffb8 77e4a990 ntdll!NtDelayExecution+0xc
02 009fffec 00000000 kernel32!FlsSetValue+0x779

Thread ID: 2
System Thread ID: 10d8
Kernel Time: 0:0:0.0
User Time: 0:0:0.0
Thread Type: Other
# ChildEBP RetAddr
00 00a3ff70 77f430c7 SharedUserData!SystemCallStub+0x4
WARNING: Stack unwind information not available. Following frames may
be wrong.
01 00a3ffb8 77e4a990 ntdll!ZwRemoveIoCompletion+0xc
02 00a3ffec 00000000 kernel32!FlsSetValue+0x779

Thread ID: 3
System Thread ID: 1208
Kernel Time: 0:0:0.0
User Time: 0:0:0.0
*** ERROR: Symbol file could not be found.  Defaulted to export symbols
for C:\WINDOWS\system32\RPCRT4.dll -
Thread Type: Possible ASP page.  Possible DCOM activity
Executing Page: *** ERROR: Symbol file could not be found.  Defaulted
to export symbols for \\?\C:\WINDOWS\system32\inetsrv\asp.dll -
ASP.dll symbols not found. Unable to locate ASP page.
Continuing with other analysis.

*** ERROR: Symbol file could not be found.  Defaulted to export symbols
for C:\WINDOWS\system32\ole32.dll -
OLE32.dll Symbols not found. Unable to proceed with DCOM check.
Continuing other analysis.

# ChildEBP RetAddr
00 00aafe20 77f4313f SharedUserData!SystemCallStub+0x4
WARNING: Stack unwind information not available. Following frames may
be wrong.
01 00aaff8c 77c60829 ntdll!NtReplyWaitReceivePortEx+0xc
02 00aaffb0 77c60857 RPCRT4!NdrRangeUnmarshall+0x5a9
03 00aaffec 00000000 RPCRT4!NdrRangeUnmarshall+0x5d7

Thread ID: 4
System Thread ID: e54
Kernel Time: 0:0:0.671
User Time: 0:0:4.937
*** WARNING: Unable to verify checksum for
Thread Type: Other
# ChildEBP RetAddr
00 00cade30 00000000 SharedUserData!SystemCallStub+0x4
GetContextState failed, 0x8007001F
GetContextState failed, 0x8007001F
GetContextState failed, 0x8007001F

Thread ID: 5
System Thread ID: 0
Kernel Time: 0:0:0.781
User Time: 0:0:5.546
GetContextState failed, 0x8007001F

---------
what can i do for better debugging ?
thanks for any help !!!

best regards

Christoph Reithmair

_______________________________________________
PerlEx mailing list
PerlEx@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved