cockroach icon indicating copy to clipboard operation
cockroach copied to clipboard

OOM error despite --cache and --max-sql-memory to 25%

Open vingovan opened this issue 8 years ago • 3 comments

Hi, I installed my cluster with 5 nodes. I set --cache=.25 --max-sql-memory=.25 but memory raised. My cockroachdb is crashed. how do i able to limit my memory? Thanks

vingovan avatar Jul 12 '18 03:07 vingovan

We need more information. Can you provide the data that was requested when you opened the github issue:

  1. Please supply the header (i.e. the first few lines) of your most recent log file for each node in your cluster. On most unix-based systems running with defaults, this boils down to the output of

    grep -F '[config]' cockroach-data/logs/cockroach.log

    When log files are not available, supply the output of cockroach version and all flags/environment variables passed to cockroach start instead.

  2. Please describe the issue you observed:

  • What did you do?

  • What did you expect to see?

  • What did you see instead?

knz avatar Jul 13 '18 07:07 knz

@ViNgoVan - we understand there is a crash, but we need to know more. The log files will help.

tim-o avatar Jul 13 '18 14:07 tim-o

Closing due to inactivity. @ViNgoVan we'd like to hear more. Just respond on this issue and we'll reopen.

tbg avatar Jul 22 '18 21:07 tbg