cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Whittington (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-9822) Debian/Ubuntu init script status says that Cassandra is not running when it actually is
Date Wed, 29 Jul 2015 08:29:05 GMT

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

Tim Whittington commented on CASSANDRA-9822:
--------------------------------------------

The 4096 is the value of {{PAGE_SIZE}} ({{getconf PAGE_SIZE}} to check), which is the limit
of the command line reported in {{/proc/<pid>/cmdline}}. 
Changing PAGE_SIZE requires a kernel recompile, so the method of checking the Cassandra process
will probably need tweaking.

> Debian/Ubuntu init script status says that Cassandra is not running when it actually
is
> ---------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-9822
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9822
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Packaging
>         Environment: Any Ubuntu/Debian system
>            Reporter: Eric Herot
>            Assignee: Michael Shuler
>
> The reason: The current CMD_PATT regex can't match very long command lines.
> If a lot of Java options are used (thus causing the command line for Cassandra to be
very long) the value of /proc/PID/cmdline is truncated before the phrase "CassandraDaemon"
(at exactly 4096 characters) so the regex "cassandra.+CassandraDaemon" fails to match.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message