# Opennebula memory high usage

**URL:** <https://forum.opennebula.io/t/opennebula-memory-high-usage/945>\
**Category:** Product Support\
**Created:** [June 30, 2015, 1:57pm UTC](https://forum.opennebula.io/t/opennebula-memory-high-usage/945 "2015-06-30T13:57:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gintaras](https://avatars.discourse-cdn.com/v4/letter/g/4da419/32.png) [@Gintaras](https://forum.opennebula.io/u/Gintaras)\
**Post date:** [June 30, 2015, 1:57pm UTC](https://forum.opennebula.io/t/opennebula-memory-high-usage/945/1 "2015-06-30T13:57:25Z")

</div>

Hello,  
Opennebula 4.12, server 4core, 8gb ram. Hypervisor 3 (testing), opennebula debian 7.8, hypervisor debian 8.1  
Opennebula server using memory ~300 MB, I run a opennebula (/etc/init.d/opennebula start) after 10 sec memory usage 2.5 GB. High memory usage process /ur/bin/oned -f. CPU usage ~30%.  
Log /var/log/one/oned.log I not see error.  
Before new hypervisor added work ok (memory usage ~500-700MB)  
Then I start sunstone and go to browser login to opennebula, vm info, memory usage 8gb+ -\> OOM killer

How to fix ?

---

<div class="post-metadata">

**Author:** ![ruben](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/ruben/32/19_2.png) [@ruben](https://forum.opennebula.io/u/ruben)\
**Post date:** [June 30, 2015, 2:20pm UTC](https://forum.opennebula.io/t/opennebula-memory-high-usage/945/2 "2015-06-30T14:20:48Z")

</div>

can you check that this is not virtual memory

---

<div class="post-metadata">

**Author:** ![Gintaras](https://avatars.discourse-cdn.com/v4/letter/g/4da419/32.png) [@Gintaras](https://forum.opennebula.io/u/Gintaras)\
**Post date:** [June 30, 2015, 4:25pm UTC](https://forum.opennebula.io/t/opennebula-memory-high-usage/945/3 "2015-06-30T16:25:39Z")

</div>

I restarted the opennebula and sunstone Now using ~7GB RAM and 41MB SWAP.  
And this process using 1core and ~3GB ram ruby /usr/lib/one/sunstone/sunstone-server.rb

Sunstone error “It appears there was a server exception. Please check server’s log.”

root@opennebula:~# free -m  
total used free shared buffers cached  
Mem: 8006 7664 341 0 27 448  
-/+ buffers/cache: 7188 817  
Swap: 2044 39 2005  
root@opennebula:~#

oneadmin 9727 8.6 10.2 2906532 839764 ? Sl 19:19 0:37 /usr/bin/oned -f  
oneadmin 9750 0.0 0.0 37968 1124 ? SNl 19:20 0:00 ruby /usr/lib/one/mads/one\_vmm\_exec.rb -t 15 -r 0 kvm  
oneadmin 9820 0.0 0.0 34428 1096 ? SNl 19:20 0:00 ruby /usr/lib/one/mads/one\_im\_exec.rb -r 3 -t 15 kvm  
oneadmin 9833 0.0 0.0 100100 1096 ? SNl 19:20 0:00 ruby /usr/lib/one/mads/one\_tm.rb -t 15 -d dummy,lvm,shared,fs\_lvm,qcow2,ssh,vmfs,ceph,dev,zvol,zvol-nfs  
oneadmin 9849 0.0 0.0 34320 1120 ? SNl 19:20 0:00 ruby /usr/lib/one/mads/one\_hm.rb  
oneadmin 9866 0.0 0.0 125684 1540 ? SNl 19:20 0:00 ruby /usr/lib/one/mads/one\_datastore.rb -t 15 -d dummy,fs,vmfs,lvm,ceph,dev,zvol,zvol-nfs  
oneadmin 9882 0.0 0.0 117516 1636 ? SNl 19:20 0:00 ruby /usr/lib/one/mads/one\_auth\_mad.rb --authn ssh,x509,ldap,server\_cipher,server\_x509  
oneadmin 10259 82.3 86.2 8058428 7072380 ? Sl 19:20 5:38 ruby /usr/lib/one/sunstone/sunstone-server.rb

---

<div class="post-metadata">

**Author:** ![jfontan](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/jfontan/32/18_2.png) [@jfontan](https://forum.opennebula.io/u/jfontan)\
**Post date:** [June 30, 2015, 9:14pm UTC](https://forum.opennebula.io/t/opennebula-memory-high-usage/945/4 "2015-06-30T21:14:09Z")

</div>

I’ve started a fresh OpenNebula in a debian 7.8 and it does not have that memory problem. Can you send us the output of `onehost list -x`?

---

<div class="post-metadata">

**Author:** ![Gintaras](https://avatars.discourse-cdn.com/v4/letter/g/4da419/32.png) [@Gintaras](https://forum.opennebula.io/u/Gintaras)\
**Post date:** [July 1, 2015, 5:19am UTC](https://forum.opennebula.io/t/opennebula-memory-high-usage/945/5 "2015-07-01T05:19:33Z")

</div>

opennebula about 6 months ok, but last week memory problem

onehost list -x  
[http://pastebin.com/eedQGUnW](http://pastebin.com/eedQGUnW)
