Re: Fwd: Re: [RadiusNT] memery usage

Christian Schmit ( cschmit@vo.lu )
Mon, 13 Sep 1999 11:39:33 +0200

> Hello again,
>
> radiusnt 2.5.175 decently has a memory leak.
> It is 100% reproducible in our environment.
> (radiusnt 2.5.175 running on PII-400 with 128 MB RAM
> using SQL 6.5 SP5 running on PII-233 with 128 MB RAM)
>
> When I start the radiusnt service it uses some 2.9MB of RAM
> After some hours radiusnt is already at 10MB RAM. After one
> day it is at some 25MB of RAM an so untill it uses 80MB and
> no more RAM is free.
>
>Also, double-check your DSN settings and make sure the
>"create temporary stored procedures for prepared
>SQL Statements..." is unchecked.

Hi,

Here is the debug info of our radius which has the memory leak problem:
I also checked the "create temporary stored procedures...." which is OK.

After 2 days radiusnNT used already 44 MB of RAM and is still growing.

Any patch available?

thanks,
Christian
----------------------------------------------------------------------------
------------------------
RadiusNT 2.5.175 Copyright (c) 1995-1998 IEA Software, Inc.
All Rights Reserved, Worldwide
Some portions Copyright (c) 1992 Livingston Enterprises, Inc.
and Copyright (c) 1995 Ascend Communications, Inc.

0) Mode: 1
1) IgnoreCase: 3
2) TrimName: 0
3) ReqAcctAuth: 0
4) AllowMalformed: 0
5) Proxy: 3
6) Options: 69
7) Debug: 0
8) LogFile:
9) AcctLogFile:
10) ODBCDatasource: Radius
11) Username: radius
12) Password: 2??/az*R
13) AcctODBCDatasource:
14) AcctUsername:
15) AcctPassword:
16) DataDirectory: c:\radius
17) AcctDirectory: c:\radius\acct
18) UsersFile: users
19) CompanyName:
20) License:
21) IPAddress: 212.24.194.8
22) SNMP: 0
23) TestDatabaseSecs:

Param: Debug Level: 15
Initializing Winsock...
ODBC Datasource: 'Radius'...
Making ODBC Connection...
MS SQL Server Mode Enabled

SQL Statement: Select DISTINCT Company, LicenseID From Licenses

SQL Statement: Select DISTINCT Company, LiscenseID From Liscenses

ODBC Datasource: 'Radius'...
Making ODBC Connection...
MS SQL Server Mode Enabled

SQL Statement: Select DISTINCT Company, LicenseID From Licenses

SQL Statement: Select DISTINCT Company, LiscenseID From Liscenses

Allocating Statement...

SQL Statement: Select Name, RadAttributeID, Type, RadVendorID,
RadVendorType Fr
om RadAttributes Order By RadVendorID, RadAttributeID

SQL Statement: Select ra.Name, rv.Name, rv.Value From RadValues rv,
RadAttribut
es ra Where rv.RadAttributeID = ra.RadAttributeID

237 Dictionary Attributes Loaded...

SQL Statement: Select Server, IPAddress, Secret, RadRoamServerID From Servers

10 Clients Loaded
Accounting Column 0 (16): 'NASIdentifier'
Accounting Column 1 (4): 'NASPort'
Accounting Column 2 (8): 'AcctSessionId'
Accounting Column 3 (2): 'AcctStatusType'
Accounting Column 4 (16): 'CallDate'
Accounting Column 5 (25): 'UserName'
Accounting Column 6 (2): 'AcctAuthentic'
Accounting Column 7 (2): 'UserService'
Accounting Column 8 (2): 'LoginService'
Accounting Column 9 (16): 'LoginHost'
Accounting Column 10 (4): 'AcctDelayTime'
Accounting Column 11 (4): 'AcctSessionTime'
Accounting Column 12 (4): 'FramedProtocol'
Accounting Column 13 (16): 'FramedAddress'
Accounting Column 14 (4): 'AcctInputOctets'
Accounting Column 15 (4): 'AcctOutputOctets'
Accounting Column 16 (4): 'AcctInputPackets'
Accounting Column 17 (4): 'AcctOutputPackets'
Accounting Column 18 (2): 'NASPortType'
Accounting Column 19 (10): 'ClientPortDNIS'
Accounting Column 20 (50): 'ConnectInfo'
Accounting Column 21 (2): 'AcctTerminateCause'
Accounting Column 22 (20): 'CalledStationId'
Accounting Column 23 (20): 'CallingStationId'
Accounting Column 24 (3): 'belongs'
Accounting Column 25 (50): 'LETerminateDetails'
26 Accounting Columns Loaded

SQL Statement: Select Server, IPAddress, Secret From RadRoamServers Where
RadRo
amServerID > 0

1 Proxy Servers Loaded
Listening on port 1645 for RADIUS Authentication.
Listening on port 1646 for RADIUS Accounting.

Enterprise features enabled.

RadiusNT 2.5.175 Enterprise Initialized...

For more information about this list (including removal) go to:
http://www.iea-software.com/support/maillists/liststart