TROUBLE: buffer allocation error! Increase BUFFERPOOL!
TROUBLE: buffer allocation error! Increase BUFFERPOOL!
That is what i'm getting my logs and it shuts down every night but how do i fix this error? i searched the forums sing "TROUBLE: buffer allocation error! Increase BUFFERPOOL!" as a string bt no luck fining a match. Thank you.
It's this question in ./Config:
So just enter a higher number there.
Or, if using windows, change the #define BUFFERPOOL line in include/config.h and recompile.
Note that in both cases, the value (eg: 16) is multiplied by MAXSENDQLENGTH which is the question before it in ./Config and 3mb by default:
So the default bufferpool value is 16 * 3mb = 48Mb of buffers.
If you wonder why this "limit" exists, well.. it's there so during any attacks (or whatever) it will at least not kill your server by using insane amounts of memory.
Code: Select all
How many buffer pools would you like?
This number will be multiplied by MAXSENDQLENGTH.
[16] ->Or, if using windows, change the #define BUFFERPOOL line in include/config.h and recompile.
Note that in both cases, the value (eg: 16) is multiplied by MAXSENDQLENGTH which is the question before it in ./Config and 3mb by default:
Code: Select all
What is the maximum sendq length you wish to have?
[3000000] ->If you wonder why this "limit" exists, well.. it's there so during any attacks (or whatever) it will at least not kill your server by using insane amounts of memory.