Hello, Newbie here again...
After debugging my previous problem where Radius seemed to not send proper attributes to switch I noticed that problem was more in server where cpu usage was >100 and memory & swap had 100% full (For reason unknown this morning system worked well with full swap too... Except now after 10mins of use and raddebug I got another meltdown) After rebooting PF server everything works really fine for about half a day but bit by bit swap space is filling up and when swap is full cpu utilization explodes from "normal" (1min avg around 0.8->2) to 100-200 which causes total freeze in Radius and of corse webUI too. Any idea is this some kind of bug if PF, compatibility issue while using VirtualBox or 6GB of ram for one switch having one port to test mac auth is just not enough and 16GB is really needed? My test system is running on AMD Rhyzen 7 having 8 cores/16 threads and 16G of physical memory. PF 13.0 is installed to Centos 8 Stream which is installed to VirtualBox instance allocating 6 cpu cores and 6GB of ram to PF... ********* TOP DATA **** top - 09:14:39 up 4 days, 21:16, 1 user, load average: 0.15, 0.29, 0.30 Tasks: 360 total, 2 running, 357 sleeping, 0 stopped, 1 zombie %Cpu(s): 1.1 us, 0.9 sy, 0.0 ni, 96.9 id, 0.1 wa, 0.8 hi, 0.3 si, 0.0 st MiB Mem : 5668.6 total, 117.0 free, 5277.5 used, 274.1 buff/cache MiB Swap: 4052.0 total, 0.0 free, 4052.0 used. 145.8 avail Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 338699 root 20 0 718424 482696 1340 S 0.0 8.3 0:37.33 pfperl-api 338700 root 20 0 706928 438328 1336 S 0.0 7.6 0:35.92 pfperl-api 338701 root 20 0 692636 435892 1540 S 0.0 7.5 0:43.80 pfperl-api 338702 root 20 0 682104 349364 2272 S 0.0 6.0 0:36.18 pfperl-api 338705 root 20 0 471964 304400 2212 S 0.0 5.2 0:26.88 pfperl-api 338704 root 20 0 462852 287584 1404 S 0.0 5.0 0:24.00 pfperl-api 338703 root 20 0 454212 279320 2076 S 0.0 4.8 0:31.32 pfperl-api 338698 root 20 0 477828 221312 2144 S 0.0 3.8 0:31.69 pfperl-api 338670 root 20 0 384332 181592 0 S 0.0 3.1 0:46.31 pfperl-api 3723 root 20 0 1742512 170492 0 S 0.0 2.9 10:43.97 pfcron 362529 root 20 0 258244 155680 0 S 0.0 2.7 0:15.33 freeradius 2212 mysql 20 0 4097316 81144 0 S 0.0 1.4 20:57.45 mariadbd 367143 netdata 20 0 280556 76420 0 S 1.0 1.3 8:44.09 netdata 1738 root 20 0 223308 75196 0 S 0.7 1.3 70:07.59 pfconfig 367390 root 20 0 94208 41784 39724 S 0.0 0.7 0:24.15 radsniff 423035 polkitd 20 0 334672 41300 2040 S 0.0 0.7 0:01.41 /usr/sbin/apach 423036 polkitd 20 0 334672 41104 1980 S 0.0 0.7 0:01.38 /usr/sbin/apach 423037 polkitd 20 0 334672 41080 1980 S 0.0 0.7 0:01.38 /usr/sbin/apach 405467 polkitd 20 0 270116 40564 2096 S 0.0 0.7 0:08.60 /usr/sbin/apach 405347 polkitd 20 0 270116 40336 2008 S 0.0 0.7 0:09.00 /usr/sbin/apach 405881 polkitd 20 0 270116 40092 2044 S 0.0 0.7 0:08.17 /usr/sbin/apach 1062 root 20 0 2908136 32640 0 S 0.0 0.6 2:48.34 dockerd 373369 pf 20 0 270176 31272 2252 S 0.0 0.5 0:02.21 /usr/sbin/apach 346074 pf 20 0 270176 31116 3956 S 0.0 0.5 0:03.29 /usr/sbin/apach 422305 root 20 0 1506196 30868 2084 S 0.0 0.5 0:00.40 docker 346729 pf 20 0 270176 29420 2960 S 0.0 0.5 0:03.59 /usr/sbin/apach 320900 pf 20 0 270176 29288 3116 S 0.0 0.5 0:10.85 /usr/sbin/apach 422417 root 20 0 1550472 28524 0 S 0.0 0.5 0:10.81 pfhttpd 393353 root 20 0 244088 26128 16576 S 0.0 0.5 0:21.64 systemd-journal 5697 root 20 0 334340 24572 192 S 0.0 0.4 0:47.70 /usr/sbin/apach 834 root 20 0 1646336 23256 0 S 0.0 0.4 4:08.45 containerd 423621 root 20 0 515536 22684 2076 S 0.0 0.4 0:02.48 pfqueue - Queue 423684 root 20 0 515536 22672 2076 S 0.0 0.4 0:02.49 pfqueue - worke 423664 root 20 0 515536 22416 2076 S 0.0 0.4 0:02.35 pfqueue - Queue 423708 root 20 0 515536 22400 2076 S 0.0 0.4 0:02.47 pfqueue - worke 367130 root 20 0 1612528 22028 0 S 0.7 0.4 4:21.17 pfstats 423941 root 20 0 515536 21644 2076 S 0.0 0.4 0:01.88 pfqueue - Queue 423955 root 20 0 515536 21616 2076 S 0.3 0.4 0:02.07 pfqueue - worke 424030 root 20 0 515536 21376 2076 S 0.0 0.4 0:01.82 pfqueue - Queue 393617 root 20 0 1580184 21288 0 S 0.0 0.4 0:01.89 docker 424276 root 20 0 515536 20592 2076 S 0.0 0.4 0:01.47 pfqueue - Queue 424391 root 20 0 515536 20588 2076 S 0.7 0.4 0:01.23 pfqueue - Queue 424347 root 20 0 515536 20564 2076 S 0.3 0.4 0:01.39 pfqueue - worke 424412 root 20 0 515536 20332 2076 S 0.3 0.4 0:01.17 pfqueue - Queue 424460 root 20 0 515536 20332 2076 S 0.3 0.4 0:01.09 pfqueue - Queue 424817 root 20 0 515536 20068 2076 S 0.0 0.3 0:00.56 pfqueue - worke 424892 root 20 0 515536 19952 2080 S 0.3 0.3 0:00.41 pfqueue - worke 424905 root 20 0 515536 19952 2080 S 0.3 0.3 0:00.41 pfqueue - worke 425053 root 20 0 515536 19952 2228 S 0.3 0.3 0:00.14 pfqueue - Queue 424888 root 20 0 515536 19940 2080 S 0.0 0.3 0:00.44 pfqueue - worke Terveisin -jori _______________________________________________ PacketFence-users mailing list PacketFence-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/packetfence-users