Page 1 of 1

TROUBLE: buffer allocation error! Increase BUFFERPOOL!

Posted: Mon Dec 27, 2004 10:20 pm
by Magician
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.

Posted: Mon Dec 27, 2004 11:21 pm
by Syzop
It's this question in ./Config:

Code: Select all

How many buffer pools would you like?
This number will be multiplied by MAXSENDQLENGTH.
[16] ->
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:

Code: Select all

What is the maximum sendq length you wish to have?
[3000000] ->
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.

Posted: Tue Dec 28, 2004 4:14 am
by Magician
Thank you for your time Syzop. I will change that in the ./Config and get it done.