[ https://issues.apache.org/jira/browse/CASSANDRA-9822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14643883#comment-14643883 ]
Ben Dalling commented on CASSANDRA-9822: ---------------------------------------- We experienced the problem with both 2.1 and 2.2 (package installs) on Ubuntu 12.04 and 14.04. As a temporary workaround, changed the search string from "cassandra.+CassandraDaemon" to simply "cassandra" and the service status command worked as expected. > 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)