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.

High Memory Usage

Featured Replies

Memory usage.

 

I'm noticing a considerable spike in memory usage. I have 3GB of RAM and it's using every single solitary bit of it. This is causing horrible streaming problems for video and stuttering to occur.

 

op - 22:51:14 up  4:05,  1 user,  load average: 2.37, 2.18, 2.13

Tasks:  72 total,  2 running,  70 sleeping,  0 stopped,  0 zombie

Cpu(s):  2.7%us, 22.3%sy,  0.0%ni, 53.7%id, 20.9%wa,  0.2%hi,  0.3%si,  0.0%st

Mem:  3115880k total,  3026248k used,    89632k free,    34824k buffers

Swap:        0k total,        0k used,        0k free,  2909136k cached

 

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND

1502 root      20  0 14324 4748 3540 S    2  0.2  3:53.32 smbd

1430 root      20  0 55464 3708  548 S  22  0.1  56:04.68 shfs

1290 root      20  0 12692 3256 2524 S    0  0.1  0:00.03 smbd

1288 root      20  0  8308 1772 1196 S    0  0.1  0:00.09 nmbd

1511 root      20  0  7180 1728 1364 R    0  0.1  0:00.02 in.telnetd

1295 root      20  0 12692 1672  940 S    0  0.1  0:00.00 smbd

1296 root      20  0 53772 1520 1124 S    0  0.0  0:01.87 emhttp

1512 root      20  0  2428 1304 1052 S    0  0.0  0:00.01 bash

1240 root      20  0  3980 1212  940 S    0  0.0  0:00.01 ntpd

 

 

 

What I am doing:

bitorrent-2 downloading 1 uploading utorrent.

Streaming an AVI (not mkv)

 

 

That's it. no other file transfer or massive activity. I'm on a gigabit network and it's showing full gigE:

 

eth0: negotiated 1000baseT-FD flow-control, link ok

 

 

both my computer (WinVista x64) and this server are just going slow. I can't get full gig line speed as I'll hit 100mbps (bit not Bytes) i'm lucky to hit 60mb which there's no way it should be going that slow.

 

Any idea what is going on or is this some quirk with 4.5b6?

 

It is not uncommon for a linux system to use all unused ram for buffer cache (as you see in the cached colum).

 

I noticed the system is at 21%WA (waiting for I/O).  Reads or writes.

I also noticed the shfs us at 22% cpu.

 

This makes me think something is reading or writing to a user share fairly often keeping it a bit busy.

 

How is your torrent configuration set up?

Is it on the local machine or a remote machine on the network.

 

Keep in mind the torrent client is reading little bits of files here and there to serve clients or writing randomly to one or more files.

All of this repositioning chttp://lime-technology.com/forum/index.php?action=post;topic=4191.0;num_replies=0ould cause demands on the network or user share.

 

I have my torrent client lhttp://lime-technology.com/forum/index.php?action=post;topic=4191.0;num_replies=0ocal on unRAID with rtorrent.

I also use a direct disk share so the user share does not come into play for anything.

 

If you are still having stutter issues, try redirecting the movie you are reading to use the disk share instead and see how it goes.

http://lime-technology.com/forum/index.php?action=post;topic=4191.0;num_replies=0

Next test would be to check the network speed out with something like nttcp. This only tests the network layer and not the filesystem sharing layer.

 

http://sd.wareonearth.com/~phil/net/ttcp/

http://www.pcausa.com/Utilities/ttcptxdown.htm

 

C:\tmp>pcattcp -t atlas
PCAUSA Test TCP Utility V2.01.01.08
TCP Transmit Test
  Remote Host : atlas
  Transmit    : TCP -> 192.168.1.179:5001
  Buffer Size : 8192; Alignment: 16384/0
  TCP_NODELAY : DISABLED (0)
  Connect     : Connected to 192.168.1.179:5001
  Send Mode   : Send Pattern; Number of Buffers: 2048
  Statistics  : TCP -> 192.168.1.179:5001
16777216 bytes in 0.30 real seconds = 55164.98 KB/sec +++
numCalls: 2048; msec/call: 0.15; calls/sec: 6895.62

C:\tmp>

 

root@Atlas /boot/custom/bin #nttcp -r
ttcp-r: buflen=65536, nbuf=2048, port=5001 tcp
ttcp-r: socket
ttcp-r: accept from 192.168.1.16
send window size = 65536
receive window size = 87380
ttcp-r: 16777216 bytes in 1.31 real seconds = 12525.86 KB/sec = 100.2069 Mb/s
ttcp-r: 7219 I/O calls, msec/call = 0.19, calls/sec = 5519.05
ttcp-r: 0.0user 0.0sys 0:01real 3% 0i+0d 0maxrss 0+8pf 6662+1csw

 

and then in the other direction

 

C:\tmp>pcattcp -r
PCAUSA Test TCP Utility V2.01.01.08
TCP Receive Test
  Local Host  : rgcxp
**************
  Listening...: On port 5001

  Accept      : TCP <- 192.168.1.179:41580
  Buffer Size : 8192; Alignment: 16384/0
  Receive Mode: Sinking (discarding) Data
  Statistics  : TCP <- 192.168.1.179:41580
134217728 bytes in 1.81 real seconds = 72335.54 KB/sec +++
numCalls: 17090; msec/call: 0.11; calls/sec: 9431.57

 

root@Atlas /boot/custom/bin #nttcp -t 192.168.1.16 
ttcp-t: buflen=65536, nbuf=2048, port=5001 tcp  -> 192.168.1.16
ttcp-t: socket
ttcp-t: connect
send window size = 65536
receive window size = 87380
ttcp-t: 134217728 bytes in 1.83 real seconds = 71743.85 KB/sec = 573.9508 Mb/s
ttcp-t: 2048 I/O calls, msec/call = 0.91, calls/sec = 1121.00
ttcp-t: 0.0user 0.1sys 0:01real 8% 0i+0d 0maxrss 0+15pf 2283+2csw

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.