# Rocky LInux 9.4 Memory Issue after update from 9.3

**URL:** <https://forums.rockylinux.org/t/rocky-linux-9-4-memory-issue-after-update-from-9-3/14024>\
**Category:** Rocky Linux Help & Support\
**Tags:** rocky-linux-8, rocky-linux-9\
**Created:** [May 13, 2024, 1:59am UTC](https://forums.rockylinux.org/t/rocky-linux-9-4-memory-issue-after-update-from-9-3/14024 "2024-05-13T01:59:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mjmabs](https://avatars.discourse-cdn.com/v4/letter/m/f19dbf/32.png) [@mjmabs](https://forums.rockylinux.org/u/mjmabs)\
**Post date:** [May 13, 2024, 1:59am UTC](https://forums.rockylinux.org/t/rocky-linux-9-4-memory-issue-after-update-from-9-3/14024/1 "2024-05-13T01:59:07Z")

</div>

Updated a Virtualization Host Server to RL9.4 yesterday and 24 hours later, TOP, /proc/meminfo, System Monitor are reporting 99% memory utilization. Even after shutting down all the virtualization clients (turn off auto-start) and rebooting, system instantly reports 99% memory utilization before virtualization starts via TOP, /proc/meminfo, System Monitor. System is using OpenVSwitch with DPDK enabled as it was in RL9.3

top - 18:51:24 up 49 min, 1 user, load average: 19.62, 19.09, 16.17  
Tasks: 1097 total, 5 running, 1092 sleeping, 0 stopped, 0 zombie  
%Cpu(s): 6.0 us, 4.4 sy, 0.1 ni, 84.8 id, 4.0 wa, 0.5 hi, 0.2 si, 0.0 st  
MiB Mem : 257356.0 total, 665.1 free, 257356.0 used, 471.1 buff/cache  
MiB Swap: 524288.0 total, 432395.2 free, 91892.8 used. 709.8 avail Mem

After:  
Linux sys7 5.14.0-427.16.1.el9\_4.x86\_64 #1 SMP PREEMPT\_DYNAMIC Wed May 8 17:48:14 UTC 2024 x86\_64 x86\_64 x86\_64 GNU/Linux

Before:  
Linux sys7 5.14.0-362.24.1.el9\_3.0.1.x86\_64 #1 SMP PREEMPT\_DYNAMIC Thu Apr 4 22:31:43 UTC 2024 x86\_64 x86\_64 x86\_64 GNU/Linux

---

<div class="post-metadata">

**Author:** ![mjmabs](https://avatars.discourse-cdn.com/v4/letter/m/f19dbf/32.png) [@mjmabs](https://forums.rockylinux.org/u/mjmabs)\
**Post date:** [May 13, 2024, 4:29pm UTC](https://forums.rockylinux.org/t/rocky-linux-9-4-memory-issue-after-update-from-9-3/14024/2 "2024-05-13T16:29:20Z")

</div>

Discovered error via fire drill method, via the documentation [Open vSwitch with DPDK — Open vSwitch 3.3.90 documentation](https://docs.openvswitch.org/en/latest/intro/install/dpdk/) it talks about setting “echo ‘vm.nr\_hugepages=2048’ \> /etc/sysctl.d/hugepages.conf” or “sysctl -w vm.nr\_hugepages=N # where N = No. of 2M huge pages”. If you follow the “sysctl.d/hugepages.conf” method or “grubby --args hugepages=2048 --update-kernel DEFAULT” method it applies as 204% of memory but if you apply via the “sysctl -w vm.nr\_hugepages=N # where N = No. of 2M huge pages” method and say 8 or 16 or 32 it applies and doesn’t over-allocate system memory.

---

<div class="post-metadata">

**Author:** ![gerry666uk](https://avatars.discourse-cdn.com/v4/letter/g/dbc845/32.png) [@gerry666uk](https://forums.rockylinux.org/u/gerry666uk)\
**Post date:** [May 13, 2024, 7:04pm UTC](https://forums.rockylinux.org/t/rocky-linux-9-4-memory-issue-after-update-from-9-3/14024/3 "2024-05-13T19:04:37Z")

</div>

But are you saying the setting for hugepages has changed between Rocky 9.3 and Rocky 9.4?

---

<div class="post-metadata">

**Author:** ![mjmabs](https://avatars.discourse-cdn.com/v4/letter/m/f19dbf/32.png) [@mjmabs](https://forums.rockylinux.org/u/mjmabs)\
**Post date:** [May 13, 2024, 7:30pm UTC](https://forums.rockylinux.org/t/rocky-linux-9-4-memory-issue-after-update-from-9-3/14024/4 "2024-05-13T19:30:05Z")

</div>

Not sure, I have posted the same thing to the OpenvSwitch community as well. Have several other servers running 9.3 and 1/2 versions back of OpenvSwitch/DPDK and while they show the memory usage high, they are not crashes like this one was. Now that I have a working workaround will attempt to update another server as well and see if issue follows.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/1X/91b7219eec10e30013422e4df76c1d898711a5d5.svg) [@system](https://forums.rockylinux.org/u/system)\
**Post date:** [July 12, 2024, 7:31pm UTC](https://forums.rockylinux.org/t/rocky-linux-9-4-memory-issue-after-update-from-9-3/14024/5 "2024-07-12T19:31:00Z")

</div>

Closed on July 12, 2024, 7:31pm UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
