change NGX_MAX_SHM_CYCLES to 40000