On Jan 20, 2011, at 1:28 PM, Klaus Berkling wrote: > > On Jan 19, 2011, at 1:46 PM, Tim Worman wrote: > >> Thanks Chuck. It's really disconcerting since I have had times where I >> checked on the server and it has 12 hung httpd threads consuming 100% >> processor. >> >> I am running the built-in version on Snow Leopard. It reports that it is >> 2.2.14. If it is WO specific, the same app did not exhibit this behavior on >> another server. >> >> I'm considering whether I could log every request the app generates and see >> if I can match up the request (or even the method that was run) with the >> time that the hung process was spawned? Or maybe httpd has some advanced >> logging that could tell me something. >> >> Love to hear if anyone else has seen anything similar and how it got >> addressed. > > Take a look at the min. spare servers, max spare servers, and num. servers to > start. I keep these numbers low (10/10/10) to avoid old httpd processes. > Theory is that a new connection gets a new, or not as old of an httpd server. > My servers are not normal so YMMV. There is a lot of voodoo in deployments > settings...
Thanks Klaus. I think that is good advice and I will likely put some limits on those variables. I did run a backtrace on httpd and it does mention WebObjects. I am not familiar with reading gdb output though. Maybe someone here has some clues as to what might be happening. (gdb) where #0 0x00007fff85d10b96 in sendmsg () #1 0x000000010039136a in sendBuffers () #2 0x0000000100390b8e in req_sendRequest () #3 0x000000010038d87f in tr_handleRequest () #4 0x00000001003997dc in WebObjects_handler () #5 0x00000001000012af in ap_run_handler () #6 0x0000000100001b8e in ap_invoke_handler () #7 0x000000010002e784 in ap_process_request () #8 0x000000010002aff7 in ap_process_http_connection () #9 0x000000010001280b in ap_run_process_connection () #10 0x0000000100012ca5 in ap_process_connection () #11 0x00000001000353f2 in child_main () #12 0x00000001000355a8 in make_child () #13 0x000000010003582e in perform_idle_server_maintenance () #14 0x0000000100035d58 in ap_mpm_run () #15 0x00000001000098f5 in main () (gdb) > > I can second Chuck's experience with Apache 1.3. > > kib > > "The era of procrastination, of half-measures, of soothing and baffling > expedients, of delays, is coming to its close. In its place we are entering a > period of consequences." > Winston Churchill > > Klaus Berkling > Web Application Dev. & Systems Administrator > DynEd International, Inc. > www.dyned.com | blog > > > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com > > This email sent to [email protected] _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
