Use shm for cache and logs