Re: STAT_MAX_PORT_COUNT
Nigel Kukard <[email protected]> Sat, 31 Aug 2002 23:32:56 +0200 (SAST)
| Newsgroups | gmane.comp.gnu.radius.bugs |
|---|---|
| Message-ID | <[email protected]> |
Thanks, your help is much appreciated! One more question... the size of radwtmp, what happens if this gets to be about 1Gb? wont it have any performance inpact? can it be purged seeing as i store logs in an sql database? i think i need it for the simul logins, right? thanks again.. Nigel On Sat, 31 Aug 2002, Sergey Poznyakoff wrote: > > <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 >