https://issues.apache.org/bugzilla/show_bug.cgi?id=47678

--- Comment #2 from Eric Smith <eric.sm...@mckesson.com> 2010-09-08 14:49:30 
EDT ---
I've just pulled down v1.2.30 32-bit and I'm seeing the same problem I reported
last year under Windows 2008 Server 64bit, IIS 7.0.  
I have just observed that upon starting IIS, for a default web site having this
ISAPI filter on it, that 2 threads are being started and that appears to be the
reason the second shm init is failing.  In this INFO level logging there is
process #2784 starting first and successfully initialized, but also started was
process #3552 which throws an error during the jk_shm_open call.

[Wed Sep 08 13:52:20.319 2010] [2784:3892] [info] jk_isapi_plugin.c (2403):
Starting Jakarta/ISAPI/isapi_redirector/1.2.30
[Wed Sep 08 13:52:20.334 2010] [2784:3892] [info] jk_isapi_plugin.c (2573):
Jakarta/ISAPI/isapi_redirector/1.2.30 initialized
[Wed Sep 08 13:52:21.647 2010] [3552:3176] [info] jk_isapi_plugin.c (2403):
Starting Jakarta/ISAPI/isapi_redirector/1.2.30
[Wed Sep 08 13:52:21.647 2010] [3552:3176] [error] jk_isapi_plugin.c (2539):
Initializing shm:(null) errno=-1. Load balancing workers will not function
properly.
[Wed Sep 08 13:52:21.663 2010] [3552:3176] [info] jk_isapi_plugin.c (2573):
Jakarta/ISAPI/isapi_redirector/1.2.30 initialized
[Wed Sep 08 13:58:08.881 2010] [2784:2252] [info] jk_isapi_plugin.c (2245):
Jakarta/ISAPI/isapi_redirector/1.2.30 stopping
[Wed Sep 08 13:58:08.881 2010] [3552:816] [info] jk_isapi_plugin.c (2245):
Jakarta/ISAPI/isapi_redirector/1.2.30 stopping

I see both processes in the task manager as running w3wp.exe*32 described as
IIS Worker Process.

When DEBUG logging enabled, the first process gets the shm:
[Wed Sep 08 14:01:26.559 2010] [3664:2648] [debug] jk_shm.c (132): shared
memory will contain 2 ajp workers of size 320 and 0 lb workers of size 320 with
0 members of size 384+320
[Wed Sep 08 14:01:26.559 2010] [3664:2648] [debug] jk_shm.c (254): Initialized
shared memory JKISAPISHMEM_LOCALHOST_1 size=768 free=640 addr=0x520000

The 2nd process reports an error getting the shm:
[Wed Sep 08 14:04:53.677 2010] [2764:3516] [debug] jk_shm.c (132): shared
memory will contain 2 ajp workers of size 320 and 0 lb workers of size 320 with
0 members of size 384+320
[Wed Sep 08 14:04:53.677 2010] [2764:3516] [error] jk_isapi_plugin.c (2539):
Initializing shm:(null) errno=-1. Load balancing workers will not function
properly.

As more requests come in, more of these threads are launched and they fail too.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to