1.Troubleshooting MySQL Connections , 2. troubleshooting possible memory leak
Stefan A.
a.freeradius at premit.de
Sun Oct 11 13:02:48 CEST 2009
Hi all,
I have been asking this in October 2008, while using 2.0.4
> >
> > > FR is eating Memory and I do not know how to troubleshoot this.
> > > It takes about 1 MB/ Minute which was about 3.5 GB over
> > some Days, before we
> > > rcognized this.
> >
> > Alan: There were issues with older versions of the server, but
> > 2.1.0 should
> > be fine.
> >
> > > I configured the option to die a server after 500 packets,
> > but this does not
> > > help for me.
> >
> > Alan: Because it stops the *thread*, not the *server*. And all
> > threads use
> > the same shared memory file.
> >
I have not been able to change the version, as it was productive and you
guys are doing such a great job, that this has been my only real problem
with FR (even if it might not be FR problem, than a problem of some used
libraries).
Thank you all.
We set up a script, which restarted FR every 2-3 hours, which certainly has
its drawback.
Now it is time to setup a new system and I'm testing 2.1.6 for some weeks
now.
I still see the memory consumption rising over the time
Output from top every 5 Minutes:
SIZE/RES
16M/13M
34M/32M
53M/51M
71M/69M
...it rises about 3-4 MB per Minutes.
I read about some issues and tried 2.1.7... still the same.
My Setup:
SUN X4100, 8GB, Solaris 10 5/09
Configured and installed incl. MySQL, but even if I disabled it for runtime,
the memory rises.
What would be a good start to debug this?
Is there a possibility, to see, which part of the running radiusd consumes
what amount of memory?
Thanks
Best regards,
Stefan
More information about the Freeradius-Users
mailing list