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

             Bug #: 52651
           Summary: JKSHMFile size limitation
           Product: Tomcat Connectors
           Version: 1.2.32
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_jk
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: jea...@gmail.com
    Classification: Unclassified


Hello,

config:
we are running apache 2.2.15 with mod_jk 1.2.32 (as module) on rhel 5, 64 bit
servers.

the jk.conf include
JkShmSize 256
JkShmFile tmp/jk.shm

issue description:
Before last week everything was working fine.
We then add some more workers in our config (till we had 361 workers
configured) and then issue begin:
 - in the mod_jk log file i saw that sometimes, the apache consider the workers
as down. the connection was working 90% of the time, but 10% of the connections
were replied with a 503 error.
 - I saw at tcp level that apache sent SYN to the jboss, jboss replies with the
SYN-ACK, then apache directly send a RST package.
 - when stopping the apache and starting again, it fails with the error "You
can remove the JkShmSize directive if you want to use the optimal size" in the
mod_jk log

I made a lot of tests, removing the jkshmsize directive, setting it to 512,
1024 or even 4096 but without success

I had to reduce the numbers of workers configured in order to solve the issue. 

Sounds like the jkshmfile is limited in size leading to some kind of memory
issue when we configure more than +- 325 workers. 

could you check that ? 

brgds

JF

-- 
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