[DGD] Changing UINDEX_MAX in config.h
David Rose
narkaulov at gmail.com
Mon Aug 22 15:52:26 CEST 2011
Doh!
Yeah, that took care of the seg fault. Thanks.
On Mon, Aug 22, 2011 at 3:36 PM, Felix A. Croes <felix at dworkin.nl> wrote:
> David Rose <narkaulov at gmail.com> wrote:
>
> > I am trying to increase the swap size and number of max objects for our
> mud
> > that we just moved over from an old solaris box to a new linux VM. On
> the
> > old box, we had a swap size of 400M and allowed for 131K objects. We
> > started having problems with filling the swap and reaching the max
> objects
> > on the new server, but were unable to increase the sizes to the old
> values.
> > Upon looking at the source from the old driver, I noticed that the
> > UINDEX_MAX define in config.h had been changed from USHRT_MAX to
> UINT_MAX.
>
> You also have to change
>
> typedef unsigned short uindex;
>
> to
>
> typedef unsigned int uindex;
>
> Regards,
> Felix Croes
> ___________________________________________
> https://mail.dworkin.nl/mailman/listinfo/dgd
>
More information about the DGD
mailing list