[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#941121: upgrade to debian 9.11 removes config entry



Hi Alois,

On Wed, Sep 25, 2019 at 09:41:40AM +0200, Alois Schlögl wrote:
> [remark: this might be a problem of systemd, I'm not sure whether this
> is an issue of slurm or of systemd.]
>
> When upgrading from debian 9.10 to 9.11 [2], a configuration entry in
>  /etc/systemd/system/multi-user.target.wants/slurmd.service
> got lost.
>
> In order to address an issue ("Cannot allocate memory" when running mpi
> jobs under slurm, it is described in [1]) we had to add in
>  /etc/systemd/system/multi-user.target.wants/slurmd.service

This file is a symbolic link to /lib/systemd/system/slurmd.service that
is managed by the package.

> this entry
>
>   [Service]
>   ...
>   LimitMEMLOCK=1000000000000

According to systemd documentation you need to add this entry to:

/etc/systemd/system/slurmd.service

or inside a file under:

/etc/systemd/system/slurmd.service.d

man systemd.unit(5) for details.

Best regards,
-- 
Gennaro Oliva


Reply to: