Problem Description
Node failed to start while installing version 7. Below error could be observed in the logs.
"could not allocate x-byte shmem stripe"
Explanation
The failure was because asd failed to allocate the specified value to one of the stripes. This could be either due to low system memory or insufficient values set to the default kernel parameters.
Solution
x-byte is the size of one stripe and depending on the data/memory size it allocates x*8 stripes for storage-engine memory. It should have sufficient system memory to fulfil the above requirement. If the system memory seems sufficient but the error is still observed, then values of kernel parameters such as (shmax, shmall, overcommit etc) needs to be verified. Ideally, shmmax needs to be a minimum or greater than 1/8th of the allocated memory for an in-memory namespace. For shmall, value should be greater or equal to (shmall*PAGE_SIZE).
Applies To Earliest Version
Current Version
Applies To Latest Version
Current Version