Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

slurmd override ulimit settings are not applied #10

Open
jamesbeedy opened this issue Aug 7, 2024 · 0 comments
Open

slurmd override ulimit settings are not applied #10

jamesbeedy opened this issue Aug 7, 2024 · 0 comments
Assignees
Labels
needs triage Needs further investigation to determine cause and/or work required to implement fix/feature

Comments

@jamesbeedy
Copy link
Contributor

jamesbeedy commented Aug 7, 2024

Bug Description

We create an override file for slurmd that sets the openfile setting to 1048576. For some reason, the openfile settings are not applied to processes spawned by slurmd.

To Reproduce

To reproduce, deploy the bundle below, and inspect ulimit -n once deployed.

$ srun -p slurmd --pty bash
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

ubuntu@juju-87c6ff-2:~$ ulimit -n
1024

Environment

slurm-charms deployed from edge using lxd provider and kvm virtual-machines

series: jammy
applications:
  mysql:
    charm: mysql
    channel: 8.0/edge
    num_units: 1
    to:
    - "0"
    storage:
      database: rootfs,1,1024M

  slurmctld:
    charm: slurmctld
    channel: edge
    num_units: 1
    to:
    - "1"

  slurmd:
    charm: slurmd
    channel: edge
    num_units: 1
    to:
    - "2"

  slurmdbd:
    charm: slurmdbd
    channel: edge
    num_units: 1
    to:
    - "3"

  slurmdbd-mysql-router:
    charm: mysql-router
    channel: dpe/edge
    num_units: 0

machines:
  "0":
    constraints: arch=amd64
  "1":
    constraints: arch=amd64 virt-type=virtual-machine
  "2":
    constraints: arch=amd64 virt-type=virtual-machine
  "3":
    constraints: arch=amd64 virt-type=virtual-machine
relations:
- - slurmdbd-mysql-router:backend-database
  - mysql:database
- - slurmdbd:database
  - slurmdbd-mysql-router:database
- - slurmctld:slurmd
  - slurmd:slurmctld
- - slurmctld:slurmdbd
  - slurmdbd:slurmctld

Relevant log output

n/a

Additional context

No response

@NucciTheBoss NucciTheBoss self-assigned this Aug 20, 2024
@NucciTheBoss NucciTheBoss added the needs triage Needs further investigation to determine cause and/or work required to implement fix/feature label Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage Needs further investigation to determine cause and/or work required to implement fix/feature
Projects
None yet
Development

No branches or pull requests

2 participants