https://bz.apache.org/bugzilla/show_bug.cgi?id=57771
Eric Covener <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO --- Comment #5 from Eric Covener <[email protected]> --- (In reply to Michael Thorpe from comment #4) > (In reply to Eric Covener from comment #3) > > Anyone have an idea about what causes the ID to change? I don't think the > > pool cleanups should run on a different thread then where the cgid handler > > ran. > > Connection IDs can change any time the thread is put to sleep, which can > happen basically any time Apache is waiting for something (like the output > of an #exec). While my "cgid handler" comment is invalid because this is the INCLUDES filter calling into mod_cgid, I still don't see why there'd be any thread change here. Can you capture "trace8" of this happening for a single request on a provided simple SSI? For me, a #exec from an SSI that sleeps for a second runs and cleans up on the same thread and never has a different connection ID, as expected: [Tue Apr 26 19:36:23.540275 2016] [cgid:trace8] [pid 2561:tid 139709191948032] mod_cgid.c(1385): [client 127.0.0.1:42188] COV: cleanup cid 2 cid 2 pid 2686 [Tue Apr 26 19:36:24.548188 2016] [cgid:trace8] [pid 2561:tid 139709191948032] mod_cgid.c(1385): [client 127.0.0.1:42188] COV: cleanup cid 2 cid 2 pid 2728 [Tue Apr 26 19:36:25.556125 2016] [cgid:trace8] [pid 2561:tid 139709191948032] mod_cgid.c(1385): [client 127.0.0.1:42188] COV: cleanup cid 2 cid 2 pid 2730 [Tue Apr 26 19:36:26.564173 2016] [cgid:trace8] [pid 2561:tid 139709191948032] mod_cgid.c(1385): [client 127.0.0.1:42188] COV: cleanup cid 2 cid 2 pid 2732 [Tue Apr 26 19:36:27.572111 2016] [cgid:trace8] [pid 2561:tid 139709191948032] .... Index: modules/generators/mod_cgid.c =================================================================== --- modules/generators/mod_cgid.c (revision 51728) +++ modules/generators/mod_cgid.c (working copy) @@ -1382,6 +1382,7 @@ return stat; } + ap_log_rerror(APLOG_MARK, APLOG_TRACE8, 0, info->r, "COV: cleanup cid %lu cid %lu pid %d", info->r->connection->id, info->conn_id, pid); if (pid == 0) { ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, info->r, APLOGNO(01261) "daemon couldn't find CGI process for connection %lu", -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
