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.

During unRaid Trial Period - Getting lots of memory errors

Featured Replies

Getting lots of the following memory errors which causes unRaid to reboot.

 

- mmap() failed: [12] Cannot allocate memory

 

also

 

Can't initialize heap: [12] Cannot allocate memory

 

Machine is a 6 core Xeon Intel processor, 2.66Mhz, 12gb of RAM, only have one hard drive currently during testing period (500gb Seagate 7200rpm drive).

 

Was copying files (anywhere from 500mb to 1.2gb in size) across my internal LAN from a WD Cloud Drive to the unRaid server.  Getting the errors shown above.

 

I had to resort to copying the files one at a time rather than copying multiple files at once.  That seems to have helped to resolve the problem but makes it a very slow process.

 

Ideas from anyone?

 

Thanks.

Probably be best to post your diagnostics showing those errors.

  • Author

Just was able to duplicate the problem...

 

Here is what was in the log.

 

Mar 5 09:37:52 unRAID emhttp: err: sendOutput: fork failed
Mar 5 09:37:52 unRAID emhttp: err: sendOutput: fork failed
Mar 5 09:37:54 unRAID emhttp: err: _shcmd: system: Cannot allocate memory
Mar 5 09:37:54 unRAID emhttp: err: _shcmd: system: Cannot allocate memory
Mar 5 09:37:54 unRAID emhttp: err: emhttp_event: popen /usr/local/sbin/emhttp_event svcs_restarting: Cannot allocate memory
Mar 5 09:37:54 unRAID emhttp: err: _shcmd: system: Cannot allocate memory
Mar 5 09:37:54 unRAID emhttp: err: _shcmd: system: Cannot allocate memory
Mar 5 09:37:54 unRAID emhttp: err: _shcmd: system: Cannot allocate memory
Mar 5 09:37:54 unRAID emhttp: err: _shcmd: system: Cannot allocate memory
Mar 5 09:37:54 unRAID emhttp: shcmd (12135): /etc/rc.d/rc.atalk start |& logger
Mar 5 09:37:54 unRAID emhttp: err: _shcmd: system: Cannot allocate memory
Mar 5 09:37:54 unRAID emhttp: err: shcmd: shcmd (12135): exit status: -1
Mar 5 09:37:54 unRAID emhttp: shcmd (12136): cp /tmp/emhttp/afp.service /etc/avahi/services/afp.service
Mar 5 09:37:54 unRAID emhttp: err: _shcmd: system: Cannot allocate memory
Mar 5 09:37:54 unRAID emhttp: err: shcmd: shcmd (12136): exit status: -1
Mar 5 09:37:54 unRAID emhttp: err: emhttp_event: popen /usr/local/sbin/emhttp_event svcs_restarted: Cannot allocate memory
Mar 5 09:37:54 unRAID emhttp: err: _shcmd: system: Cannot allocate memory
Mar 5 09:37:54 unRAID emhttp: err: _shcmd: system: Cannot allocate memory
Mar 5 09:37:54 unRAID emhttp: err: _shcmd: system: Cannot allocate memory
Mar 5 09:37:54 unRAID emhttp: err: _shcmd: system: Cannot allocate memory
Mar 5 09:37:54 unRAID emhttp: err: _shcmd: system: Cannot allocate memory
Mar 5 09:37:54 unRAID emhttp: err: _shcmd: system: Cannot allocate memory
Mar 5 09:37:54 unRAID emhttp: err: _shcmd: system: Cannot allocate memory
Mar 5 09:37:54 unRAID emhttp: err: _shcmd: system: Cannot allocate memory
Mar 5 09:37:54 unRAID emhttp: err: _shcmd: system: Cannot allocate memory
Mar 5 09:37:54 unRAID emhttp: err: _shcmd: system: Cannot allocate memory
Mar 5 09:37:54 unRAID Mar 5 09:40:01 unRAID kernel: monitor[28630]: segfault at 0 ip 00000000005f42ad sp 00007fffc623c910 error 4 in php[400000+724000]
Mar 5 09:40:01 unRAID liblogging-stdlog: action 'action 0' resumed (module 'builtin:omfile') [v8.23.0 try http://www.rsyslog.com/e/2359 ]
Mar 5 09:40:01 unRAID liblogging-stdlog: action 'action 0' resumed (module 'builtin:omfile') [v8.23.0 try http://www.rsyslog.com/e/2359 ]
Mar 5 09:40:11 unRAID afpd[9179]: dsi_cmdreply(-1): No data available
Mar 5 09:40:16 unRAID crond[1650]: exit status 139 from user root /usr/local/emhttp/plugins/dynamix/scripts/monitor &> /dev/null
Mar 5 09:40:16 unRAID sSMTP[28635]: Creating SSL connection to host
Mar 5 09:40:16 unRAID sSMTP[28635]: SSL connection using ECDHE-RSA-AES128-GCM-SHA256
Mar 5 09:40:18 unRAID sSMTP[28635]: Sent mail for [email protected] (221 2.0.0 closing connection 59sm7472498ota.53 - gsmtp) uid=0 username=root outbytes=545
Mar 5 09:41:01 unRAID emhttp: error: cmdStatus: wrong csrf_token
Mar 5 09:41:43 unRAID afpd[28750]: dsi_stream_read: len:0, unexpected EOF
Mar 5 09:41:52 unRAID afpd[4679]: Terminated disconnected child[9179], client rebooted.
Mar 5 09:41:52 unRAID afpd[4679]: child[9179]: asev_del_fd: 6
Mar 5 09:42:01 unRAID emhttp: error: cmdStatus: wrong csrf_token

 

Does this look like a hardware issue or some unRaid software setting that I don't have correctly set?

 

Thanks for any help.

  • Community Expert
9 hours ago, Squid said:

post your diagnostics

Tools - Diagnostics. Post complete zip.

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.