Bug 1336818 - Add ability to set oom_score_adj for glusterfs process
Summary: Add ability to set oom_score_adj for glusterfs process
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: GlusterFS
Classification: Community
Component: core
Version: mainline
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Oleksandr Natalenko
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-17 13:49 UTC by Oleksandr Natalenko
Modified: 2016-07-13 07:51 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-13 07:51:05 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Oleksandr Natalenko 2016-05-17 13:49:02 UTC
To prevent OOM from killing glusterfs process first, add ability to set oom_score_adj via command line and mount helper.

Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Vijay Bellur 2016-05-17 13:52:54 UTC
REVIEW: http://review.gluster.org/14399 (glusterfsd/main: Add ability to set oom_score_adj) posted (#1) for review on master by Oleksandr Natalenko (oleksandr)

Comment 2 Vijay Bellur 2016-05-17 13:57:54 UTC
REVIEW: http://review.gluster.org/14399 (glusterfsd/main: Add ability to set oom_score_adj) posted (#2) for review on master by Oleksandr Natalenko (oleksandr)

Comment 3 Vijay Bellur 2016-05-17 14:02:02 UTC
REVIEW: http://review.gluster.org/14399 (glusterfsd/main: Add ability to set oom_score_adj) posted (#3) for review on master by Oleksandr Natalenko (oleksandr)

Comment 4 Vijay Bellur 2016-05-17 14:13:59 UTC
REVIEW: http://review.gluster.org/14399 (glusterfsd/main: Add ability to set oom_score_adj) posted (#4) for review on master by Oleksandr Natalenko (oleksandr)

Comment 5 Vijay Bellur 2016-05-27 09:21:29 UTC
REVIEW: http://review.gluster.org/14399 (glusterfsd/main: Add ability to set oom_score_adj) posted (#5) for review on master by Oleksandr Natalenko (oleksandr)

Comment 6 Vijay Bellur 2016-05-27 09:43:52 UTC
REVIEW: http://review.gluster.org/14399 (glusterfsd/main: Add ability to set oom_score_adj) posted (#6) for review on master by Oleksandr Natalenko (oleksandr)

Comment 7 Vijay Bellur 2016-06-01 13:27:15 UTC
COMMIT: http://review.gluster.org/14399 committed in master by Jeff Darcy (jdarcy) 
------
commit cb8f5e01f639cb6e8715b33bb725210cb0493887
Author: Oleksandr Natalenko <oleksandr>
Date:   Tue May 17 16:45:44 2016 +0300

    glusterfsd/main: Add ability to set oom_score_adj
    
    Give the administrator a possibility to set oom_score_adj for glusterfs
    process. Applies to Linux only.
    
    Change-Id: Iff13c2f4cb28457871c6ebeff6130bce4a8bf543
    BUG: 1336818
    Signed-off-by: Oleksandr Natalenko <oleksandr>
    Reviewed-on: http://review.gluster.org/14399
    Smoke: Gluster Build System <jenkins.com>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.com>
    Reviewed-by: Jeff Darcy <jdarcy>

Comment 8 Vijay Bellur 2016-06-01 13:40:03 UTC
REVIEW: http://review.gluster.org/14605 (glusterfsd/main: Add ability to set oom_score_adj) posted (#1) for review on release-3.8 by Oleksandr Natalenko (oleksandr)


Note You need to log in before you can comment on or make changes to this bug.