help-gnu-radius
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gnu-radius] Trouble with STAT_MAX_PORT_COUNT


From: Sergey Poznyakoff
Subject: Re: [Help-gnu-radius] Trouble with STAT_MAX_PORT_COUNT
Date: Mon, 09 Jun 2003 12:34:26 +0300

> The following error occurs frequently:
> Jun 06 19:18:56: Acct.error: can't allocate port_stat: increase 
> STAT_MAX_PORT_COUNT and recompile
> but with port numbers as low as 3: (!!)

What matters here is the number of ports reported by all your NASes,
not the absolute value of a particular port number. By default the
statistics database is able to accomodate up to 1024 ports. If the
number of ports is greater, the diagnostics "can't allocate port_stat"
is displayed. 

Notice that this does not affect the functionality of the daemon. If
you do not use the statistics capabilities you may just ignore the
warning. Otherwise, try raising STAT_MAX_PORT_COUNT to some greater
value, for example:

       CFLAGS='-DSTAT_MAX_PORT_COUNT=10240' ./configure [OTHER-OPTIONS]

Regards,
Sergey




reply via email to

[Prev in Thread] Current Thread [Next in Thread]