add /dev/shm size limitation.