Initialized cmd
server->ev should be in shared memory