Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 44122 invoked from network); 4 Dec 2010 06:57:33 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Dec 2010 06:57:33 -0000 Received: (qmail 12438 invoked by uid 500); 4 Dec 2010 06:57:33 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 12298 invoked by uid 500); 4 Dec 2010 06:57:33 -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 12285 invoked by uid 99); 4 Dec 2010 06:57:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Dec 2010 06:57:33 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Dec 2010 06:57:32 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oB46vBsk009516 for ; Sat, 4 Dec 2010 06:57:11 GMT Message-ID: <13214985.106631291445831542.JavaMail.jira@thor> Date: Sat, 4 Dec 2010 01:57:11 -0500 (EST) From: "Nate McCall (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Issue Comment Edited: (CASSANDRA-1808) Duplicate JVM_OPTS set in RPM In-Reply-To: <22914233.84511291331535488.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-1808?page=3Dcom.atlas= sian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D= 12966792#action_12966792 ]=20 Nate McCall edited comment on CASSANDRA-1808 at 12/4/10 1:57 AM: ----------------------------------------------------------------- RPMs maintained at http://rpm.riptano.com are provided for convenience by a= nd the sole responsibility of Riptano. Please contact me directly with any = issues relating to these RPMs in the future.=20 was (Author: zznate): RPMs maintained at http://rpm.riptano.com are provided for convenience = by and the sole responsibility of Riptano. =20 > Duplicate JVM_OPTS set in RPM > ----------------------------- > > Key: CASSANDRA-1808 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1808 > Project: Cassandra > Issue Type: Bug > Components: Packaging > Affects Versions: 0.7.0 rc 1 > Environment: CentOS 5.4 and RPM found here: http://rpm.riptano.co= m/EL/6/x86_64/cassandra07-0.7.0-0rc1.el6.noarch.rpm > Reporter: Thor Carpenter > Priority: Minor > > After installing 0.7RC1 RPM on CentOS and starting the cassandra service = I am confused by the presence of duplicate and conflicting JVM params. The= re seem to be multiple places where JVM_OPTS are set. Executing find on cl= ean install reveals multiple files that set JVM_OPTS. According to the mai= ling list, the correct file is cassandra-env.sh although which one is uncle= ar. It would be less confusing if this redundancy was removed. > For Reference: > > find / -name cassandra*.sh > /etc/cassandra/cassandra-env.sh > /usr/share/cassandra/conf/cassandra-env.sh > /usr/share/cassandra/cassandra.in.sh > > ps aux | grep cassandra > 100 8881 51.5 54.0 620988 135616 ? Sl 21:55 0:02 /usr/bin= /java -Xdebug *-Xms128M -Xmx1G* -XX:TargetSurvivorRatio=3D90 -XX:+Aggressiv= eOpts -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnable= d -XX:+HeapDumpOnOutOfMemoryError -XX:SurvivorRatio=3D128 -XX:MaxTenuringTh= reshold=3D0 -Dcom.sun.management.jmxremote.port=3D8080 -Dcom.sun.management= .jmxremote.ssl=3Dfalse -Dcom.sun.management.jmxremote.authenticate=3Dfalse = -ea -XX:+UseThreadPriorities -XX:ThreadPriorityPolicy=3D42 *-Xms122M -Xmx12= 2M* -XX:+HeapDumpOnOutOfMemoryError -Xss128k -XX:+UseParNewGC -XX:+UseConcM= arkSweepGC -XX:+CMSParallelRemarkEnabled -XX:SurvivorRatio=3D8 -XX:MaxTenur= ingThreshold=3D1 -XX:CMSInitiatingOccupancyFraction=3D75 -XX:+UseCMSInitiat= ingOccupancyOnly -Djava.net.preferIPv4Stack=3Dtrue -Dcom.sun.management.jmx= remote.port=3D8080 -Dcom.sun.management.jmxremote.ssl=3Dfalse -Dcom.sun.man= agement.jmxremote.authenticate=3Dfalse -Dlog4j.configuration=3Dlog4j-server= .properties -Dcassandra-pidfile=3D/var/run/cassandra/cassandra.pid -cp /etc= /cassandra:/usr/share/cassandra/antlr-3.1.3.jar:/usr/share/cassandra/apache= -cassandra-0.7.0-rc1-SNAPSHOT.jar:/usr/share/cassandra/apache-cassandra.jar= :/usr/share/cassandra/avro-1.4.0-fixes.jar:/usr/share/cassandra/avro-1.4.0-= sources-fixes.jar:/usr/share/cassandra/commons-cli-1.1.jar:/usr/share/cassa= ndra/commons-codec-1.2.jar:/usr/share/cassandra/commons-collections-3.2.1.j= ar:/usr/share/cassandra/commons-lang-2.4.jar:/usr/share/cassandra/concurren= tlinkedhashmap-lru-1.1.jar:/usr/share/cassandra/guava-r05.jar:/usr/share/ca= ssandra/high-scale-lib.jar:/usr/share/cassandra/jackson-core-asl-1.4.0.jar:= /usr/share/cassandra/jackson-mapper-asl-1.4.0.jar:/usr/share/cassandra/jett= y-6.1.21.jar:/usr/share/cassandra/jetty-util-6.1.21.jar:/usr/share/cassandr= a/jline-0.9.94.jar:/usr/share/cassandra/json-simple-1.1.jar:/usr/share/cass= andra/jug-2.0.0.jar:/usr/share/cassandra/libthrift-0.5.jar:/usr/share/cassa= ndra/log4j-1.2.16.jar:/usr/share/cassandra/servlet-api-2.5-20081211.jar:/us= r/share/cassandra/slf4j-api-1.6.1.jar:/usr/share/cassandra/slf4j-log4j12-1.= 6.1.jar:/usr/share/cassandra/snakeyaml-1.6.jar org.apache.cassandra.thrift.= CassandraDaemon --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.