TROUBLE: buffer allocation error! Increase BUFFERPOOL!

These are old archives. They are kept for historic purposes only.
Post Reply
Magician
Posts: 23
Joined: Sun Oct 31, 2004 10:35 pm
Location: Tulsa,Oklahoma

TROUBLE: buffer allocation error! Increase BUFFERPOOL!

Post 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.
Syzop
UnrealIRCd head coder
Posts: 2179
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post 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.
Magician
Posts: 23
Joined: Sun Oct 31, 2004 10:35 pm
Location: Tulsa,Oklahoma

Post by Magician »

Thank you for your time Syzop. I will change that in the ./Config and get it done.
Magician
Network Coordinator
irc.smoothirc.net
Main channel: #smoothirc
Post Reply