[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: IRC-Problem
Kurt Roeckx says:
>
> On Mon, Apr 03, 2000 at 05:48:37PM +0100, Thomas Hagen Trocha wrote:
> >
> > Hi there,
> > it's me Thomas Trocha. I'm using the ircd - server.
> > No problems but as I wanted to test how many
> > connections the server would manage after 600 users
> > the debug-information let the error-message "buffer allocation error" followed
> > by "Resource temporaly unavailable" appear.
>
> Where did yous ee those messages? I assume &errors.
>
> What OS are you running this on?
>
> I have a feeling that the box is running out of memory.
>
> "Buffer allocation error for %s" is generated when valloc (malloc) returns
> NULL. This means that either you're out of ram, or malloc doesn't know how
> to alloc more. You should probably check your OS's manual.
Actually, under bsd these would be caused by insufficient mbufs
an mbuf is used for each connection... for linux there is a similar
mechanism.
For bsd you'd have have to up mbufs, easiest is to increase MAXUSERS
by quite a bit, as mbufs are derived from MAXUSERS...
>
> Clients are existed because they we couldn't alloc enough memory to hold
> the data in the send queue for them. It could also be that the OS can't
> hold the buffers, in which case you ussually get the "Resource temporaly
> unavailable".
>
>
> Kurt
>
>
--
Diane Bruce, http://www.db.net/~db http://www.db.net email db@xxxxxx
--- I wonder how many people notice when I change these.