tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49903] New: Make tomcat workers file reloadable
Date Thu, 09 Sep 2010 06:20:25 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49903

           Summary: Make tomcat workers file reloadable
           Product: Tomcat Connectors
           Version: unspecified
          Platform: All
               URL: http://www.mail-archive.com/users@tomcat.apache.org/ms
                    g81603.html
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Common
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: contact@ruslan.org


Created an attachment (id=26007)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26007)
Patch for tomcat-connectors 1.2.30

File with mounts (one which specified using JkMountFile in apache connector)
already reloadable. The same functionality needed for workers file.

Besides obvious use to add or remove workers as needed, there is other reasons
to implement it. For example timeouts or activation can be either set at
startup time or modified through jkstatus interface. However, when modified
through the jkstatus, the same settings must be duplicated into workers file -
this is tedious and error-prone.

Also property like JkWorkersFileReload needs to be added.

I`ve created patch file partially implements such functionality,
with the following restrictions
 - Only Apache2 connector (tried on 2.2.16)
 - Requires JkShmSize directive to be used (to allocate enough space in shared
memory for future workers)
 - Only works during maintain phase, so JkWatchdogInterval must be set

-- 
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message