https://issues.apache.org/bugzilla/show_bug.cgi?id=48981
--- Comment #8 from [email protected] 2010-03-28 21:54:26 UTC --- I think I got the bug. I am using mass vhost (mod_vhost_cd, but it prolly doesnt really matter), no <Virtualhost> stuff. I added some more debug lines to is_spawn_allowed: ap_log_error(APLOG_MARK, APLOG_WARNING, 0, main_server, "COMMAND: inode %d, deviceid %d share_grp_id %d virtualhost %s uid %d gid %d", (int) command->inode, (int) command->deviceid, (int) command->share_grp_id, command->virtualhost, (int) command->uid, (int) command->gid ); /* Can I find the node base on inode, device id and share group id? */ for (current_node = g_stat_list_header; current_node != NULL; current_node = current_node->next) { ap_log_error(APLOG_MARK, APLOG_WARNING, 0, main_server, "NODE: inode %d, deviceid %d share_grp_id %d virtualhost %s uid %d gid %d", (int) current_node->inode, (int) current_node->deviceid, (int) current_node->share_grp_id, current_node->virtualhost, (int) current_node->uid, (int) current_node->gid ); if (current_node->inode == command->inode && current_node->deviceid == command->deviceid && current_node->share_grp_id == command->share_grp_id && current_node->virtualhost == command->virtualhost && current_node->uid == command->uid && current_node->gid == command->gid) { ap_log_error(APLOG_MARK, APLOG_WARNING, 0, main_server, "NODE FOUND!" ); break; } } if (!current_node) { ap_log_error(APLOG_MARK, APLOG_WARNING, 0, main_server, "SPAWNING ALLOWED: !current_node"); return 1; } else { ... at first php request: [Sun Mar 28 23:44:26 2010] [warn] COMMAND: inode 26113935, deviceid 2309 share_grp_id 1 virtualhost uid 65534 gid 65534 [Sun Mar 28 23:44:26 2010] [warn] SPAWNING ALLOWED: !current_node at second request: [Sun Mar 28 23:41:59 2010] [warn] COMMAND: inode 26113935, deviceid 2309 share_grp_id 1 virtualhost uid 65534 gid 65534 [Sun Mar 28 23:41:59 2010] [warn] NODE: inode 26113935, deviceid 2309 share_grp_id 1 virtualhost uid 65534 gid 65534 [Sun Mar 28 23:41:59 2010] [warn] SPAWNING ALLOWED: !current_node As you can see there was no NODE FOUND tho all integer based entries are the same. This means virtualhost is the same string but not on the same memory address. After commenting out the line && current_node->virtualhost == command->virtualhost at second request we got: [Sun Mar 28 23:52:50 2010] [warn] COMMAND: inode 26113935, deviceid 2309 share_grp_id 1 virtualhost uid 65534 gid 65534 [Sun Mar 28 23:52:50 2010] [warn] NODE: inode 26113935, deviceid 2309 share_grp_id 1 virtualhost uid 65534 gid 65534 [Sun Mar 28 23:52:50 2010] [warn] NODE FOUND! -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- 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]
