<div dir="ltr"><div>Hello Stefano,</div><div><br></div><div>2.12 is quite old, and is has several bugs. Why not update it to at least 2.2.5?</div><div><br></div><div>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.</div>
<div><br></div><div>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.</div><div><br></div><div>
Hope these tips help you in some way. You are welcome to ask me any questions.</div><div><br></div><div>Regards,</div><div>Rui</div><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Message: 7<br>
Date: Fri, 1 Aug 2014 10:57:48 +0200<br>
From: Stefano PASCALI <<a href="mailto:stefano.pascali@unisalento.it">stefano.pascali@unisalento.it</a>><br>
To: FreeRadius users mailing list<br>
<<a href="mailto:freeradius-users@lists.freeradius.org">freeradius-users@lists.freeradius.org</a>><br>
Subject: CPU utilization<br>
Message-ID: <<a href="mailto:488B69B7-9992-4940-B9D0-04A1DD6CD698@unisalento.it">488B69B7-9992-4940-B9D0-04A1DD6CD698@unisalento.it</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Hi FR folks,<br>
<br>
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.<br>
Configuration details in the following:<br>
<br>
OS: Ubuntu server 14.04<br>
Deamon: freeradius 2.1.12+dfsg-1.2ubuntu8 amd64<br>
2 vcpu<br>
RAM 4GB<br>
<br>
Users on freeradius MySQL (5.x) DB installed on a different virtual host on the same hosting server.<br>
<br>
Hosting server (Ubuntu server 14.04 + Xen 4.3) HP PL G5<br>
CPU: 2 x Intel(R) Xeon(R) CPU E7330 @ 2.40GHz - cpu cores 4; [total cores 2x4 = 8]<br>
RAM 16GiB<br>
<br>
Do you have any ideas to solve my issue?<br>
Hope someone help me.<br>
<br>
Regards<br>
Stefano<br>
<br></blockquote></div></div></div>