Having been running freeradius in debug mode (with no problems at all) for a month or so while testing and provisioning, it's time to put it in production. Unfortunately, when I run it as a service, it dies after a few hours. No clues, no errors, no nothing . it just silently dies off. Load is not a factor - we're migrating our wireless networks to PPPOE, and right now just have a handful of test users. So freeradius isn't handling more than a handful of requests per hour. I'm running RHEL4, fully up2date. Freeradius 1.1.6, using sqlippool and sql accounting. MySql 5.1 is on another machine. If it makes any difference, the init.d integration seems to be working fine, it correctly starts on boot, and I can control it with 'service'. Are there any logs or stats I could post to help give a clue? I'm basically looking at a blank wall, I have no idea how to even start trying to track this one down. As usual, TIA for any suggestions. -- hugh
Hugh Messenger wrote:
Unfortunately, when I run it as a service, it dies after a few hours. No clues, no errors, no nothing . it just silently dies off. Load is not a factor - we're migrating our wireless networks to PPPOE, and right now just have a handful of test users. So freeradius isn't handling more than a handful of requests per hour.
Run it under valgrind, and re-direct all of the valgrind output to a file.
Are there any logs or stats I could post to help give a clue? I'm basically looking at a blank wall, I have no idea how to even start trying to track this one down.
If valgrind doesn't help, start with a minimal configuration (i.e. the default one), and work from there. The code was scanned for certain classes of defects by Coverity, but perhaps not all modules were covered. If your configuration can be temporarily run from the "users" file, then I would suggest doing that. Then, if it doesn't die, add one more module at a time to the config, until it does die. That helps to narrow down the problem, at least. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
participants (2)
-
Alan Dekok -
Hugh Messenger