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 37469] - mod_jk doesn´t scale well with hundreds of sites - interferes with CGI handling
Date Fri, 11 Nov 2005 18:20:58 GMT
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=37469>.
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=37469





------- Additional Comments From rainer.jung@kippdata.de  2005-11-11 19:20 -------
Your log statements look inconsistent to me:

[pid 30864] write(1, "Content-Type: text/html\n\nTest"..., 72) = 72 <0.000020>

So PID 30864 correctly writes your CGI output after a very short time.
The next entry

[pid 30785] <... poll resumed> [{fd=26, events=POLLIN, revents=POLLIN}, {fd=28, 
events=POLLIN}], 2, 30000) = 1 <2.120682>

comes from a totally different process 30785 and for me it does NOT mean, that
the request took 2 seconds.

[Fri Nov 11 12:55:50 2005] [25756:39072] [debug] jk_cleanup_shmem::mod_jk.c 
(1761): Shmem cleanup
[Fri Nov 11 12:55:53 2005] [25756:39072] [debug] jk_cleanup_shmem::mod_jk.c 
(1761): Shmem cleanup

These two messages come from PID 25756 which is again another process.
Furthermore the PID is numerically very different from the PIDs above, so it
seems that this process has not been started/forked around the same time as the
other two ones.

You can add %P to apaches log format to log the PID which processed the request
and %T to get the request duration in seconds.

Nevertheless I find it strange, that the same PID and thread id logs a cleanup
two times.

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


Mime
View raw message