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

 

 

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to