accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1652) Provide hooks to customize OnOutOfMemoryError behavior
Date Wed, 11 Sep 2013 20:05:01 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-1652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13764693#comment-13764693
] 

ASF subversion and git services commented on ACCUMULO-1652:
-----------------------------------------------------------

Commit 0895046e3f84ce7097153ae9fb9426b2e13bf56f in branch refs/heads/master from [~ecn]
[ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=0895046 ]

ACCUMULO-1652 demonstrate the ACCUMULO_KILL_CMD configuration in every example accumulo-env.sh

                
> Provide hooks to customize OnOutOfMemoryError behavior
> ------------------------------------------------------
>
>                 Key: ACCUMULO-1652
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1652
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: scripts
>    Affects Versions: 1.4.3, 1.5.0
>            Reporter: Drew Farris
>            Assignee: Eric Newton
>            Priority: Minor
>
> Currently, the accumulo startup script hardcodes {{OnOutOfMemoryError}} behavior to be
{{kill -9 %p}}. Perhaps this could be modified to call a script.
> for example: {noformat}-XX:OnOutOfMemoryError="${ACCUMULO_HOME}/bin/oom.sh %p $1"{noformat}
whose default behavior implementation is {{kill -9}}, but this can be modified by the administrator
to implement other behavior (e.g. do a {{jstack}} first).
> This has the added benefit of being able to modify the behavior at runtime without restarting
processes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message