Re: STAT_MAX_PORT_COUNT
Sergey Poznyakoff <[email protected]> Sat, 31 Aug 2002 23:15:16 +0300
| Newsgroups | gmane.comp.gnu.radius.bugs |
|---|---|
| Organization | Farlep-Internet |
| Message-ID | <[email protected]> |
> <snip>
> Aug 31 17:45:34: Acct.error: can't allocate port_stat: increase STAT_MAX_PORT_COUNT and recompile
> </snip>
>
> i checked the NEWS file and it said its a daemon mailfunction?
Not quite so. Reconfigure the package as follows:
CFLAGS='-DSTAT_MAX_PORT_COUNT=4096' ./configure [OTHER-OPTIONS]
4096 is arbitrary, replace it with the value that suits your
needs. A good estimate for this value is
number_of_nases * average_number_of_ports_per_nas
Regards,
Sergey