Skip to content
Snippets Groups Projects
Commit d8d5e52e authored by Danny Auble's avatar Danny Auble
Browse files

patch from Gennaro Oliva for updating the logs in the slurmdbd

parent 494086b5
No related branches found
No related tags found
No related merge requests found
...@@ -182,25 +182,25 @@ An arbitrary string describing an account. ...@@ -182,25 +182,25 @@ An arbitrary string describing an account.
.TP .TP
\fIFairshare\fP=<fairshare> \fIFairshare\fP=<fairshare>
Number used in conjunction with other accounts to determine job priority. Number used in conjunction with other accounts to determine job priority.
To clear a previously set value use the modify command with a new value of -1. To clear a previously set value use the modify command with a new value of \-1.
.TP .TP
\fIMaxCPUSecs\fP=<max cpu seconds> \fIMaxCPUSecs\fP=<max cpu seconds>
Maximum number of cpu seconds each job is able to use in this account. Maximum number of cpu seconds each job is able to use in this account.
This is overridden if set directly on a user. This is overridden if set directly on a user.
Default is the cluster's limit. Default is the cluster's limit.
To clear a previously set value use the modify command with a new value of -1. To clear a previously set value use the modify command with a new value of \-1.
.TP .TP
\fIMaxJobs\fP=<max jobs> \fIMaxJobs\fP=<max jobs>
Maximum number of jobs each user is allowed to run at one time in this account. Maximum number of jobs each user is allowed to run at one time in this account.
This is overridden if set directly on a user. This is overridden if set directly on a user.
Default is the cluster's limit. Default is the cluster's limit.
To clear a previously set value use the modify command with a new value of -1. To clear a previously set value use the modify command with a new value of \-1.
.TP .TP
\fIMaxNodes\fP=<max nodes> \fIMaxNodes\fP=<max nodes>
Maximum number of nodes each job is able to use in this account. Maximum number of nodes each job is able to use in this account.
This is overridden if set directly on a user. This is overridden if set directly on a user.
Default is the cluster's limit. Default is the cluster's limit.
To clear a previously set value use the modify command with a new value of -1. To clear a previously set value use the modify command with a new value of \-1.
.TP .TP
\fIMaxWall\fP=<max wall> \fIMaxWall\fP=<max wall>
Maximum wall clock time each job is able to use in this account. Maximum wall clock time each job is able to use in this account.
...@@ -209,7 +209,7 @@ Default is the cluster's limit. ...@@ -209,7 +209,7 @@ Default is the cluster's limit.
<max wall> format is <min> or <min>:<sec> or <hr>:<min>:<sec> or <max wall> format is <min> or <min>:<sec> or <hr>:<min>:<sec> or
<days>\-<hr>:<min>:<sec> or <days>\-<hr>. <days>\-<hr>:<min>:<sec> or <days>\-<hr>.
The value is recorded in minutes with rounding as needed. The value is recorded in minutes with rounding as needed.
To clear a previously set value use the modify command with a new value of -1. To clear a previously set value use the modify command with a new value of \-1.
.TP .TP
\fIName\fP=<name> \fIName\fP=<name>
The name of a bank account. The name of a bank account.
...@@ -230,7 +230,7 @@ This is overridden if set directly on a user. ...@@ -230,7 +230,7 @@ This is overridden if set directly on a user.
.TP .TP
\fIFairshare\fP=<fairshare> \fIFairshare\fP=<fairshare>
Number used in conjunction with other accounts to determine job priority. Number used in conjunction with other accounts to determine job priority.
To clear a previously set value use the modify command with a new value of -1. To clear a previously set value use the modify command with a new value of \-1.
.TP .TP
\fIName\fP=<name> \fIName\fP=<name>
The name of a cluster. The name of a cluster.
...@@ -241,18 +241,18 @@ configuration file for some Slurm-managed cluster. ...@@ -241,18 +241,18 @@ configuration file for some Slurm-managed cluster.
Maximum number of cpu seconds each job is able to use in this account. Maximum number of cpu seconds each job is able to use in this account.
This is overridden if set directly on an account or user. This is overridden if set directly on an account or user.
Default is no limit. Default is no limit.
To clear a previously set value use the modify command with a new value of -1. To clear a previously set value use the modify command with a new value of \-1.
\fIMaxJobs\fP=<max jobs> \fIMaxJobs\fP=<max jobs>
Maximum number of jobs each user is allowed to run at one time in this account. Maximum number of jobs each user is allowed to run at one time in this account.
This is overridden if set directly on an account or user. This is overridden if set directly on an account or user.
Default is no limit. Default is no limit.
To clear a previously set value use the modify command with a new value of -1. To clear a previously set value use the modify command with a new value of \-1.
.TP .TP
\fIMaxNodes\fP=<max nodes> \fIMaxNodes\fP=<max nodes>
Maximum number of nodes each job is able to use in this account. Maximum number of nodes each job is able to use in this account.
This is overridden if set directly on an account or user. This is overridden if set directly on an account or user.
Default is no limit. Default is no limit.
To clear a previously set value use the modify command with a new value of -1. To clear a previously set value use the modify command with a new value of \-1.
.TP .TP
\fIMaxWall\fP=<max wall> \fIMaxWall\fP=<max wall>
Maximum wall clock time each job is able to use in this account. Maximum wall clock time each job is able to use in this account.
...@@ -261,7 +261,7 @@ Default is no limit. ...@@ -261,7 +261,7 @@ Default is no limit.
<max wall> format is <min> or <min>:<sec> or <hr>:<min>:<sec> or <max wall> format is <min> or <min>:<sec> or <hr>:<min>:<sec> or
<days>\-<hr>:<min>:<sec> or <days>\-<hr>. <days>\-<hr>:<min>:<sec> or <days>\-<hr>.
The value is recorded in minutes with rounding as needed. The value is recorded in minutes with rounding as needed.
To clear a previously set value use the modify command with a new value of -1. To clear a previously set value use the modify command with a new value of \-1.
.TP .TP
\fIQosLevel\fP=<qos> \fIQosLevel\fP=<qos>
Quality of Service jobs are to run at for this account. Now consisting Quality of Service jobs are to run at for this account. Now consisting
...@@ -287,7 +287,7 @@ specified at submission time. ...@@ -287,7 +287,7 @@ specified at submission time.
\fIFairshare\fP=<fairshare> \fIFairshare\fP=<fairshare>
Number used in conjunction with other users in the same account to Number used in conjunction with other users in the same account to
determine job priority. determine job priority.
To clear a previously set value use the modify command with a new value of -1. To clear a previously set value use the modify command with a new value of \-1.
.TP .TP
\fIName\fP=<name> \fIName\fP=<name>
Name of user. Name of user.
...@@ -299,14 +299,14 @@ account specified. Now consisting of Normal, Standby, Expedite, and Exempt. ...@@ -299,14 +299,14 @@ account specified. Now consisting of Normal, Standby, Expedite, and Exempt.
\fIMaxCPUSecs\fP=<max cpu seconds> \fIMaxCPUSecs\fP=<max cpu seconds>
Maximum number of cpu seconds this user can use in each job using the Maximum number of cpu seconds this user can use in each job using the
account specified. account specified.
To clear a previously set value use the modify command with a new value of -1. To clear a previously set value use the modify command with a new value of \-1.
.TP .TP
\fIMaxJobs\fP=<max jobs> \fIMaxJobs\fP=<max jobs>
Maximum number of jobs this user can run at a given time using the Maximum number of jobs this user can run at a given time using the
account specified. account specified.
This is overridden if set directly on a user. This is overridden if set directly on a user.
Default is the account's limit. Default is the account's limit.
To clear a previously set value use the modify command with a new value of -1. To clear a previously set value use the modify command with a new value of \-1.
.TP .TP
\fIMaxNodes\fP=<max nodes> \fIMaxNodes\fP=<max nodes>
Maximum number of nodes this user can allocate in each job using the Maximum number of nodes this user can allocate in each job using the
...@@ -320,7 +320,7 @@ Default is the account's limit. ...@@ -320,7 +320,7 @@ Default is the account's limit.
<max wall> format is <min> or <min>:<sec> or <hr>:<min>:<sec> or <max wall> format is <min> or <min>:<sec> or <hr>:<min>:<sec> or
<days>\-<hr>:<min>:<sec> or <days>\-<hr>. <days>\-<hr>:<min>:<sec> or <days>\-<hr>.
The is recorded in minutes with rounding as needed. The is recorded in minutes with rounding as needed.
To clear a previously set value use the modify command with a new value of -1. To clear a previously set value use the modify command with a new value of \-1.
.SH "EXAMPLES" .SH "EXAMPLES"
.eo .eo
......
...@@ -84,7 +84,6 @@ static void _kill_old_slurmdbd(void); ...@@ -84,7 +84,6 @@ static void _kill_old_slurmdbd(void);
static void _parse_commandline(int argc, char *argv[]); static void _parse_commandline(int argc, char *argv[]);
static void *_signal_handler(void *no_data); static void *_signal_handler(void *no_data);
static void _update_logging(void); static void _update_logging(void);
static void _update_logging(void);
static void _usage(char *prog_name); static void _usage(char *prog_name);
/* main - slurmctld main function, start various threads and process RPCs */ /* main - slurmctld main function, start various threads and process RPCs */
...@@ -355,6 +354,7 @@ static void *_signal_handler(void *no_data) ...@@ -355,6 +354,7 @@ static void *_signal_handler(void *no_data)
case SIGHUP: /* kill -1 */ case SIGHUP: /* kill -1 */
info("Reconfigure signal (SIGHUP) received"); info("Reconfigure signal (SIGHUP) received");
read_slurmdbd_conf(); read_slurmdbd_conf();
_update_logging();
break; break;
case SIGINT: /* kill -2 or <CTRL-C> */ case SIGINT: /* kill -2 or <CTRL-C> */
case SIGTERM: /* kill -15 */ case SIGTERM: /* kill -15 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment