Maximum memory in ReadyNAS 1100

Please post questions and issues pertaining to the ReadyNAS hardware and hardware compatibility here.

Moderators: chirpa, Han Solo

Similar topics


Maximum memory in ReadyNAS 1100

Postby btm » Tue May 06, 2008 12:32 pm

There is very little information on the HCL http://www.readynas.com/?page_id=83 about memory in the 1100.

I have an 1100 that's running out of memory. It has 512mb, which I believe is stock. Can I put a 1GB SODIMM in it?

Code: Select all
Out of Memory: Kill process 29227 (smbd) score 63 and children.
Out of memory: Killed process 29227 (smbd).
nas-01:/var/log# free
             total       used       free     shared    buffers     cached
Mem:        487840     480912       6928          0      10304       3968
-/+ buffers/cache:     466640      21200
Swap:      1572640      20640    1552000
nas-01:/var/log#
btm
ReadyNAS Newbie
 
Posts: 27
Joined: Mon Mar 17, 2008 2:51 pm

Re: Maximum memory in ReadyNAS 1100

Postby Grievous » Tue May 06, 2008 12:35 pm

There are some users that have upgraded their units to 1GB, but I don't believe we have any updated information for the HCL regarding 1GB modules. You might want to do a search on the forum and see what other users have used.
User avatar
Grievous
Jedi Council
 
Posts: 2035
Joined: Thu Jul 20, 2006 11:47 am
ReadyNAS: X6

Re: Maximum memory in ReadyNAS 1100

Postby btm » Tue May 06, 2008 12:46 pm

Grievous wrote:There are some users that have upgraded their units to 1GB, but I don't believe we have any updated information for the HCL regarding 1GB modules. You might want to do a search on the forum and see what other users have used.


I've poked around the forum and the web but was hoping for more of a "the chipset in this system will support 1GB" answer than what people have tried.

It's pretty neat that the system is murdering processes despite having so much free swap. Not that I need more disk IO or anything.

Code: Select all
oom-killer: gfp_mask=0x201d2, order=0
[80056a60 : __do_page_cache_readahead+0x118/0x16c ] [80050600 : filemap_nopage+0x30c/0x3bc ] [8005eb44 : do_no_page+0x58/0x390 ] [8005f018 : __handle_mm_fault+0xf0/0x4a4 ] [8032d0f4 : 0x8032d0f4 ] [8032c144 : 0x8032c144 ] [20291b88 : 0x20291b88 ]
Mem-info:
DMA per-cpu:
cpu 0 hot: high 0, batch 1 used:0
cpu 0 cold: high 0, batch 1 used:0
DMA32 per-cpu: empty
Normal per-cpu:
cpu 0 hot: high 42, batch 7 used:6
cpu 0 cold: high 14, batch 3 used:13
HighMem per-cpu: empty
Free pages:        6512kB (0kB HighMem)
Active:575 inactive:415 dirty:0 writeback:1 unstable:0 free:407 slab:2097 mapped:418 pagetables:0
DMA free:3184kB min:80kB low:96kB high:112kB active:0kB inactive:0kB present:16384kB pages_scanned:0 all_unreclaimable? yes
lowmem_reserve[]: 0 0 124 124
DMA32 free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 124 124
Normal free:3328kB min:2752kB low:3440kB high:4128kB active:9200kB inactive:6640kB present:507904kB pages_scanned:4139 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
HighMem free:0kB min:512kB low:512kB high:512kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
DMA: 1*16kB 1*32kB 1*64kB 0*128kB 0*256kB 0*512kB 1*1024kB 1*2048kB 0*4096kB 0*8192kB 0*16384kB = 3184kB
DMA32: empty
Normal: 42*16kB 1*32kB 1*64kB 2*128kB 1*256kB 0*512kB 0*1024kB 1*2048kB 0*4096kB 0*8192kB 0*16384kB = 3328kB
HighMem: empty
Swap cache: add 2163251, delete 2163133, find 444680/1148913, race 27+605
Free swap  = 1552640kB
Total swap = 1572640kB
Free swap:       1552640kB
30490 pages of RAM
407 free pages
Out of Memory: Kill process 29302 (sshd) score 44 and children.
Out of memory: Killed process 29304 (bash).
btm
ReadyNAS Newbie
 
Posts: 27
Joined: Mon Mar 17, 2008 2:51 pm

Re: Maximum memory in ReadyNAS 1100

Postby chirpa » Tue May 06, 2008 12:52 pm

What is the output of 'ps aux' ? I am curious to see what is eating all the memory.
User avatar
chirpa
Jedi Council
 
Posts: 11174
Joined: Mon Sep 24, 2007 11:52 am
Location: T.A.R.D.I.S.
ReadyNAS: Repertoire

Re: Maximum memory in ReadyNAS 1100

Postby btm » Tue May 06, 2008 1:00 pm

chirpa wrote:What is the output of 'ps aux' ? I am curious to see what is eating all the memory.


Me too. I can't quite figure that one out.

Code: Select all
nas-01:~# ps aux
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0  2000  176 ?        Ss   Feb01   0:17 init [3] 
root         2  0.0  0.0     0    0 ?        SN   Feb01   0:03 [ksoftirqd/0]
root         3  0.0  0.0     0    0 ?        S<   Feb01   0:02 [events/0]
root         4  0.0  0.0     0    0 ?        S<   Feb01   0:00 [khelper]
root         5  0.0  0.0     0    0 ?        S<   Feb01   0:00 [kthread]
root        10  0.0  0.0     0    0 ?        S<   Feb01  26:46 [kblockd/0]
root        13  0.0  0.0     0    0 ?        S<   Feb01   0:00 [khubd]
root        41  0.0  0.0     0    0 ?        S    Feb01  47:59 [pdflush]
root        42  0.0  0.0     0    0 ?        S    Feb01  48:47 [pdflush]
root        43  0.0  0.0     0    0 ?        D    Feb01  25:14 [kswapd0]
root        44  0.0  0.0     0    0 ?        S<   Feb01   0:00 [aio/0]
root        45  0.0  0.0     0    0 ?        S<   Feb01   0:00 [cifsoplockd]
root        46  0.0  0.0     0    0 ?        S<   Feb01   0:00 [cifsdnotifyd]
root        92  0.0  0.0     0    0 ?        S<   Feb01   0:00 [kvblade]
root        93  0.0  0.0     0    0 ?        S    Feb01   0:00 [mtdblockd]
root       106  0.0  0.0     0    0 ?        S    Feb01   0:00 [hotplug-sata]
root       130  0.0  0.0     0    0 ?        S    Feb01   0:00 [hotplug-gmac]
root       188  0.0  0.0     0    0 ?        S<   Feb01   7:59 [md0_raid1]
root       192  0.0  0.0     0    0 ?        S<   Feb01   4:40 [md1_raid5]
root       193  0.0  0.0     0    0 ?        S    Feb01   0:00 [RTEd]
root       197  0.4  0.0     0    0 ?        S<   Feb01 558:16 [md2_raid5]
root       335  0.0  0.0     0    0 ?        S<   Feb01   3:26 [kjournald]
root       502  0.0  0.0  4992    0 ?        Ss   Feb01   0:01 /usr/sbin/sshd
root       597  0.2  0.0     0    0 ?        S<   Feb01 345:43 [kjournald]
root       686  0.0  0.0  2128  112 ?        Ss   Feb01   1:10 /sbin/syslogd -m 0
daemon     690  0.0  0.0  2480   48 ?        Ss   Feb01   0:00 /usr/sbin/atd
root       696  0.0  0.0  2016   48 ?        Ss   Feb01   0:22 /sbin/klogd -x -c 3
root       698  0.0  0.0  2000    0 ?        Ss   Feb01   0:00 /usr/sbin/inetd
root       711  0.0  0.0  2656  304 ?        Ss   Feb01   0:29 /usr/sbin/cron
root       715  0.0  0.0  4672  144 ?        Ss   Feb01   8:01 /usr/sbin/cupsd
root       801  0.0  0.1  7968  512 ?        S    Feb01   1:17 /usr/sbin/snmpd -Lsd -Lf /dev/null -p /var/run/snmpd.pid
root       809  0.0  0.1  7648  672 ?        Ss   Feb01   0:39 /usr/sbin/snmptrapd -Lf /var/log/snmptrapd.log -p /var/run/snmptrapd.pid
root       812  0.0  0.1  7488  528 ?        S    Feb01   0:28 /usr/sbin/readynas-agent
root       819  0.0  0.0  2416    0 ?        Ss   Feb01   0:00 /usr/sbin/rpc.rquotad
root      1110  0.0  0.1  3376  816 ?        Ss   Feb01  30:06 /frontview/bin/monitor_enclosure
root      1308  0.0  0.0  2016    0 ttyS1    Ss+  Feb01   0:00 /sbin/getty -L ttyS1 9600 vt100
root      3431  0.0  0.0 12144   16 ?        Ss   Feb01   0:42 /usr/sbin/smbd -D
root      3451  0.0  0.0 12272    0 ?        S    Feb01   0:01 /usr/sbin/smbd -D
root      4242  0.0  0.0     0    0 ?        S<   Feb01   0:00 [nfsd4]
root      4243  5.6  0.0     0    0 ?        S    Feb01 7747:03 [nfsd]
root      4245  0.0  0.0     0    0 ?        S    Feb01  68:43 [lockd]
root      4246  0.0  0.0     0    0 ?        S<   Feb01   0:00 [rpciod/0]
root      4247  0.2  0.1  9424  816 ?        Ss   Feb01 301:00 /usr/sbin/rpc.mountd
root     14830  0.0  0.1  8752  688 ?        S<s  Feb29   6:41 nmbd -D
root     14841  0.0  0.0  4656    0 ?        S<s  Feb29   0:00 /usr/bin/rsync --no-detach --daemon --log-file=/var/log/rsyncd.log --config /etc/frontview/rsy
root      4103  0.0  0.0  5984   16 ?        Ss   Mar17   0:02 /sbin/rpc.statd
root     29314  0.2  0.1  8624  752 ?        Ds   12:32   0:02 sshd: root@pts/0
root     29316  0.2  0.2  5712 1168 pts/0    Ss   12:32   0:02 -bash
root     29399  0.1  0.1 10832  960 ?        Rs   12:47   0:00 /usr/sbin/winbindd
root     29444  0.0  0.3  3472 1488 pts/0    R+   12:51   0:00 ps aux


I've stopped frontview to get it's memory back, hoping to stop swapping to reduce the iowait, as I thought that was the original problem that caused the line of support tickets and angry people outside my door but I see now the OOM killer is more likely.

Code: Select all
avg-cpu:  %user   %nice    %sys %iowait   %idle
           0.50    0.00    0.50    1.99   97.01

Device:    rrqm/s wrqm/s   r/s   w/s  rsec/s  wsec/s    rkB/s    wkB/s avgrq-sz avgqu-sz   await  svctm  %util
hdc          0.00   5.47  1.00  2.99  270.65   67.66   135.32    33.83    85.00     0.00    1.25   1.25   0.50
hde          0.00   5.47  1.00  3.48  147.26   83.58    73.63    41.79    51.56     0.00    1.11   1.11   0.50
hdg          0.00   5.47  1.00  3.98  242.79   99.50   121.39    49.75    68.80     0.01    2.00   2.00   1.00
hdi          0.00   5.47  1.49  4.48   35.82  115.42    17.91    57.71    25.33     0.00    0.00   0.00   0.00
mtdblock1    0.00   0.00  0.00  0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
md0          0.00   0.00  4.48  6.47  696.52   51.74   348.26    25.87    68.36     0.00    0.00   0.00   0.00
md1          0.00   0.00  2.99  0.00   95.52    0.00    47.76     0.00    32.00     0.00    0.00   0.00   0.00
md2          0.00   0.00  1.00  1.49    7.96   11.94     3.98     5.97     8.00     0.00    0.00   0.00   0.00
dm-0         0.00   0.00  1.00  1.49    7.96   11.94     3.98     5.97     8.00     0.00    0.00   0.00   0.00

avg-cpu:  %user   %nice    %sys %iowait   %idle
           1.00    0.00   10.95   65.67   22.39

Device:    rrqm/s wrqm/s   r/s   w/s  rsec/s  wsec/s    rkB/s    wkB/s avgrq-sz avgqu-sz   await  svctm  %util
hdc          0.50   0.50 16.42 10.95  620.90  222.89   310.45   111.44    30.84     0.33   12.00   8.91  24.38
hde          0.00   0.50 18.41 10.95  652.74  222.89   326.37   111.44    29.83     0.28    9.49   7.80  22.89
hdg          0.00   0.50  1.49 10.95   67.66  222.89    33.83   111.44    23.36     0.17   13.20   9.60  11.94
hdi          1.49   0.00 13.43 10.45  489.55  191.04   244.78    95.52    28.50     0.28   11.88   7.92  18.91
mtdblock1    0.00   0.00  0.00  0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
md0          0.00   0.00  6.47  1.00  382.09    7.96   191.04     3.98    52.27     0.00    0.00   0.00   0.00
md1          0.00   0.00 20.90  9.95  668.66  318.41   334.33   159.20    32.00     0.00    0.00   0.00   0.00
md2          0.00   0.00 51.74  0.50  413.93    3.98   206.97     1.99     8.00     0.00    0.00   0.00   0.00
dm-0         0.00   0.00 51.74  0.50  413.93    3.98   206.97     1.99     8.00     0.77   14.67  12.48  65.17

avg-cpu:  %user   %nice    %sys %iowait   %idle
           0.00    0.00   12.94   73.13   13.93

Device:    rrqm/s wrqm/s   r/s   w/s  rsec/s  wsec/s    rkB/s    wkB/s avgrq-sz avgqu-sz   await  svctm  %util
hdc          0.00   0.50 21.39  4.48  684.58   39.80   342.29    19.90    28.00     0.26   10.00   9.81  25.37
hde          0.00   0.50 25.87  4.48  815.92   39.80   407.96    19.90    28.20     0.32   10.66   9.51  28.86
hdg          0.00   0.50  0.50  4.48   15.92   39.80     7.96    19.90    11.20     0.00    1.00   0.00   0.00
hdi          0.00   0.50 20.90  4.48  664.68   39.80   332.34    19.90    27.76     0.25   10.00   9.80  24.88
mtdblock1    0.00   0.00  0.00  0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
md0          0.00   0.00  1.49  2.99   31.84   23.88    15.92    11.94    12.44     0.00    0.00   0.00   0.00
md1          0.00   0.00  4.98  0.00  159.20    0.00    79.60     0.00    32.00     0.00    0.00   0.00   0.00
md2          0.00   0.00 71.64  0.00  573.13    0.00   286.57     0.00     8.00     0.00    0.00   0.00   0.00
dm-0         0.00   0.00 71.64  0.00  573.13    0.00   286.57     0.00     8.00     0.76   10.56  10.56  75.62


Code: Select all
nas-01:~# vmstat 2
procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
r  b   swpd   free   buff  cache   si   so    bi    bo   in    cs us sy id wa
0  1  15472   6336   9952   4016    4    1     1     0    4     2  1  8 88  3
0  0  15472   7440   9184   3536    0    0     0     0  106    11  0  0 86 14
0  0  15472   7104   9456   3536    0    0    46     0  157    83  0  2 89  8
0  0  15472   7104   9456   3536    0    0     0     0  105     8  0  0 100  0
0  0  15472   7488   9344   3392    0    0    92    54  228   143  0  2 54 44
0  0  15472   7488   9344   3392    0    0     0     0  108    11  0  0 100  0
0  0  15472   7264   9600   3440    0    0    58     0  158    91  0  1 89  9
0  0  15472   7264   9600   3440    0    0     0     0  114    20  0  0 100  0
0  0  15472   7264   9600   3440    0    0     0    46  161    49  0  0 100  0
0  0  15472   7264   9616   3440    0    0     0    34  130    30  0  0 100  0
0  0  15472   7264   9616   3440    0    0     0     0  105     8  0  0 100  0
0  0  15472   7264   9616   3440    0    0     0     0  105     8  0  0 100  0
0  0  15472   7264   9616   3440    0    0     0     0  110    10  0  0 100  0
0  0  15472   7264   9616   3440    0    0     0    30  133    30  0  0 100  0
0  0  15472   7264   9664   3440    0    0    12     0  107    14  0  0 100  0
0  1  15472   7152   9728   3440    0    0    14     0  115    25  0  0 97  2
0  1  15472   6688  10336   3344   24    0   304     0  508   335  0 16  0 83
btm
ReadyNAS Newbie
 
Posts: 27
Joined: Mon Mar 17, 2008 2:51 pm

Re: Maximum memory in ReadyNAS 1100

Postby btm » Tue May 06, 2008 1:33 pm

Ah, I see, swappiness is set to 0; gross.

I've set swappiness to 50 (echo 50 > /proc/sys/vm/swappiness), started frontview and munin-node (added on Image), restarted winbind and samba (the parents had been killed at some point) and I don't see any OOM killers in dmesg. Having munin running again will be nice so I don't have to sit and watch vmstat all day, but I think that took care of the OOM problem.

I still need to decide if I should put one of these 1GB SODIMMs in that came out of a dell laptop or buy/build a different solution.
btm
ReadyNAS Newbie
 
Posts: 27
Joined: Mon Mar 17, 2008 2:51 pm

Re: Maximum memory in ReadyNAS 1100

Postby btm » Tue May 06, 2008 10:51 pm

I put a stick of Kingston KVR333SO/1GR RAM in each of our ReadyNAS 1100s. 1GB DDR SO-DIMM PC2700 (333Mhz).

Both started up okay. I noticed that the firmware upgrade on the production box overwrote my changes to /etc/sysctl.conf to turn up vm.swapiness (I'm running at 40), that's worth keeping in mind. The memory testing procedure's a little obtuse, the cost of not having a console I suppose. I have apt installed from the infrant provided debs and I installed the memtester package than ran 'memtest all' on the backup box with no problems.

It looks like something's leaking. I'll keep an eye on it.

Code: Select all
nas-01:~# cat /etc/raidiator_version
RAIDiator!!version=4.01c1-p1,time=1204600885


Image Image
btm
ReadyNAS Newbie
 
Posts: 27
Joined: Mon Mar 17, 2008 2:51 pm

Re: Maximum memory in ReadyNAS 1100

Postby chirpa » Tue May 06, 2008 10:56 pm

Do you have another way besides munin to watch the system resources? Awhile ago another user was running munin and also ran into out of memory issues, curious if it itself could be related somehow.
User avatar
chirpa
Jedi Council
 
Posts: 11174
Joined: Mon Sep 24, 2007 11:52 am
Location: T.A.R.D.I.S.
ReadyNAS: Repertoire

Re: Maximum memory in ReadyNAS 1100

Postby btm » Wed May 07, 2008 9:49 am

chirpa wrote:Do you have another way besides munin to watch the system resources? Awhile ago another user was running munin and also ran into out of memory issues, curious if it itself could be related somehow.


Sure, I can I just leave vmstat running on a terminal, which I'm doing anyways, but I when we started having memory issues yesterday I stopped munin-node and frontview, which temporarily give me some extra memory, but when the OOM killer went wild again was when I set vm.swappiness after realizing there was plenty of swap. Since munin-node wasn't running at that time, I'm reluctant to believe it was was munin. I originally though things were just slow because of the swapping causing disk contention on a machine that already has high disk I/O because it's used for common data storage for a web cluster.

the perl instance of munin hasn't gained any memory since last night:

Code: Select all
nas-01:~# ps ax | grep mun
  400 ?        Ss     0:02 /usr/sbin/munin-node
28815 ?        S      0:00 /usr/sbin/munin-node
28967 ?        Rs     0:00 /usr/sbin/munin-node
28969 pts/1    R+     0:00 grep mun
nas-01:~# grep perl *mem*
20080506-memstat:   3072k: PID   400 (/usr/bin/perl)
20080506-memstat:     64k: /usr/lib/perl/5.8.8/auto/Fcntl/Fcntl.so 400
20080506-memstat:   1296k: /usr/bin/perl 400
20080506-memstat:     64k: /usr/lib/perl/5.8.8/auto/IO/IO.so 400
20080506-memstat:     64k: /usr/lib/perl/5.8.8/auto/Socket/Socket.so 400
20080506-memstat:   1184k: /usr/lib/libperl.so.5.8.8 1509 1858
20080506-memstat:    576k: /usr/lib/apache2/modules/mod_perl.so 1509 1858
20080507-0924-memstat:   3072k: PID   400 (/usr/bin/perl)
20080507-0924-memstat:     64k: /usr/lib/perl/5.8.8/auto/Fcntl/Fcntl.so 400
20080507-0924-memstat:   1296k: /usr/bin/perl 400
20080507-0924-memstat:     64k: /usr/lib/perl/5.8.8/auto/IO/IO.so 400
20080507-0924-memstat:     64k: /usr/lib/perl/5.8.8/auto/Socket/Socket.so 400
20080507-0924-memstat:   1184k: /usr/lib/libperl.so.5.8.8 1509 1858 24791
20080507-0924-memstat:    576k: /usr/lib/apache2/modules/mod_perl.so 1509 1858 24791


The memory is all in cache now. Application memory gains appear to be in samba and apache. My first dump from memstat that I logged may have been before the box was completely up. I'll compare the output of memstat again later on.

Code: Select all
procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
r  b   swpd   free   buff  cache   si   so    bi    bo   in    cs us sy id wa
3  0      0  97056 267520 469296    0    0   399    62   10   586 10 29 59  3


Code: Select all
nas-01:~# diff 20080507-0924-memstat 20080506-memstat  -y | more
    480k: PID     1 (/sbin/init)                480k: PID     1 (/sbin/init)
   3072k: PID   400 (/usr/bin/perl)               3072k: PID   400 (/usr/bin/perl)
    672k: PID   710 (/usr/sbin/sshd)                672k: PID   710 (/usr/sbin/sshd)
    496k: PID  1041 (/sbin/portmap)                496k: PID  1041 (/sbin/portmap)
    496k: PID  1057 (/sbin/syslogd)                496k: PID  1057 (/sbin/syslogd)
    496k: PID  1069 (/usr/sbin/atd)                496k: PID  1069 (/usr/sbin/atd)
    496k: PID  1075 (/sbin/klogd)                496k: PID  1075 (/sbin/klogd)
    480k: PID  1078 (/usr/sbin/inetd)                480k: PID  1078 (/usr/sbin/inetd)
    496k: PID  1102 (/usr/sbin/cron)                496k: PID  1102 (/usr/sbin/cron)
   1936k: PID  1109 (/usr/sbin/cupsd)               1936k: PID  1109 (/usr/sbin/cupsd)
    752k: PID  1111 (/usr/sbin/avahi-daemon)             752k: PID  1111 (/usr/sbin/avahi-daemon)
   1744k: PID  1200 (/usr/sbin/smbd)               1744k: PID  1200 (/usr/sbin/smbd)
   1872k: PID  1208 (/usr/sbin/snmpd)               1872k: PID  1208 (/usr/sbin/snmpd)
   1440k: PID  1221 (/usr/sbin/snmptrapd)            1440k: PID  1221 (/usr/sbin/snmptrapd)
   1408k: PID  1225 (/usr/sbin/readynas-agent)            1408k: PID  1225 (/usr/sbin/readynas-agent)
    480k: PID  1243 (/usr/sbin/rpc.rquotad)             480k: PID  1243 (/usr/sbin/rpc.rquotad)
    496k: PID  1274 (/sbin/rpc.statd)               |       480k: PID  1274 (/sbin/rpc.statd)
   1744k: PID  1276 (/usr/sbin/smbd)               1744k: PID  1276 (/usr/sbin/smbd)
    912k: PID  1298 (/usr/sbin/rpc.mountd)             912k: PID  1298 (/usr/sbin/rpc.mountd)
   1136k: PID  1308 (/usr/sbin/proftpd)               1136k: PID  1308 (/usr/sbin/proftpd)
  10976k: PID  1509 (/usr/sbin/apache2)              10976k: PID  1509 (/usr/sbin/apache2)
    608k: PID  1517 (/usr/sbin/raidard)                608k: PID  1517 (/usr/sbin/raidard)
   1760k: PID  1523 (/usr/sbin/winbindd)            1760k: PID  1523 (/usr/sbin/winbindd)
   1760k: PID  1525 (/usr/sbin/winbindd)            1760k: PID  1525 (/usr/sbin/winbindd)
    544k: PID  1530 (/usr/bin/rsync)                544k: PID  1530 (/usr/bin/rsync)
   1760k: PID  1572 (/usr/sbin/winbindd)            1760k: PID  1572 (/usr/sbin/winbindd)
   1536k: PID  1580 (/usr/sbin/nmbd)               1536k: PID  1580 (/usr/sbin/nmbd)
    672k: PID  1641 (/frontview/bin/monitor_enclosure)          672k: PID  1641 (/frontview/bin/monitor_enclosure)
    512k: PID  1857 (/sbin/getty)                512k: PID  1857 (/sbin/getty)
  10992k: PID  1858 (/usr/sbin/apache2)              10992k: PID  1858 (/usr/sbin/apache2)
    736k: PID  2320 (/usr/sbin/sshd)                736k: PID  2320 (/usr/sbin/sshd)
    672k: PID  2322 (/bin/bash)                   672k: PID  2322 (/bin/bash)
   1760k: PID  9381 (/usr/sbin/winbindd)            |       640k: PID  7171 (/usr/bin/memstat)
   2144k: PID 18604 (/usr/sbin/smbd)               |        64k: /dev/zero 1509 1858
   3040k: PID 24778 (/usr/sbin/smbd)               <
   2160k: PID 24790 (/usr/sbin/smbd)               <
  11136k: PID 24791 (/usr/sbin/apache2)               <
   2128k: PID 25681 (/usr/sbin/smbd)               <
   2032k: PID 27526 (/usr/sbin/smbd)               <
    512k: PID 27876 (/usr/bin/vmstat)               <
   2032k: PID 28307 (/usr/sbin/smbd)               <
   2032k: PID 28308 (/usr/sbin/smbd)               <
    736k: PID 28309 (/usr/sbin/sshd)               <
    656k: PID 28311 (/bin/bash)                  <
    768k: PID 28348 (/usr/bin/memstat)               <
     64k: /dev/zero 1509 1858 24791               <
   1280k: /dev/zero 2320                  1280k: /dev/zero 2320
   1280k: /dev/zero 2320                  1280k: /dev/zero 2320
   1280k: /dev/zero 28309                  |        64k: /lib/libacl.so.1.1.0 1200 1276 1530
   1280k: /dev/zero 28309                  <
     64k: /lib/libacl.so.1.1.0 1200 1276 1530 18604 24778 247 <
     64k: /lib/libpam.so.0.76 710 1102 1109 1200 1276 1298 13        64k: /lib/libpam.so.0.76 710 1102 1109 1200 1276 1298 13
     64k: /lib/libattr.so.1.1.0 1200 1276 1530 18604 24778 24 |        64k: /lib/libattr.so.1.1.0 1200 1276 1530
     64k: /lib/libcom_err.so.2.1 1200 1276 1298 1523 1525 157 |        64k: /lib/libcom_err.so.2.1 1200 1276 1298 1523 1525 157
     64k: /lib/libcap.so.1.10 1200 1276 1298 1523 1525 1572 1 |        64k: /lib/libcap.so.1.10 1200 1276 1298 1523 1525 1572 1
    320k: /lib/libdb2.so.2.7.7 1200 1276 1298 1523 1525 1572  |       320k: /lib/libdb2.so.2.7.7 1200 1276 1298 1523 1525 1572
    288k: /lib/libncurses.so.5.4 2322 28311            |       288k: /lib/libncurses.so.5.4 2322
    832k: /lib/libnss_wins.so.2 1298 24778            |       832k: /lib/libnss_wins.so.2 1298
     64k: /lib/libnss_winbind.so.2 400 1111 1200 1276 1308 18 |        64k: /lib/libnss_winbind.so.2 400 1111 1200 1276 1308 18
     64k: /lib/libpopt.so.0.0.0 1200 1276 1523 1525 1530 1572 |        64k: /lib/libpopt.so.0.0.0 1200 1276 1523 1525 1530 1572
     64k: /lib/libuuid.so.1.2 1298 1509 1858 24791         |        64k: /lib/libuuid.so.1.2 1298 1509 1858
     64k: /lib/libwrap.so.0.7.6 710 1041 1208 1221 1225 1243  |        64k: /lib/libwrap.so.0.7.6 710 1041 1208 1221 1225 1243
    112k: /lib/ld-2.3.2.so 1 400 710 1041 1057 1069 1075 1078       112k: /lib/ld-2.3.2.so 1 400 710 1041 1057 1069 1075 1078
     64k: /lib/libcrypt-2.3.2.so 400 710 1109 1200 1276 1298         64k: /lib/libcrypt-2.3.2.so 400 710 1109 1200 1276 1298
   1280k: /lib/libc-2.3.2.so 1 400 710 1041 1057 1069 1075 10      1280k: /lib/libc-2.3.2.so 1 400 710 1041 1057 1069 1075 10
     64k: /lib/libnss_compat-2.3.2.so 400 710 1069 1102 1109         64k: /lib/libnss_compat-2.3.2.so 400 710 1069 1102 1109
     64k: /lib/libdl-2.3.2.so 400 710 1102 1109 1111 1200 120        64k: /lib/libdl-2.3.2.so 400 710 1102 1109 1111 1200 120
    528k: /lib/libm-2.3.2.so 400 1208 1221 1225 1509 1858 247 |       528k: /lib/libm-2.3.2.so 400 1208 1221 1225 1509 1858
    128k: /lib/libnsl-2.3.2.so 400 710 1041 1069 1102 1109 11       128k: /lib/libnsl-2.3.2.so 400 710 1041 1069 1102 1109 11
     64k: /lib/libnss_files-2.3.2.so 400 710 1057 1069 1102 1        64k: /lib/libnss_files-2.3.2.so 400 710 1057 1069 1102 1
     64k: /lib/libnss_dns-2.3.2.so 1200 1274 1276 1298 1523 1 |        64k: /lib/libnss_dns-2.3.2.so 1200 1276 1298 1523 1525 1
     64k: /lib/libnss_nis-2.3.2.so 400 710 1069 1102 1109 111        64k: /lib/libnss_nis-2.3.2.so 400 710 1069 1102 1109 111
     64k: /lib/libpthread-0.10.so 1111 1509 1858 24791         |        64k: /lib/libpthread-0.10.so 1111 1509 1858
     64k: /lib/libresolv-2.3.2.so 710 1200 1274 1276 1298 152 |        64k: /lib/libresolv-2.3.2.so 710 1200 1276 1298 1523 152
     64k: /lib/librt-2.3.2.so 1509 1858 24791            |        64k: /lib/librt-2.3.2.so 1509 1858
     64k: /lib/libutil-2.3.2.so 710 2320 28309            |        64k: /lib/libutil-2.3.2.so 710 2320
     64k: /lib/libblkid.so.1.0 1298                 64k: /lib/libblkid.so.1.0 1298
     64k: /lib/libproc.so.3.2.1 27876               |       608k: /bin/bash 2322
    608k: /bin/bash 2322 28311                  |      2048k: /usr/lib/locale/locale-archive 1509 1523 1525 1530
   2048k: /usr/lib/locale/locale-archive 1509 1523 1525 1530  |        32k: /etc/samba/secrets.tdb 1200 1276 1523 1525 1572
     32k: /etc/samba/secrets.tdb 1200 1276 1523 1525 1572 938 |        64k: /usr/lib/samba/valid.dat 1200 1276 1523 1525 1572 1
     64k: /usr/lib/samba/valid.dat 1200 1276 1523 1525 1572 1 <
     64k: /usr/lib/perl/5.8.8/auto/Fcntl/Fcntl.so 400           64k: /usr/lib/perl/5.8.8/auto/Fcntl/Fcntl.so 400
   1296k: /usr/bin/perl 400                  1296k: /usr/bin/perl 400
    304k: /usr/bin/rsync 1530                   304k: /usr/bin/rsync 1530
     16k: /usr/bin/vmstat 27876                  |        16k: /usr/bin/memstat 7171
     16k: /usr/bin/memstat 28348               |        64k: /var/lib/samba/winbindd_cache.tdb 1523 1525 1572
     64k: /var/lib/samba/winbindd_cache.tdb 1523 1525 1572 93 |        48k: /var/lib/samba/idmap_cache.tdb 1523 1525 1572
     48k: /var/lib/samba/idmap_cache.tdb 1523 1525 1572 9381  <
     16k: /var/lib/samba/notify.tdb 18604 24778 24790 25681 2 <
     16k: /var/lib/samba/unexpected.tdb 1580              16k: /var/lib/samba/unexpected.tdb 1580
     16k: /var/lib/samba/group_mapping.tdb 1200 1276 1572 186 |        16k: /var/lib/samba/group_mapping.tdb 1200 1276
     16k: /var/lib/samba/account_policy.tdb 1200 1276 18604 2 |        16k: /var/lib/samba/account_policy.tdb 1200 1276
     16k: /var/lib/samba/messages.tdb 1200 1276 1523 1525 157 |        16k: /var/lib/samba/messages.tdb 1200 1276 1523 1525 157
     32k: /var/lib/samba/sessionid.tdb 1200 1276 18604 24778  |        16k: /var/lib/samba/sessionid.tdb 1200 1276
     32k: /var/lib/samba/connections.tdb 1200 1276 18604 2477 |        16k: /var/lib/samba/connections.tdb 1200 1276
     48k: /var/lib/samba/brlock.tdb 1200 1276 18604 24778 247 |        48k: /var/lib/samba/brlock.tdb 1200 1276
    176k: /var/lib/samba/locking.tdb 1200 1276 18604 24778 24 |        48k: /var/lib/samba/locking.tdb 1200 1276
     16k: /var/lib/samba/share_info.tdb 18604 24778 24790 256 |        16k: /var/lib/samba/gencache.tdb 1200 1276 1523 1525 157
     16k: /var/lib/samba/gencache.tdb 1200 1276 1523 1525 157 |        16k: /var/lib/samba/ntdrivers.tdb 1200 1276
     16k: /var/lib/samba/ntdrivers.tdb 1200 1276 18604 24778  |        16k: /var/lib/samba/ntprinters.tdb 1200 1276
     16k: /var/lib/samba/ntprinters.tdb 1200 1276 18604 24778 |        16k: /var/lib/samba/ntforms.tdb 1200 1276
     16k: /var/lib/samba/ntforms.tdb 1200 1276 18604 24778 24 |        80k: /var/lib/samba/winbindd_idmap.tdb 1523 1572
     80k: /var/lib/samba/winbindd_idmap.tdb 1523 1572 9381    |        48k: /var/lib/samba/netsamlogon_cache.tdb 1523 1525 1572
     48k: /var/lib/samba/netsamlogon_cache.tdb 1523 1525 1572 <
     64k: /usr/lib/perl/5.8.8/auto/IO/IO.so 400              64k: /usr/lib/perl/5.8.8/auto/IO/IO.so 400
     64k: /usr/lib/perl/5.8.8/auto/Socket/Socket.so 400           64k: /usr/lib/perl/5.8.8/auto/Socket/Socket.so 400
     64k: /frontview/bin/monitor_enclosure 1641              64k: /frontview/bin/monitor_enclosure 1641
     64k: /lib/security/pam_env.so 2320 28309            |        64k: /lib/security/pam_env.so 2320
     64k: /lib/security/pam_lastlog.so 2320 28309         |        64k: /lib/security/pam_lastlog.so 2320
     64k: /lib/security/pam_limits.so 2320 28309         |        64k: /lib/security/pam_limits.so 2320
     64k: /lib/security/pam_mail.so 2320 28309            |        64k: /lib/security/pam_mail.so 2320
     64k: /lib/security/pam_motd.so 2320 28309            |        64k: /lib/security/pam_motd.so 2320
     64k: /lib/security/pam_nologin.so 2320 28309         |        64k: /lib/security/pam_nologin.so 2320
     64k: /lib/security/pam_unix.so 2320 28309            |        64k: /lib/security/pam_unix.so 2320
     96k: /sbin/init 1                       96k: /sbin/init 1
     80k: /sbin/getty 1857                    80k: /sbin/getty 1857
     32k: /sbin/klogd 1075                    32k: /sbin/klogd 1075
     16k: /sbin/portmap 1041                    16k: /sbin/portmap 1041
     48k: /sbin/rpc.statd 1274                    48k: /sbin/rpc.statd 1274
     32k: /sbin/syslogd 1057                    32k: /sbin/syslogd 1057
     64k: /usr/lib/gconv/IBM437.so 1200 1276 1523 1525 1572 1 |        64k: /usr/lib/gconv/IBM437.so 1200 1276 1523 1525 1572 1
     64k: /usr/lib/gconv/UTF-16.so 1200 1276 1523 1525 1572 1 |        64k: /usr/lib/gconv/UTF-16.so 1200 1276 1523 1525 1572 1
    128k: /usr/lib/libcups.so.2 1109 1200 1276 18604 24778 24 |       128k: /usr/lib/libcups.so.2 1109 1200 1276
     64k: /usr/lib/libgdbm.so.3.0.0 400 1509 1858 24791         |        64k: /usr/lib/libgdbm.so.3.0.0 400 1509 1858
    944k: /usr/lib/libdb-4.2.so 1509 1858 24791            |       944k: /usr/lib/libdb-4.2.so 1509 1858
    144k: /usr/lib/libexpat.so.1.0.0 1111 1509 1858 24791     |       144k: /usr/lib/libexpat.so.1.0.0 1111 1509 1858
    112k: /usr/lib/liblber.so.2.0.15 1200 1276 1298 1523 1525 |       112k: /usr/lib/liblber.so.2.0.15 1200 1276 1298 1523 1525
    128k: /usr/lib/libgssapi_krb5.so.2.2 1200 1276 1298 1523  |       128k: /usr/lib/libgssapi_krb5.so.2.2 1200 1276 1298 1523
    192k: /usr/lib/libk5crypto.so.3.0 1200 1276 1298 1523 152 |       192k: /usr/lib/libk5crypto.so.3.0 1200 1276 1298 1523 152
    512k: /usr/lib/libkrb5.so.3.2 1200 1276 1298 1523 1525 15 |       512k: /usr/lib/libkrb5.so.3.2 1200 1276 1298 1523 1525 15
     64k: /usr/lib/libsasl.so.7.1.10 1200 1276 1298 1523 1525 |        64k: /usr/lib/libsasl.so.7.1.10 1200 1276 1298 1523 1525
     64k: /usr/lib/libdaemon.so.0.2.1 1111              64k: /usr/lib/libdaemon.so.0.2.1 1111
    384k: /usr/lib/libsqlite3.so.0.8.6 1509 1858 24791         |       384k: /usr/lib/libsqlite3.so.0.8.6 1509 1858
    128k: /usr/lib/libz.so.1.2.2 710 1109 1208 1221 1225 1308 |       128k: /usr/lib/libz.so.1.2.2 710 1109 1208 1221 1225 1308
   1184k: /usr/lib/libperl.so.5.8.8 1509 1858 24791         |      1184k: /usr/lib/libperl.so.5.8.8 1509 1858
    224k: /usr/lib/libldap.so.2.0.15 1200 1276 1298 1523 1525 |       224k: /usr/lib/libldap.so.2.0.15 1200 1276 1298 1523 1525
     64k: /usr/lib/libkrb5support.so.0.0 1200 1276 1298 1523  |        64k: /usr/lib/libkrb5support.so.0.0 1200 1276 1298 1523
     64k: /usr/lib/libavahi-common.so.3.4.3 1111           64k: /usr/lib/libavahi-common.so.3.4.3 1111
    256k: /usr/lib/libavahi-core.so.4.0.4 1111             256k: /usr/lib/libavahi-core.so.4.0.4 1111
    128k: /usr/lib/libpcre.so.3.12.0 1509 1858 24791         |       128k: /usr/lib/libpcre.so.3.12.0 1509 1858
    128k: /usr/lib/libaprutil-1.so.0.2.7 1509 1858 24791      |       128k: /usr/lib/libaprutil-1.so.0.2.7 1509 1858
    144k: /usr/lib/libapr-1.so.0.2.7 1509 1858 24791         |       144k: /usr/lib/libapr-1.so.0.2.7 1509 1858
     64k: /usr/lib/libapreq2.so.3.6.0 1509 1858 24791         |        64k: /usr/lib/libapreq2.so.3.6.0 1509 1858
    272k: /usr/lib/libnetsnmpagent.so.9.0.1 1208 1221 1225       272k: /usr/lib/libnetsnmpagent.so.9.0.1 1208 1221 1225
    256k: /usr/lib/libssl.so.0.9.8 1308 1509 1858 24791         |       256k: /usr/lib/libssl.so.0.9.8 1308 1509 1858
   1296k: /usr/lib/libcrypto.so.0.9.8 710 1208 1221 1225 1308 |      1296k: /usr/lib/libcrypto.so.0.9.8 710 1208 1221 1225 1308
    528k: /usr/lib/libnetsnmp.so.9.0.1 1208 1221 1225          528k: /usr/lib/libnetsnmp.so.9.0.1 1208 1221 1225
    128k: /usr/lib/libnetsnmphelpers.so.9.0.1 1208 1221 1225       128k: /usr/lib/libnetsnmphelpers.so.9.0.1 1208 1221 1225
    880k: /usr/lib/libnetsnmpmibs.so.9.0.1 1208 1221 1225       880k: /usr/lib/libnetsnmpmibs.so.9.0.1 1208 1221 1225
     64k: /usr/lib/libnetsnmptrapd.so.9.0.1 1221           64k: /usr/lib/libnetsnmptrapd.so.9.0.1 1221
    576k: /usr/lib/apache2/modules/mod_perl.so 1509 1858 2479 |       576k: /usr/lib/apache2/modules/mod_perl.so 1509 1858
     64k: /usr/lib/apache2/modules/mod_apreq2.so 1509 1858 24 |        64k: /usr/lib/apache2/modules/mod_apreq2.so 1509 1858
     64k: /usr/lib/apache2/modules/mod_auth_pam.so 1509 1858  |        64k: /usr/lib/apache2/modules/mod_auth_pam.so 1509 1858
     64k: /usr/lib/apache2/modules/mod_auth_sys_group.so 1509 |        64k: /usr/lib/apache2/modules/mod_auth_sys_group.so 1509
     48k: /usr/sbin/avahi-daemon 1111                 48k: /usr/sbin/avahi-daemon 1111
     32k: /usr/sbin/atd 1069                    32k: /usr/sbin/atd 1069
    224k: /usr/sbin/cupsd 1109                   224k: /usr/sbin/cupsd 1109
     32k: /usr/sbin/cron 1102                    32k: /usr/sbin/cron 1102
     32k: /usr/sbin/inetd 1078                    32k: /usr/sbin/inetd 1078
     32k: /usr/sbin/raidard 1517                 32k: /usr/sbin/raidard 1517
    912k: /usr/sbin/nmbd 1580                   912k: /usr/sbin/nmbd 1580
     64k: /usr/sbin/rpc.mountd 1298                 64k: /usr/sbin/rpc.mountd 1298
    112k: /usr/sbin/rpc.rquotad 1243                112k: /usr/sbin/rpc.rquotad 1243
   3136k: /usr/sbin/smbd 1200 1276 18604 24778 24790 25681 27 |      3136k: /usr/sbin/smbd 1200 1276
     32k: /usr/sbin/snmpd 1208                    32k: /usr/sbin/snmpd 1208
     32k: /usr/sbin/snmptrapd 1221                 32k: /usr/sbin/snmptrapd 1221
    288k: /usr/sbin/sshd 710 2320 28309               |       288k: /usr/sbin/sshd 710 2320
   2112k: /usr/sbin/winbindd 1523 1525 1572 9381         |      2112k: /usr/sbin/winbindd 1523 1525 1572
    688k: /usr/sbin/apache2 1509 1858 24791            |       688k: /usr/sbin/apache2 1509 1858
    544k: /usr/sbin/proftpd 1308                544k: /usr/sbin/proftpd 1308
     16k: /usr/sbin/readynas-agent 1225                 16k: /usr/sbin/readynas-agent 1225
--------                     --------
118640k                        |     85296k
btm
ReadyNAS Newbie
 
Posts: 27
Joined: Mon Mar 17, 2008 2:51 pm

Re: Maximum memory in ReadyNAS 1100

Postby super-poussin » Wed May 07, 2008 9:57 am

perhpas you can use monit , which works fine on readynas :)

I can post a sample monitrc file if you need
If you like my add-ons - Si vous aimez mes add-ons :
Image --- -------- Image
User avatar
super-poussin
ReadyNAS Add-ons Expert
 
Posts: 3935
Joined: Fri Jul 13, 2007 1:16 pm
ReadyNAS: Pro

Re: Maximum memory in ReadyNAS 1100

Postby super-poussin » Wed May 07, 2008 9:59 am

you can have web result and/or console result

System 'R2-D2'
load average [0.02] [0.02] [0.00]
cpu 1.3%us 0.4%sy
memory usage 172720 kB [17.0%]
data collected Wed May 7 18:52:44 2008

Process 'syslog-ng'
status running
monitoring status monitored
pid 15674
parent pid 1
uptime 9h 59m
childrens 0
memory kilobytes 304
memory kilobytes total 304
memory percent 0.0%
memory percent total 0.0%
cpu percent 0.0%
cpu percent total 0.0%
data collected Wed May 7 18:52:53 2008

Process 'SSH_Serveur'
status running
monitoring status monitored
pid 7100
parent pid 1
uptime 4d 8h 39m
childrens 4
memory kilobytes 436
memory kilobytes total 3740
memory percent 0.0%
memory percent total 0.3%
cpu percent 0.0%
cpu percent total 0.0%
port response time 0.142s to localhost:22 [SSH]
data collected Wed May 7 18:52:53 2008

Process 'ReadynasPhoto'
status running
monitoring status monitored
pid 968
parent pid 1
uptime 5d 3h 18m
childrens 2
memory kilobytes 1424
memory kilobytes total 4224
memory percent 0.1%
memory percent total 0.4%
cpu percent 0.4%
cpu percent total 0.4%
data collected Wed May 7 18:52:53 2008

Process 'FTP_Server'
status running
monitoring status monitored
pid 15676
parent pid 1
uptime 9h 59m
childrens 0
memory kilobytes 560
memory kilobytes total 560
memory percent 0.0%
memory percent total 0.0%
cpu percent 0.0%
cpu percent total 0.0%
port response time 5.044s to localhost:21 [FTP]
data collected Wed May 7 18:52:53 2008

Process 'samba_smbd'
status running
monitoring status monitored
pid 1010
parent pid 1
uptime 5d 3h 18m
childrens 1
memory kilobytes 1172
memory kilobytes total 2108
memory percent 0.1%
memory percent total 0.2%
cpu percent 0.0%
cpu percent total 0.0%
port response time 0.001s to localhost:139 [DEFAULT]
data collected Wed May 7 18:52:48 2008

Process 'samba_nmbd'
status running
monitoring status monitored
pid 26432
parent pid 1
uptime 3h 13m
childrens 0
memory kilobytes 660
memory kilobytes total 660
memory percent 0.0%
memory percent total 0.0%
cpu percent 0.0%
cpu percent total 0.0%
port response time 2.010s to localhost:137 [DEFAULT]
port response time 2.010s to localhost:138 [DEFAULT]
data collected Wed May 7 18:52:48 2008

File 'samba_init'
status accessible
monitoring status monitored
permission 644
uid 98
gid 98
timestamp Fri May 2 15:34:00 2008
size 1584 B
data collected Wed May 7 18:52:48 2008

File 'samba_smbd_bin'
status accessible
monitoring status monitored
permission 755
uid 0
gid 0
timestamp Wed Apr 30 10:47:33 2008
size 3207680 B
data collected Wed May 7 18:52:48 2008

File 'samba_nmbd_bin'
status accessible
monitoring status monitored
permission 755
uid 0
gid 0
timestamp Wed Apr 30 10:47:31 2008
size 939416 B
data collected Wed May 7 18:52:48 2008

Process 'FireFly'
status running
monitoring status monitored
pid 972
parent pid 1
uptime 5d 3h 18m
childrens 2
memory kilobytes 1256
memory kilobytes total 3768
memory percent 0.1%
memory percent total 0.3%
cpu percent 0.0%
cpu percent total 0.0%
data collected Wed May 7 18:52:44 2008
If you like my add-ons - Si vous aimez mes add-ons :
Image --- -------- Image
User avatar
super-poussin
ReadyNAS Add-ons Expert
 
Posts: 3935
Joined: Fri Jul 13, 2007 1:16 pm
ReadyNAS: Pro

