Hello Stefano,

2.12 is quite old, and is has several bugs. Why not update it to at least 2.2.5?

As for problems, there is a know bug when using mschap in 2.1.12, that often freeradius stops answering requests after a reload when rotating logs. You have to edit /etc/logrotate.d/freeradius and change the reload for a restart if that is your case.

Another probable source of cpu/ I/O load is radwtmp and similar files, as they grow and are not rotated per the default configuration. I dont use them, I rely on the (My)SQL data.

Hope these tips help you in some way. You are welcome to ask me any questions.

Regards,
Rui


Date: Fri, 1 Aug 2014 10:57:48 +0200
From: Stefano PASCALI <stefano.pascali@unisalento.it>
To: FreeRadius users mailing list
        <freeradius-users@lists.freeradius.org>
Subject: CPU utilization
Message-ID: <488B69B7-9992-4940-B9D0-04A1DD6CD698@unisalento.it>
Content-Type: text/plain; charset=us-ascii

Hi FR folks,

I got a strange cpu load on my FR installation. Sometimes CPU utilization rises to 100% and FR service doesn't respond anymore to the clients. I got two virtual servers enabled: default and inner-tunnel and their configurations are the provided ones by the FR installation.
Configuration details in the following:

OS: Ubuntu server 14.04
Deamon: freeradius 2.1.12+dfsg-1.2ubuntu8 amd64
2 vcpu
RAM 4GB

Users on freeradius MySQL (5.x) DB installed on a different virtual host on the same hosting server.

Hosting server (Ubuntu server 14.04 + Xen 4.3) HP PL G5
CPU: 2 x Intel(R) Xeon(R) CPU E7330 @ 2.40GHz - cpu cores 4; [total cores 2x4 = 8]
RAM 16GiB

Do you have any ideas to solve my issue?
Hope someone help me.

Regards
Stefano

------------------------------

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

End of Freeradius-Users Digest, Vol 112, Issue 1
************************************************