FreeRadius 1.1.1 and run-away CPU
Hi all. I'm running freeraduius 1.1.1 on a FreeBSD 5.4 server. I'm using the mysql module (mysql 4.0.24), and everything seems to be working fine... but at random times, the CPU becomes pegged by the radiusd process, and it will stop accepting requests from my clients. This does not (seem to) occur when I run in debug (-X), but I obviously don't want to run it in that mode for the long term. I've looked around, and can't seem to find anything that might be causing this to happen. last pid: 3745; load averages: 0.51, 0.26, 0.53 up 0+18:46:06 09:29:34 41 processes: 2 running, 39 sleeping CPU states: 46.7% user, 0.0% nice, 52.9% system, 0.4% interrupt, 0.0% idle Mem: 41M Active, 315M Inact, 105M Wired, 12K Cache, 111M Buf, 535M Free Swap: 1024M Total, 1024M Free PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 3744 root 115 0 4172K 3240K RUN 0:42 98.62% 86.57% radiusd 536 mysql 20 0 57672K 33996K kserel 1:07 0.00% 0.00% mysqld 414 root 96 0 3476K 2808K select 0:01 0.00% 0.00% sendmail This is a 2.8GHz box with 1GB ram. Restarting the daemon sometimes helps, for a while, then high CPU again. Sometimes it spikes up immediately. Reboot has not helped. Thoughts? -A
"Aaron Burruss" <aburruss@networkinsight.com> wrote:
I'm running freeraduius 1.1.1 on a FreeBSD 5.4 server. I'm using the mysql module (mysql 4.0.24), and everything seems to be working fine... but at random times, the CPU becomes pegged by the radiusd process, and it will stop accepting requests from my clients. This does not (seem to) occur when I run in debug (-X), but I obviously don't want to run it in that mode for the long term. I've looked around, and can't seem to find anything that might be causing this to happen.
Are you proxying requests? If so, try the patch from bug #331. Alan DeKok.
Hi,
Are you proxying requests? If so, try the patch from bug #331.
Is this patch going into 1.1.2? Stefan -- Stefan WINTER Stiftung RESTENA - Réseau Téléinformatique de l'Education Nationale et de la Recherche Ingenieur Forschung & Entwicklung 6, rue Richard Coudenhove-Kalergi L-1359 Luxembourg E-Mail: stefan.winter@restena.lu Tel.: +352 424409-1 http://www.restena.lu Fax: +352 422473
Stefan Winter <stefan.winter@restena.lu> wrote:
Are you proxying requests? If so, try the patch from bug #331.
Is this patch going into 1.1.2?
No. There's been no feedback about whether it works, or it takes the server down. If people say it works, and helps proxying, it will go into a later release. Alan DeKok.
participants (3)
-
Aaron Burruss -
Alan DeKok -
Stefan Winter