Hi David, On Wed, Jul 24, 2013 at 11:12 AM, David Torres <david.tor...@renuda.com> wrote: > Hello again, > > I have Cassandra working on a development machine and when I started it I got > the same line, but then output a lot of other stuff. > > The problem is that in the production machine where I am working now it only > print that first line: > xss = -ea -javaagent:bin/../lib/jamm-0.2.5.jar -XX:+UseThreadPriorities > -XX:ThreadPriorityPolicy=42 -Xms1010M -Xmx1010M -Xmn252M > -XX:+HeapDumpOnOutOfMemoryError -Xss180k >
Just to be sure, you'll want more than 2GB of RAM on a production machine for your Cassandra node. Please see this for more information: http://wiki.apache.org/cassandra/CassandraHardware > After that is not printing anything else, whereas according to the messages > displayed on the development machine the next thing it should appeared would > be: > xxxxx@yyyyyyy:~/OAEdependencies$ INFO 16:04:52,712 Logging initialized > INFO 16:04:52,723 JVM vendor/version: Java HotSpot(TM) 64-Bit Server > VM/1.6.0_35 > > So apparently, there is some problem with initialize the log. I changed the > reference to the system.log file on `conf/log4j-server.properties`. And I > changed the reference to the data directory, the saved_caches directory and > the commitlog file on `conf/cassandra.yaml`. Now they are pointing to > locations where I am sure I have permission to write. How are you starting Cassandra? Is this Ubuntu, MacOSX? Was it installed from a tarball or through a package manager of some sort? Did you change the data and commitlog directories before or after you tried troubleshooting startup problems? The cassandra.yaml and log4j-server.properties file would be useful if you can attach that for me. Hope that helps, Branden > > Any idea of what could be happening? > > Best regards, > > > David Torres > > > Computer Scientist > Renuda UK > > > tel: +44 (0)20 3371 1709 > web: www.renuda.com > > > Renuda UK is registered in England and Wales. Company number 6218863. > VAT registration number 918 6490 91. Registered office: 35 Charleville Road, > London W14 9JJ, UK. > Renuda registered trade mark. > > ________________________________________ > From: Branden Visser [mrvis...@gmail.com] > Sent: 24 July 2013 15:34 > To: David Torres > Cc: oae-dev@collab.sakaiproject.org > Subject: Re: [oae-dev] Out of memory error when starting Cassandra > > Hi David, > > That output is not an error, it is just letting you know what the > start-up options for Cassandra were. > > The options look ok, can you confirm in the Cassandra log file if it > started up successfully or what errors it had starting up? Depending > on how it was installed, the log file could be located in: > > /var/log/cassandra > /path/to/cassandra/log/cassandra > > There will be both a system.log and cassandra.log. Both will be useful > to find any startup issues. > > Thanks, > Branden > > > On Wed, Jul 24, 2013 at 10:20 AM, David Torres <david.tor...@renuda.com> > wrote: >> Hello list, >> >> I am installing OAE on a machine for the first time, following this guide: >> https://github.com/oaeproject/Hilary/blob/master/README.md >> >> This machine has 2GB of RAM. >> Currently, RabbitMQ and Elastic Search are running, but for some reason >> Cassandra was not. So I started Cassandra again and got this error: >> >> xss = -ea -javaagent:apache-cassandra-1.2.6/bin/../lib/jamm-0.2.5.jar >> -XX:+UseThreadPriorities -XX:ThreadPriorityPolicy=42 -Xms1010M -Xmx1010M >> -Xmn252M -XX:+HeapDumpOnOutOfMemoryError -Xss180k >> >> Any idea about this? >> >> Thank you in advance. >> >> Best regards, >> >> >> David Torres >> >> Computer Scientist >> Renuda UK >> >> tel: +44 (0)20 3371 1709 >> web: www.renuda.com >> >> Renuda UK is registered in England and Wales. Company number 6218863. >> VAT registration number 918 6490 91. Registered office: 35 Charleville Road, >> London W14 9JJ, UK. >> Renuda registered trade mark. >> >> >> _______________________________________________ >> oae-dev mailing list >> oae-dev@collab.sakaiproject.org >> http://collab.sakaiproject.org/mailman/listinfo/oae-dev >> _______________________________________________ oae-dev mailing list oae-dev@collab.sakaiproject.org http://collab.sakaiproject.org/mailman/listinfo/oae-dev