I think you need set reasonable "DefMemPerCPU" - otherwise jobs will
take all memory by default, and there is no remaining memory for the
second job.
We calculated DefMemPerCPU in such way, that the default allocated
memory of full node is slightly under half of total node memory. So
there i
CPUs are released, but memory is not released on suspend. Try looking at this
output and compare allocated Memory before and after suspending a job on a node:
sinfo -N -n yourNode
--Format=weight:8,nodelist:15,cpusstate:12,memory:8,allocmem:8
From: Verma, Nischey (HPC ENG,RAL,LSCI) via slurm-u