Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Solved] Anyway to diagnose Running out of Memory?

Featured Replies

My server seems to run completely out of ram randomly and isn't accessible even from the console.

 

Is there a way to have the logs write to the Flash or Cache so I can do a proper post-mortem?

 

Server went 163 Days uptime on Unraid 5.0.5 without issues.

 

Unraid 6.0.1

BIOSTAR NM70I-847 1.1g Celeron

4G DDR3 1333

1x SYBA SI-PEX40064

1x 3tb cache

1x 2tb data

2x 1tb data

3x 500g data

1x 500g cache

 

Dockers:

Sabnzbd

Sickbeard

Couchpotato

Apache

Smokeping

Crashplan

HTPC-Manager

Transmission

 

VMs... after I buy more RAM.

 

  • Author

Bueller?

  • Community Expert

What makes you think you are running out of memory?

  • Author

Trurl... without any logs, it's an educated guess. Dashboard shows RAM usage around 70%. My guess is that somebody starts chewing up RAM and everything falls apart when it's depleted.

 

 

RobJ... system locks to point where I cannot login directly from the console.

 

 

plupien79, we HAVE to have the diagnostics.  If you can get to the Dashboard, you can get to the Tools -> Diagnostics page.  PLEASE provide a diagnostics zip.

  • Author

RobJ...

 

Again... can't access device in any way. So SSH, No HTTP, No SAMBA, No NFS, No Dockers...

 

I'll I've got is a bunch of gibbish on my monitor... and no keyboard commands will do anything.

 

Any change of getting logs to write to a disk, that way I'd have something to look at when it comes back up?

Just trying to understand, you said above that you saw the Dashboard?  How did you get there?  And at some point you saw memory info, including 'out-of-memory' errors or something like that?  How did you see that?

 

I can't give you any instructions when in one sentence you say you saw the DashBoard and something that indicated out of memory, but in other sentences you indicate all you see is gibberish and you can't access the machine in any way.  Help!?!?  Do you mean it used to work but now does not, perhaps hardware is failing?

 

A last question, when you updated to v6 did you use the Upgrading to UnRAID v6 guide?

  • Author

RobJ...

 

I saw the high % of memory use when the machine was still running without errors or issues.

 

Yes, I updated per the instructions, even reformatting my USB drive.

  • Author

did it again... got the syslog... top showed a 133.25 load

 

dockers were accessable

 

This line seems like an issue...

kernel: general protection fault: 0000 [#1] PREEMPT SMP

syslog.zip

  • Author

Going to clean the dust off my RAM and run a good long MEMTEST.

 

Anything else I should look at?

I don't see any memory issues in this syslog, just the GPF which *could* be memory related, but no direct clue.  You have 4GB which should be enough, even for that many heavy duty dockers.  What amazes me is trying to run all that on a 1.1GHz CPU!  Memory usage is tricky in Linux.  Often what looks like all RAM used is just the caching using every available byte, but it freely gives it up to any program needing it.  What error messages did you get that indicated out of memory (and where were they)?

 

The GPF happens 5 seconds into the Mover, so probably related to *something* there, but no syslog clue as to why it happened.

 

I still think a long memory test is a good idea.  The board seems fairly modern, with 8 6gbps SATA ports, but the BIOS is from 2012.  You might check for an update.

  • Author

Found it.

 

Ran MEMTEST and it threw a TON of errors. I opened my case and found a TINY paint chip wedged into the contacts, Cleaned it out, ran a 12hour MEMTEST overnight with 0 errors.

 

Robj:

CPU is Dual Core Sandy Bridge Based. No other BIOS available either.

 

Those apps are not CPU intensive except for the unrar when sab is done downloading. Since it's all automated it doesn't matter if it takes longer to do that operation as I'm not sitting waiting for it.

The vast majority of my UnRaid box is to serve files which it does using very little CPU. Parity checks average 100 megs a second and with the cache drive most writes are limited by WIFI during the day.

 

The great benefit to that CPU is that my unraid box draws 20watts with the disks spun down and around 80watts during a parity check.

 

 

Found it.

 

Ran MEMTEST and it threw a TON of errors. I opened my case and found a TINY paint chip wedged into the contacts, Cleaned it out, ran a 12hour MEMTEST overnight with 0 errors.

Excellent!

 

Robj:

CPU is Dual Core Sandy Bridge Based. No other BIOS available either.

 

Those apps are not CPU intensive except for the unrar when sab is done downloading. Since it's all automated it doesn't matter if it takes longer to do that operation as I'm not sitting waiting for it.

The vast majority of my UnRaid box is to serve files which it does using very little CPU. Parity checks average 100 megs a second and with the cache drive most writes are limited by WIFI during the day.

 

The great benefit to that CPU is that my unraid box draws 20watts with the disks spun down and around 80watts during a parity check.

Very good!  Because I don't know the user I'm responding to, or their experience level, I try to point out anything that appears anomalous, unusual, just in case ...  In your case, this was a studied decision, to take advantage of the power savings.  Great!  Wish I had better power usage...

  • Author

Thank You

 

Version 6 brought in MANY new features that I don't have the hardware to support but it's always nice to "need" to upgrade.

 

I'd like to move my Domain Controller and my PBX over to VMs, but I really don't have the horsepower for that.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.