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

--- Comment #25 from Joe Kislo <j...@k12s.phast.umass.edu> 2010-10-25 13:00:50 
EDT ---
(In reply to comment #21)
> Well, we are already misusing the phrase optlock vs real locking, so perhaps 
> an
> additional pedantic mode that always locks?
> 
> 32 bit math is not smp-safe on most architectures.  There was an apr_atomic
> interface that illustrated that, if you would like to refer to the apr project
> sources.

We are experiencing this problem with ModJK 1.2.28 and Tomcat 6.0.26 on Ubuntu
Lucid 64bit.  I can confirm this is still very much an issue.  

When we graceful apache, the counter seems to reset back to 0... however an
apache graceful sets the counter back to 0 even if there *ARE* active
connections (this is probably expected).  When those active connections finish
up, the busy counter does not go negative, it stays at zero (which is correct).

Are there plans on fixing this issue?  We have built into our tomcat init.d
wrapper the ability to gracefully bounce a JVM without interrupting or loosing
any pending apache requests, or requests that come in while the JVM is
restarting.  Unfortunately this bug makes this impossible because we think
there are active pending requests, when there are not.

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