Skip to main content
Question

calloc() error: 'Cannot allocate memory'

  • December 25, 2017
  • 1 reply
  • 8 views

savyuk

Hi All,
A prospect is having an issue where upon deploying a DBD design a node crashes.

2017-12-25 10:19:24.650 EEcmdq:7f8c99eec700 <INTERNAL> @v_rdwh_node0001: VX001/4064: NewPool::addChunk talloc calloc() error: 'Cannot allocate memory'; size 8388608 LOCATION: addChunk, /scratch_a/release/svrtar12359/vbuild/vertica/Basics/talloc.cpp:268 2017-12-25 10:19:24.652 EEcmdq:7f8c93ade700 <PANIC> @v_rdwh_node0001: VX001/4064: NewPool::addChunk talloc calloc() error: 'Cannot allocate memory'; size 2097152 LOCATION: addChunk, /scratch_a/release/svrtar12359/vbuild/vertica/Basics/talloc.cpp:266 2017-12-25 10:19:24.655 EEcmdq:7f8c926da700 <PANIC> @v_rdwh_node0001: VX001/4064: NewPool::addChunk talloc calloc() error: 'Cannot allocate memory'; size 2097152 LOCATION: addChunk, /scratch_a/release/svrtar12359/vbuild/vertica/Basics/talloc.cpp:266 2017-12-25 10:19:24.721 Spread Client:7f9009fcb700 [Dist] <INFO> Dist::cancelPlan: canceling state EXECUTION COMPILED(2): a000000010a00d 2017-12-25 10:19:24.721 Spread Client:7f9009fcb700 [Dist] <INFO> Dist::cancelPlan: canceled state EXECUTION COMPILED(2): a000000010a00d 2017-12-25 10:19:24.742 Init Session:7f8f9d3fb700-a000000010a00c <ERROR> @v_rdwh_node0001: 53200/2296: Calloc of 524288 bytes for PlanCLHash failed LOCATION: calloc, /scratch_a/release/svrtar12359/vbuild/vertica/Basics/Logging.cpp:304 2017-12-25 10:19:24.744 Init Session:7f8f81ffb700-a000000010a004 <ERROR> @v_rdwh_node0001: 53200/2296: Calloc of 294912 bytes for PlanCLHash failed LOCATION: calloc, /scratch_a/release/svrtar12359/vbuild/vertica/Basics/Logging.cpp:304

The HW should be 3 virtual machines, 2 cores, 8 GB RAM, CentOS 7.
I said to check that the OS memory settings are in order. In the meantime, any advice on what could be causing this?

Let me know if you need the full logs.

1 reply

Jim_Knicely
Forum|alt.badge.img+2
  • Participating Frequently
  • December 29, 2017

Do you know the Vertica version?

Fyi, Vertica requires a minimum of 8 GB of memory per physical CPU core in each server.

See:
https://my.vertica.com/kb/Recommendations-for-Sizing-Vertica-Nodes-and-Clusters/Content/Hardware/Recommendations-for-Sizing-Vertica-Nodes-and-Clusters.htm