Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7FBAD1781A for ; Mon, 27 Apr 2015 16:09:39 +0000 (UTC) Received: (qmail 93282 invoked by uid 500); 27 Apr 2015 16:09:39 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 93224 invoked by uid 500); 27 Apr 2015 16:09:39 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 93199 invoked by uid 99); 27 Apr 2015 16:09:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Apr 2015 16:09:38 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: message received from 54.191.145.13 which is an MX secondary for dev@cloudstack.apache.org) Received: from [54.191.145.13] (HELO mx1-us-west.apache.org) (54.191.145.13) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Apr 2015 16:09:32 +0000 Received: from mail-pd0-f171.google.com (mail-pd0-f171.google.com [209.85.192.171]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id ACBEE2738F for ; Mon, 27 Apr 2015 16:09:12 +0000 (UTC) Received: by pdbnk13 with SMTP id nk13so133061130pdb.0 for ; Mon, 27 Apr 2015 09:09:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=EuENs1QFzqQxjMyLnHPVv2URw7N0EBrO/NsCeIUupMo=; b=1BdMvkksdPvZECKirkAnU1EaabUqY0t9k8iPcJlZad8qQMsWddqDfhDrOUJaDKzCZS 2nwDsoXpd/OCiwZMTXPKDj9m9x33zJoPZUOt2vRX3Mosa0POheTRDwy3SvjWgdoL/7NU TJk4ZDXEkaJ7JfPvq/FWpisjwe4OSByhz5iPue5BJ9KQkJQeyRv9G7D8tdFnlbdmG9lp +lOZx+tLwh6fHUxwA2VMWRLdSMWbijRbYHsDzDWWwt/CZyEUkH/F/vlgFnF057Bsxyt7 gwJLZ2sEJhclLzx1fWYCnaaa8ZAv4cXzVBO/+TSxI2YwvBuuQlzgTCWJaFawk8HuFsKT t83g== X-Received: by 10.67.30.65 with SMTP id kc1mr7549202pad.91.1430150946087; Mon, 27 Apr 2015 09:09:06 -0700 (PDT) Received: from [0.0.0.0] (dev1.cloudsand.com. [162.243.147.22]) by mx.google.com with ESMTPSA id ae9sm19971163pac.25.2015.04.27.09.09.02 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Apr 2015 09:09:04 -0700 (PDT) Message-ID: <553E5F1C.3040909@gmail.com> Date: Mon, 27 Apr 2015 09:09:00 -0700 From: ilya User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: dev@cloudstack.apache.org Subject: Re: ACS 4.5.1 fails References: In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org perhaps we need to patch and hard set java to = 1.7 (vs =>1.7) with arch type of x86_64 - until we are ready with 1.8.. On 4/27/15 7:01 AM, Rafael Fonseca wrote: > Hi there :) > > You didn't mention if you were running 32 or 64 bit OS... 32 bit JVM can't > scale over 1.4/1.6Gb Heap size, no matter what you put in the -Xmx option ;) > > RF > > On Mon, Apr 27, 2015 at 3:44 PM, Timothy Lothering < > tlothering@datacentrix.co.za> wrote: > >> Hi Keerthiraja, >> >> We are on 4.3.0.2 - So I am not sure it the tomcat6-nonssl.conf differs. I >> looked at your JAVA_OPTS line and mine, >> >> Your Line: >> >> JAVA_OPTS="-Djava.awt.headless=true -Dcom.sun.management.jmxremote=false >> -Xmx2g -XX:+HeapDumpOnOutOfMemoryError >> -XX:HeapDumpPath=/var/log/cloudstack/management/ -XX:PermSize=512M >> -XX:MaxPermSize=800m >> -Djava.security.properties=/etc/cloudstack/management/java.security.ciphers" >> >> Mine: >> >> JAVA_OPTS="-Djava.awt.headless=true >> -Dcom.sun.management.jmxremote.port=45219 >> -Dcom.sun.management.jmxremote.authenticate=false >> -Dcom.sun.management.jmxremote.ssl=false -Xmx4g -Xms2g >> -XX:+HeapDumpOnOutOfMemoryError >> -XX:HeapDumpPath=/var/log/cloudstack/management/ -XX:PermSize=512M >> -XX:MaxPermSize=800m" >> >> There are some options missing, but I also do not see a "-Xms" line in >> yours. I will put 4.5.1 in Lab and see what happens. >> >> My ACS MS has 8GB RAM, that is why I have -Xmx4g >> >> Regards, >> Timothy Lothering >> Solutions Architect >> Managed Services >> >> T: +27877415535 >> F: +27877415100 >> C: +27824904099 >> E: tlothering@datacentrix.co.za >> >> >> DISCLAIMER NOTICE: >> >> Everything in this e-mail and any attachments relating to the official >> business of Datacentrix Holdings Ltd. and its subsidiaries >> ('Datacentrix') is proprietary to Datacentrix. It is confidential, legally >> privileged and protected by law. Datacentrix does not >> own and endorse any other content. Views and opinions are those of the >> sender unless clearly stated as being that of Datacentrix. >> The person addressed in the e-mail is the sole authorised recipient. >> Please notify the sender immediately if it has unintentionally >> reached you and do not read, disclose or use the content in any way. >> Datacentrix cannot assure that the integrity of this communication >> has been maintained nor that it is free of errors, virus, interception or >> interference. >> -----Original Message----- >> From: Keerthiraja SJ [mailto:sjkeerthi@gmail.com] >> Sent: 27 April 2015 08:28 AM >> To: dev@cloudstack.apache.org >> Cc: users@cloudstack.apache.org >> Subject: Fwd: ACS 4.5.1 fails >> >> Hi All, >> >> I installed the ACS in my VirtualBox. After I install the CS with 4GB base >> memory I could not able to start the server. >> >> I scale the memory upto 12GB still I could not able to start the ACS. >> In /var/log/cloudstack/management/catalina.out I could see error as >> >> Can't start up: not enough memory >> Can't start up: not enough memory >> Can't start up: not enough memory >> Can't start up: not enough memory >> Can't start up: not enough memory >> Can't start up: not enough memory >> Can't start up: not enough memory >> Can't start up: not enough memory >> Can't start up: not enough memory >> Can't start up: not enough memory >> >> Is I missing anything. >> >> In the default file of below I could see the java value as default. >> >> tomcat6.conf -> /etc/cloudstack/management/tomcat6-nonssl.conf >> >> JAVA_OPTS="-Djava.awt.headless=true -Dcom.sun.management.jmxremote=false >> -Xmx2g -XX:+HeapDumpOnOutOfMemoryError >> -XX:HeapDumpPath=/var/log/cloudstack/management/ -XX:PermSize=512M >> -XX:MaxPermSize=800m >> -Djava.security.properties=/etc/cloudstack/management/java.security.ciphers" >> >> >> Kindly let me know if any one found this issue. I even tried by increasing >> the -Xmx2g into 4g still I don't see any improvement. >> >> >> >> >> Thanks, >> Keerthi >>