tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lindsay Patten <BLindsayPat...@netscape.net>
Subject Ajp13Processor starting background threads under low load
Date Fri, 18 Oct 2002 14:05:41 GMT
Hi,
I am having a problem where tomcat keeps intermitantly starting new 
ajp13 processor threads, eventually it reaches the max and starts 
refusing connections. My hosting provider (linux machine) provides a 
private version of tomcat for each user with a single apache web server, 
there are typically a large number of processes on the machine (>4000). 
My particular tomcat server (v4.0.3) is not being loaded at all but the 
ajp13processor threads don't seem to not get reused under some 
circumstances that I don't understand. I have added logging statements 
in my jsp pages and the pages appear to run to completion. Each jsp page 
accesses some info from a mysql db and displays it (*Summary) or takes 
some data from a form and sticks it in the db (Page). The system will 
often run for several hours and hundreds of requests without starting 
any threads, but then sometimes, as below, it starts new threads for 
almost every request for a while. Is there a way to determine if the 
threads are getting hung up or returned to the pool? If a thread were 
swapped out and taking a long time to get swapped back in would tomcat 
start a new thread? The ps command indicates that the processes are 
there and sleeping. Any help or debugging pointers would be greatly 
appreciated.  Thanks - Lindsay

    2002-10-18 03:50:45 Ajp13Processor[8085][14] Starting background thread
    2002-10-18 03:50:53 Ajp13Processor[8085][15] Starting background thread
    2002-10-18 03:50:59 NationalSummary start
    2002-10-18 03:51:00 NationalSummary end
    2002-10-18 03:51:10 DistrictSummary start
    2002-10-18 03:51:10 DistrictSummary end
    2002-10-18 03:51:14 Ajp13Processor[8085][16] Starting background thread
    2002-10-18 03:51:14 SubdistrictSummary start 42
    2002-10-18 03:51:14 SubdistrictSummary end 42
    2002-10-18 03:51:23 Ajp13Processor[8085][17] Starting background thread
    2002-10-18 03:51:23 PageFrame start
    2002-10-18 03:51:23 PageFrame end
    2002-10-18 03:51:24 Ajp13Processor[8085][18] Starting background thread
    2002-10-18 03:51:24 Page start 206
    2002-10-18 03:51:24 Page end 206
    2002-10-18 03:53:32 Ajp13Processor[8085][19] Starting background thread
    2002-10-18 03:53:32 Page start 206
    2002-10-18 03:53:33 Page end 206
    2002-10-18 03:53:56 Ajp13Processor[8085][20] Starting background thread
    2002-10-18 03:53:56 NationalSummary start
    2002-10-18 03:53:56 NationalSummary end
    2002-10-18 03:54:42 Page start 206
    2002-10-18 03:54:42 Page end 206
    2002-10-18 03:55:06 DistrictSummary start
    2002-10-18 03:55:06 DistrictSummary end
    2002-10-18 03:55:24 Ajp13Processor[8085][21] Starting background thread
    2002-10-18 03:55:24 NationalSummary start
    2002-10-18 03:55:24 NationalSummary end
    2002-10-18 03:55:34 DistrictSummary start
    2002-10-18 03:55:34 DistrictSummary end
    2002-10-18 03:55:41 Page start 206
    2002-10-18 03:55:41 Page end 206
    2002-10-18 03:56:52 Ajp13Processor[8085][22] Starting background thread
    2002-10-18 03:56:52 Page start 206
    2002-10-18 03:56:52 Page end 206
    2002-10-18 03:58:16 Page start 206
    2002-10-18 03:58:16 Page end 206
    2002-10-18 03:59:31 Page start 206
    2002-10-18 03:59:31 Page end 206
    2002-10-18 04:00:24 Page start 206
    2002-10-18 04:00:24 Page end 206
    2002-10-18 04:01:34 Page start 206
    2002-10-18 04:01:34 Page end 206




--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message