You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/08/17 21:07:46 UTC

DO NOT REPLY [Bug 28914] - add a thread pool property to set thread priority for tuning quality of service

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=28914>.
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=28914

add a thread pool property to set thread priority for tuning quality of service

quartz12h@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |



------- Additional Comments From quartz12h@yahoo.com  2004-08-17 19:07 -------
Priority not applied.

Run tomcat in a debugger, like eclipse, pause processors/monitors threads,
look at first stackframe (thread run()), the variable 'this' (the thread).
look at the priority field: still = 5 (normal prio) instead of prescribed value.

Expected to see the monitor thread and the processors threads at priority 8 in
the case below.

	<Connector
		port="1026"
		maxThreads="15"
		minSpareThreads="2"
		maxSpareThreads="5"
		enableLookups="false" 
		acceptCount="100"
		debug="1"
		connectionTimeout="20000"
		disableUploadTimeout="true"
		threadPriority="8"
		redirectPort="18443"
	/>


Thr: d P=05 ALIVE  "http-1026-Processor1" 
(org.apache.tomcat.util.threads.ThreadWithAttributes)

Thr: d P=05 ALIVE  "http-1026-Processor2" 
(org.apache.tomcat.util.threads.ThreadWithAttributes)

Thr:   P=05 ALIVE  "http-1026-Monitor"

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