Re: [slurm-users] log rotation for slurmctld.

2020-03-16 Thread Bjørn-Helge Mevik
Marcus Wagner writes: > by concidence, I have stumbled today over the troubleshooting slides > from slug 2019. > > SchedMD there explicitly tells us to use SIGUSR2 instead of restart / > reload / reconfig / SIGHUP. Right, I forgot about that. :) SIGUSR2 will not even do a reconfigure, just

Re: [slurm-users] log rotation for slurmctld.

2020-03-13 Thread Bjørn-Helge Mevik
navin srivastava writes: > can i move the log file to some other location and then restart.reload of > slurm service will start a new log file. Yes, restarting it will start a new log file if the old one is moved away. However, also reconfig will do, and you can trigger that by sending the

[slurm-users] log rotation for slurmctld.

2020-03-13 Thread navin srivastava
Hi, i wanted to understand how log rotation of slurmctld works. in my environment i don't have any logrotation for the slurmctld.log and now the log file size reached to 125GB. can i move the log file to some other location and then restart.reload of slurm service will start a new log file.i