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

David Capwell commented on CASSANDRA-15549:
-------------------------------------------

Using grep I found the following 

https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/utils/NativeLibrary.java#L201

Looking through my chat history I found the root log which triggered this JIRA

{code}
JVM memory (ENOMEM). This can result in part of the JVM being swapped out, 
especially with mmapped I/O enabled. Increase RLIMIT_MEMLOCK or run Cassandra 
as root.
{code}

This was on a 4.0 test deployment.  

I thought I saw more but my history only shows that line, and grep only sees 
that single log.


Ill rename the JIRA to reflect that this isn't all over the place but actually 
one specific logger.

> Remove all recommendations to run Cassandra as root
> ---------------------------------------------------
>
>                 Key: CASSANDRA-15549
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15549
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Local/Other
>            Reporter: David Capwell
>            Priority: Normal
>             Fix For: 4.0-alpha
>
>
> There are several exceptions/logs in the code which recommend users to run 
> Cassandra as root, should remove these since users really shouldn’t be 
> running Cassandra as root.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to