Solved net/freeradius2 uses 100% cpu

For some reason, a while ago net/freeradius2 (pkg), started to use a lot of CPU. When I ran radiusd -X it showed:
Code:
libssl version mismatch.  built: 1000105f linked: 100010af
Note version: FreeBSD 10.1-RELEASE-p3.
 
The OpenSSL version did change between 10.0-RELEASE and 10.1-RELEASE and packages are compiled on the lowest minor revision supported of each major revision (10.0-RELEASE in this case). Does compiling locally fix the issue?

pkg delete freeradius
cd /usr/ports/net/freeradius2; make install

If so, you should submit a bug report at https://bugs.freebsd.org/bugzilla/enter_bug.cgi
 
Compiling with OpenSSL from ports makes it work, and drop down the CPU usage. And work as it should, I wouldn't say it's completely fixed, cause every time I run pkg upgrade I need to reinstall the package from ports, but you have options :p
 
Short term, filing a bug is probably the best thing. Once 10.0 hits EOL at the end of February than the packages from the public repositories will be compiled on 10.1 and work fine. In the long term, pkg will understand what gets installed from ports and be able to handle the situation appropriately.
 
Back
Top