Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4A5AB200BCB for ; Wed, 9 Nov 2016 12:28:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 48E8A160AEE; Wed, 9 Nov 2016 11:28:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8A0A4160AFD for ; Wed, 9 Nov 2016 12:27:59 +0100 (CET) Received: (qmail 569 invoked by uid 500); 9 Nov 2016 11:27:58 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 478 invoked by uid 99); 9 Nov 2016 11:27:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Nov 2016 11:27:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7715D2C1F54 for ; Wed, 9 Nov 2016 11:27:58 +0000 (UTC) Date: Wed, 9 Nov 2016 11:27:58 +0000 (UTC) From: "Rolf Larsen (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CASSANDRA-12887) /etc/security/limits.d/cassandra.conf nofile overridden by initscript MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 09 Nov 2016 11:28:00 -0000 Rolf Larsen created CASSANDRA-12887: --------------------------------------- Summary: /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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)