Re: [slurm-users] Slurmctld and log file

2020-09-09 Thread Ole Holm Nielsen
On 09-09-2020 13:26, Ole Holm Nielsen wrote: On 09-09-2020 11:58, Andrew Elwell wrote: As an aside, I've seen on one of the talk slides that using systemctl reload is a Bad Thing to do with logrotation for slurm - Simply send SIGUSR2 (or HUP for pre-17.11 versions apparently) https://bugs.schedm

Re: [slurm-users] Slurmctld and log file

2020-09-09 Thread Ole Holm Nielsen
On 09-09-2020 11:58, Andrew Elwell wrote: As an aside, I've seen on one of the talk slides that using systemctl reload is a Bad Thing to do with logrotation for slurm - Simply send SIGUSR2 (or HUP for pre-17.11 versions apparently) https://bugs.schedmd.com/show_bug.cgi?id=4393 See also the last

Re: [slurm-users] Slurmctld and log file

2020-09-09 Thread Andrew Elwell
As an aside, I've seen on one of the talk slides that using systemctl reload is a Bad Thing to do with logrotation for slurm - Simply send SIGUSR2 (or HUP for pre-17.11 versions apparently) https://bugs.schedmd.com/show_bug.cgi?id=4393 Andrew

Re: [slurm-users] Slurmctld and log file

2020-09-09 Thread Gestió Servidors
Hello, This seems to imply you had some changes in your slurm.conf I'm presuming you are running Centos 7 or such. Do you see anything when you do 'journalctl -u slurmctld' I'm wondering if you were only logging to the journal and then added the bits to also/instead log to a separate file. I d

Re: [slurm-users] Slurmctld and log file

2020-09-08 Thread Brian Andrus
This seems to imply you had some changes in your slurm.conf I'm presuming you are running Centos 7 or such. Do you see anything when you do 'journalctl -u slurmctld' I'm wondering if you were only logging to the journal and then added the bits to also/instead log to a separate file. I do bot

Re: [slurm-users] Slurmctld and log file

2020-09-08 Thread Gestió Servidors
Hello, My slurm logrotate file looks like this: > /var/log/slurm/*.log { > weekly > compress > missingok > nocopytruncate > nocreate > nodelaycompress > nomail > notifempty > noolddir > rotate 5 > sharedscripts > size=5M > create

Re: [slurm-users] Slurmctld and log file

2020-09-08 Thread Steffen Grunewald
On Tue, 2020-09-08 at 09:39:09 +, Gestió Servidors wrote: > Hello, > > I don't know why, but my SLURM server (that is running fine) has its > slurmdctl.log file with size 0 bytes... so... where is writting logs? It > seems that log file has 0 bytes from logrotate process during today's early

Re: [slurm-users] Slurmctld and log file

2020-09-08 Thread Timo Rothenpieler
My slurm logrotate file looks like this: /var/log/slurm/*.log { weekly compress missingok nocopytruncate nocreate nodelaycompress nomail notifempty noolddir rotate 5 sharedscripts size=5M create 640 slurm slurm postrotate systemctl

[slurm-users] Slurmctld and log file

2020-09-08 Thread Gestió Servidors
Hello, I don't know why, but my SLURM server (that is running fine) has its slurmdctl.log file with size 0 bytes... so... where is writting logs? It seems that log file has 0 bytes from logrotate process during today's early morning. My logrotate SLURM conf is this: [root@server logrotate.d]# c

[slurm-users] Slurmctld and log file

2020-09-08 Thread Gestió Servidors
Hello, I don't know why, but my SLURM server (that is running fine) has its slurmdctl.log file with size 0 bytes... so... where is writting logs? It seems that log file has 0 bytes from logrotate process during today's early morning. My logrotate SLURM conf is this: [root@server logrotate.d]# c