Hi, I made a module that creates a apr_shm and a apr_global_mutex I did add a apr_pool_cleanup_register (pconf, s, destroy_shm_and_mutex, destroy_shm_and_mutex); this is called in ads_post_config ap_hook_post_config(ads_post_config, NULL, NULL, APR_HOOK_MIDDLE);
It looks like some semaphore and shm persist after httpd get killed ipcs output: ------ Shared Memory Segments -------- key shmid owner perms bytes nattch status 0x010517ee 98304 apache 600 22400 0 0x010517ef 163841 apache 600 22400 0 0x010517e9 229378 apache 600 22400 3 ------ Semaphore Arrays -------- key semid owner perms nsems 0x00000000 1114112 apache 600 1 0x00000000 1146881 apache 600 1 0x00000000 1179650 apache 600 1 0x00000000 1212419 apache 600 1 0x00000000 1245188 apache 600 1 0x00000000 1736709 apache 600 1 0x00000000 1769478 apache 600 1 0x00000000 1802247 apache 600 1 0x00000000 1835016 apache 600 1 0x00000000 1867785 apache 600 1 0x00000000 2392074 apache 600 1 0x00000000 2424843 apache 600 1 0x00000000 2457612 apache 600 1 0x00000000 2490381 apache 600 1 0x00000000 2523150 apache 600 1 0x00000000 2555919 apache 600 1 in this output httpd has been restarted How come if I kill httpd, not all sem are removed? "There are 10 types of people in the world: Those that understand binary, and those that don't!"
