change share mem
change stat metric to mmap shared memory, so this phase the stat cannot work correctly
correct stat logic