[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeradius-users
Subject:    AcctInputOctets > 2GB bug
From:       Klaus Heck <heck () informatik ! uni-wuerzburg ! de>
Date:       2002-12-30 16:36:48
[Download RAW message or body]

There's a error whenever the AcctInputOctets or AcctOutputOctets exceed
2GB. Note that the NAS internal counter does not wrap around for values
lower than 4GB.
The problem was that the database script
modules/rlm_sql/drivers/rlm_sql_mysql/db_mysql.sql defines these
attributes to be of type int(12) which reaches its limit at exactly
2*1024*1024*1024 (2GB). Just change the script to use bigint(12) instead
and this problem is fixed :-)



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic