server: handle shared mem pool allocation failures