This help center has been deprecated and moved to a new address, please follow this link to open an active help center.

Thank you and sorry for inconvenience!



Cassandra issues. Increasing memory for Cassandra.

Overview:

This article describes how to resolve 70% of issues related to Apache Casandra that is bundled with Upsource and used for data storage.

Symptoms:

  • Cassandra gets restarted on a regular basis
  • New commits are not getting indexed
  • Some (all) revisions are stuck in "indexing in progress" state

Solution:

Our statistics show that the most common reason for Cassandra failures is lack of memory assigned to it. Here are the steps on how to increase it:

  1. Open <Upsource_home_dir>\conf\cassandra directory
  2. Copy cassandra.jvmoptions.dist into cassandra.jvmoptions (remove .dist from name)
  3. Open cassandra.jvmoptions
  4. Replace #-Xmx3000m with -Xmx5000m in the file and save it
  5. Make sure you have enough memory/swap on the host
  6. Restart Upsource

If this didn't help, please submit a request with attached logs to the Upsource team.

Have more questions? Submit a request

Comments

Powered by Zendesk