DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43462>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43462

           Summary: mod_jk JkShmSize directive automatic configuration
           Product: Tomcat 5
           Version: Unknown
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Connector:AJP
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Ability of the the mod_jk JkShmSize directive to automatically optimize it's
size according to the amount of lb workers.

Comments from Rainer Jung:

Yes, that would be nice. Unfortunately this requires a little code surgery and
not only a small patch, because at the moment the shm is statically acquired
(fixed size) and we need it before we parse the worker configuration, so beforee
we know, how many workers we have. To fix that, we would either need to count
the workers in a separate pass in advance, or enhance the shm handling to allow
growth of it.

At the moment we initialize the shm for 64 workers, which on some platforms lead
to 28800 Bytes size. Actually I'm not sure, if we will really be able to use 64
workers, or if the number is slightly smaller (63?), because we might need to
subtract some offset size used as a header.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to