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
14b1e007
Commit
14b1e007
authored
18 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
Remainer of memory now accounted for.
parent
e4a131ba
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/slurmd/slurmd/req.c
+7
-0
7 additions, 0 deletions
src/slurmd/slurmd/req.c
src/slurmd/slurmd/req.h
+2
-0
2 additions, 0 deletions
src/slurmd/slurmd/req.h
src/slurmd/slurmd/slurmd.c
+5
-0
5 additions, 0 deletions
src/slurmd/slurmd/slurmd.c
with
14 additions
and
0 deletions
src/slurmd/slurmd/req.c
+
7
−
0
View file @
14b1e007
...
@@ -144,6 +144,13 @@ slurmd_req(slurm_msg_t *msg)
...
@@ -144,6 +144,13 @@ slurmd_req(slurm_msg_t *msg)
{
{
int
rc
;
int
rc
;
if
(
msg
==
NULL
)
{
if
(
waiters
)
list_destroy
(
waiters
);
waiters
=
NULL
;
return
;
}
switch
(
msg
->
msg_type
)
{
switch
(
msg
->
msg_type
)
{
case
REQUEST_BATCH_JOB_LAUNCH
:
case
REQUEST_BATCH_JOB_LAUNCH
:
/* Mutex locking moved into _rpc_batch_job() due to
/* Mutex locking moved into _rpc_batch_job() due to
...
...
This diff is collapsed.
Click to expand it.
src/slurmd/slurmd/req.h
+
2
−
0
View file @
14b1e007
...
@@ -42,6 +42,8 @@
...
@@ -42,6 +42,8 @@
/* Process request contained in slurm message `msg' from client at
/* Process request contained in slurm message `msg' from client at
* msg->orig_addr
* msg->orig_addr
*
* If msg == NULL, then purge allocated memory.
*/
*/
void
slurmd_req
(
slurm_msg_t
*
msg
);
void
slurmd_req
(
slurm_msg_t
*
msg
);
...
...
This diff is collapsed.
Click to expand it.
src/slurmd/slurmd/slurmd.c
+
5
−
0
View file @
14b1e007
...
@@ -985,6 +985,10 @@ cleanup:
...
@@ -985,6 +985,10 @@ cleanup:
*
*
* Then exercise the slurmd functionality before executing
* Then exercise the slurmd functionality before executing
* > scontrol shutdown
* > scontrol shutdown
*
* There should be some definitely lost records from
* init_setproctitle (setproctitle.c), but it should otherwise account
* for all memory.
\**************************************************************************/
\**************************************************************************/
static
int
static
int
_slurmd_fini
()
_slurmd_fini
()
...
@@ -996,6 +1000,7 @@ _slurmd_fini()
...
@@ -996,6 +1000,7 @@ _slurmd_fini()
slurm_conf_destroy
();
slurm_conf_destroy
();
slurm_proctrack_fini
();
slurm_proctrack_fini
();
slurm_auth_fini
();
slurm_auth_fini
();
slurmd_req
(
NULL
);
/* purge memory allocated by slurmd_req() */
return
SLURM_SUCCESS
;
return
SLURM_SUCCESS
;
}
}
...
...
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