Re: Maximum memory in ReadyNAS 1100

Postby btm » Wed May 07, 2008 10:41 am

super-poussin wrote:perhpas you can use monit , which works fine on readynas :)


It's still only hearsay that there is a problem with munin-node. It's installed from the oldstable package, not compiled by hand with any fancy settings. Most of our boxes run debian etch, which includes munin 1.2.5 where as sarge/oldstable/raidiator uses 1.2.3. The changelog http://munin.projects.linpro.no/browser/tags/1.2.5/ChangeLog for munin shows no significant updates to node, let alone any that refer to memory issues with it. Nothing is mentioned in the changelog http://packages.debian.org/changelogs/pool/main/m/munin/munin_1.2.5-1/changelog for the debian package either.

However there are known problems with the 2.6 kernel not knowing how to tell the difference on short notice between user pages and cache when swapping out. On a I/O heavy server, like a NAS running NFS, available memory is going to get used by cache pretty quickly to the point that there isn't any free memory and running 'vm.swappiness = 0' is going to tell the kernel to not swap unless dire; and it appears running the OOM killer isn't consider a dire event.

http://www.ussg.iu.edu/hypermail/linux/kernel/0805.0/2261.html
http://blogs.smugmug.com/don/2008/05/01/mysql-and-the-linux-swap-problem/

Most people that run vm.swappiness = 0 do so on a highly tuned box, it seems like a poor choice to not set it to at least 5 or 10 on a machine designed to be headless. I'd be happy if someone could argue otherwise. Based on where netgear has been taking the product line though, I can see we're not focusing on the enterprise space so it's perhaps my mistake to have been so trusting in a black box, albeit one that the developers provide an optional crowbar for looking inside of.
btm
ReadyNAS Newbie
 
Posts: 27
Joined: Mon Mar 17, 2008 2:51 pm

Re: Maximum memory in ReadyNAS 1100

Postby chirpa » Wed May 07, 2008 11:04 am

If there is something munin related, it is not munin itself, but Perl. munin uses Perl, and we have a custom compiled Perl on the system. So perhaps something munin is doing with Perl is not working out very well.
User avatar
chirpa
Jedi Council
 
Posts: 11174
Joined: Mon Sep 24, 2007 11:52 am
Location: T.A.R.D.I.S.
ReadyNAS: Repertoire

Re: Maximum memory in ReadyNAS 1100

Postby btm » Wed May 07, 2008 11:16 am

chirpa wrote:If there is something munin related, it is not munin itself, but Perl. munin uses Perl, and we have a custom compiled Perl on the system. So perhaps something munin is doing with Perl is not working out very well.


Sure, that's perfectly reasonable, although still anecdotal. I'll let everyone know next week if the application memory footprint has increased and go from there. it's gone down a few k since I came in this morning so it appears stable for the moment, although cache has succeeded in drying up all but the last 10k of free memory as expected.
btm
ReadyNAS Newbie
 
Posts: 27
Joined: Mon Mar 17, 2008 2:51 pm

Re: Maximum memory in ReadyNAS 1100

Postby btm » Thu May 08, 2008 1:40 pm

It's interesting that munin shows that apps memory has slowly grown to 215MB, while memstat shows memory usage still hovering around 120MB +/- 3MB.

Munin's memory plugin gets it's information from /proc/meminfo and you can tell how it's calculated from the code (from deb 1.2.5-1):
Code: Select all
print "apps.value ", $mems{'MemTotal'}
        -$mems{'MemFree'}
        -$mems{'Buffers'}
        -$mems{'Cached'}
        -$mems{'SwapCached'}
        -$mems{'Slab'}
        -$mems{'PageTables'}
        -$mems{'VmallocUsed'}
        ,"\n";

So it's just assuming that the application memory is whatever memory is left over after the above things are subtracted from the total. This hasn't changed in trunk much at all. http://munin.projects.linpro.no/browser/trunk/node/node.d.linux/memory.in
Code: Select all
   print "apps.value ", $mems{'MemTotal'}
           -$mems{'MemFree'}
           -$mems{'Buffers'}
           -$mems{'Cached'}
           -$mems{'Slab'}
           -$mems{'PageTables'}
           -$mems{'SwapCached'}
           ,"\n";


I haven't found any reliable sources of explaining the addition of values in /proc/meminfo yet.
btm
ReadyNAS Newbie
 
Posts: 27
Joined: Mon Mar 17, 2008 2:51 pm

Next

Return to Hardware and Hardware Compatibility

Similar topics


Who is online

Users browsing this forum: No registered users and 9 guests