cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rolf Larsen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-12887) /etc/security/limits.d/cassandra.conf nofile overridden by initscript
Date Wed, 09 Nov 2016 11:29:58 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-12887?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rolf Larsen updated CASSANDRA-12887:
------------------------------------
    Description: 
After trying to adjust max open files for cassandra in /etc/security/limits.d/cassandra.conf
and not understanding why my changes didnt work i found this in the initscript:

{code}
FD_LIMIT=100000
ulimit -n "$FD_LIMIT"
{code}

As per documentation of "Recommended production settings" it says that one should modify /etc/security/limits.d/cassandra.conf
but these settings are overriden by initscript.
https://docs.datastax.com/en/landing_page/doc/landing_page/recommendedSettingsLinux.html

  was:
After trying to adjust max open files for cassandra in /etc/security/limits.d/cassandra.conf
and not understanding why my changes didnt work i found this in the initscript:

{code}
FD_LIMIT=100000
ulimit -n "$FD_LIMIT"
{code}

As per documentation of "Recommended production settings" it says that one should modify /etc/security/limits.d/cassandra.conf
but these settings are overriden by initscript.


> /etc/security/limits.d/cassandra.conf nofile overridden by initscript
> ---------------------------------------------------------------------
>
>                 Key: CASSANDRA-12887
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12887
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Packaging
>         Environment: Ubuntu 14.04
>            Reporter: Rolf Larsen
>             Fix For: 3.0.x
>
>
> After trying to adjust max open files for cassandra in /etc/security/limits.d/cassandra.conf
and not understanding why my changes didnt work i found this in the initscript:
> {code}
> FD_LIMIT=100000
> ulimit -n "$FD_LIMIT"
> {code}
> As per documentation of "Recommended production settings" it says that one should modify
/etc/security/limits.d/cassandra.conf but these settings are overriden by initscript.
> https://docs.datastax.com/en/landing_page/doc/landing_page/recommendedSettingsLinux.html



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

Mime
View raw message