Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
d8d5e52e
Commit
d8d5e52e
authored
16 years ago
by
Danny Auble
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/man/man1/sacctmgr.1
+14
-14
14 additions, 14 deletions
doc/man/man1/sacctmgr.1
src/slurmdbd/slurmdbd.c
+1
-1
1 addition, 1 deletion
src/slurmdbd/slurmdbd.c
with
15 additions
and
15 deletions
doc/man/man1/sacctmgr.1
+
14
−
14
View file @
d8d5e52e
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
src/slurmdbd/slurmdbd.c
+
1
−
1
View file @
d8d5e52e
...
@@ -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 */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment