Jump to content

Help needed, errors in syslog during preclear


Recommended Posts

Hi,

 

I'm trying to determine if I have another bad drive from a batch of 3TB Seagates that I just received.  1 was DOA, the other 2 powered up but one disconnected from unRaid during preclear and reconnected. 

 

See specs below, system logs attached (external link as the syslog is big) and the smart report for this drive.  I've had terrible luck with these drives from Newegg.

 

The first one I bought with the system build 3 weeks ago was DOA.  I just ordered 3 more after getting a M1015 and as I mentioned, already 1 DOA.  If this drive is also bad, that would be 3 out of 4.

 

Thanks for any help.

 

Server Specs:

Unraid:

3x Seagate Barracuda ST3000DM001 3TB 7200 RPM SATA 6.0Gb/s 3.5" Internal Hard Drive

  1 already running as cache, 2 others preclearing today

1x Western Digital Caviar Green WD20EARS 2TB SATA 3.0Gb/s 3.5" Internal Hard Drive

2x Seagate Barracuda 7200.11 ST31500341AS 1.5TB 7200 RPM SATA 3.0Gb/s 3.5" Internal Hard Drive

1x Seagate Barracuda LP ST31500541AS 1.5TB 5900 RPM SATA 3.0Gb/s 3.5" Hard Drive

1 M1015 Storage Card, flashed to IT mode, PCI Passtrough

USB connected APC USB for power outage monitoring

 

1x Intel Xeon E3-1240 V2 Ivy Bridge 3.4GHz (3.8GHz Turbo) LGA 1155 69W Quad-Core Server Processor BX80637E31240V2

1x Seagate Barracuda ST1000DM003 1TB 7200 RPM SATA 6.0Gb/s 3.5" Internal Hard Drive

  VM Host

1x PC Power and Cooling Silencer Mk II 750W High Performance 80PLUS Silver SLI CrossFire ready Power Supply

1x SUPERMICRO MBD-X9SCM-F-O LGA 1155 Intel C204 Micro ATX Intel Xeon E3 Server Motherboard

1x NORCO RPC-4220 4U Rackmount Server Chassis w/ 20 Hot-Swappable SATA/SAS 6G Drive Bays (Mini SAS Connector)

2x Kingston Technology ValueRAM 8GB Kit (2x4GB) DDR3 1333 MHz DIMM Desktop Server Memory KVR1333D3E9SK2/8G (16G total)

 

I'm running Unraid 5.0-rc5.  I'm running it as a VM under ESXI 5.0.  I have had this system running for 3 weeks or so and just added a M1015 (last night) that I flashed to IT mode and added 3 Seagate 3T drives and moved my other 4 drives over.  1 was DOA (pinged and clicked and was not recognized) so I pulled it from rack.

 

The 2 remaining drives were mounted at /dev/sdh and /dev/sdj.

 

The sdj drive is still running and in the final Post Read step.  The sdh drive was running great and then stopped.  The message on the console is:

================================================================== 1.13
=                unRAID server Pre-Clear disk /dev/sdh
=               cycle 1 of 1, partition start on sector 1
= Disk Pre-Clear-Read completed                                 DONE
= Step 1 of 10 - Copying zeros to first 2048k bytes             DONE
= Step 2 of 10 - Copying zeros to remainder of disk to clear it DONE
= Step 3 of 10 - Disk is now cleared from MBR onward.           DONE
= Step 4 of 10 - Clearing MBR bytes for partition 2,3 & 4       DONE
= Step 5 of 10 - Clearing MBR code area                         DONE
= Step 6 of 10 - Setting MBR signature bytes                    DONE
= Step 7 of 10 - Setting partition 1 to precleared state        DONE
= Step 8 of 10 - Notifying kernel we changed the partitioning   DONE
= Step 9 of 10 - Creating the /dev/disk/by* entries             DONE
= Step 10 of 10 - Verifying if the MBR is cleared.              DONE
=
Elapsed Time:  10:20:53
========================================================================1.13
==
== SORRY: Disk /dev/sdh MBR could NOT be precleared
==
== out4= 00000
== out5= 00000
============================================================================
0+1 records in
0+1 records out
462 bytes (462 B) copied0000000 0000 0000 0000 0000 0000 0000 0000 0000
, 1.716e-05 s, 26.9 MB/s
*
0000700 0002 ff00 ffff 0001 0000 ffff ffff
0000716
root@Audi:/boot#

The preclear started at about 22:45 or so, so 10 hours later would have been 08:45 this am.  The drive had messages in the logs well before that.

 

Also attached are portions of my syslog (or what's left of it), the first line says

Sep  5 04:40:01 Audi syslogd 1.4.1: restart.
Sep  5 04:40:26 Audi kernel: swapper: page allocation failure: order:3, mode:0x4020

 

Around 08:54:17 I get lots of messages for timeouts to sdh

Sep  5 08:54:17 Audi kernel: end_request: I/O error, dev sdh, sector 2648440976
Sep  5 08:54:17 Audi kernel: Buffer I/O error on device sdh, logical block 331055122
Sep  5 08:54:17 Audi kernel: lost page write due to I/O error on sdh
Sep  5 08:54:17 Audi kernel: Buffer I/O error on device sdh, logical block 331055123

 

The drive reattached at 09:02:26 as sdj

Sep  5 09:02:26 Audi kernel: scsi 1:0:8:0: Direct-Access     ATA      ST3000DM001-9YN1 CC4B PQ: 0 ANSI: 6
Sep  5 09:02:26 Audi kernel: scsi 1:0:8:0: SATA: handle(0x000f), sas_addr(0x4433221106000000), phy(6), device_name(0x0000000000000000)
Sep  5 09:02:26 Audi kernel: scsi 1:0:8:0: SATA: enclosure_logical_id(0x500605b004794650), slot(5)
Sep  5 09:02:26 Audi kernel: scsi 1:0:8:0: atapi(n), ncq(y), asyn_notify(n), smart(y), fua(y), sw_preserve(y)
Sep  5 09:02:26 Audi kernel: scsi 1:0:8:0: qdepth(32), tagged(1), simple(0), ordered(0), scsi_level(7), cmd_que(1)
Sep  5 09:02:26 Audi kernel: sd 1:0:8:0: Attached scsi generic sg7 type 0
Sep  5 09:02:26 Audi kernel: sd 1:0:8:0: [sdj] 5860533168 512-byte logical blocks: (3.00 TB/2.72 TiB)
Sep  5 09:02:26 Audi kernel: sd 1:0:8:0: [sdj] 4096-byte physical blocks
Sep  5 09:02:26 Audi kernel: sd 1:0:8:0: [sdj] Write Protect is off
Sep  5 09:02:26 Audi kernel: sd 1:0:8:0: [sdj] Mode Sense: 7f 00 10 08
Sep  5 09:02:26 Audi kernel: sd 1:0:8:0: [sdj] Write cache: enabled, read cache: enabled, supports DPO and FUA
Sep  5 09:02:26 Audi kernel:  sdj: unknown partition table
Sep  5 09:02:27 Audi kernel: sd 1:0:8:0: [sdj] Attached SCSI disk

 

I was also getting messages in the syslog for out of memory errors:

Sep  5 04:40:26 Audi kernel: Mem-Info:
Sep  5 04:40:26 Audi kernel: DMA per-cpu:
Sep  5 04:40:26 Audi kernel: CPU    0: hi:    0, btch:   1 usd:   0
Sep  5 04:40:26 Audi kernel: CPU    1: hi:    0, btch:   1 usd:   0
Sep  5 04:40:26 Audi kernel: Normal per-cpu:
Sep  5 04:40:26 Audi kernel: CPU    0: hi:  186, btch:  31 usd: 156
Sep  5 04:40:26 Audi kernel: CPU    1: hi:  186, btch:  31 usd:  30
Sep  5 04:40:26 Audi kernel: HighMem per-cpu:
Sep  5 04:40:26 Audi kernel: CPU    0: hi:  186, btch:  31 usd:  30
Sep  5 04:40:26 Audi kernel: CPU    1: hi:  186, btch:  31 usd:  35
Sep  5 04:40:26 Audi kernel: active_anon:25498 inactive_anon:26 isolated_anon:0
Sep  5 04:40:26 Audi kernel:  active_file:46800 inactive_file:281915 isolated_file:0
Sep  5 04:40:26 Audi kernel:  unevictable:131783 dirty:17 writeback:0 unstable:0
Sep  5 04:40:26 Audi kernel:  free:2739 slab_reclaimable:16626 slab_unreclaimable:2598
Sep  5 04:40:26 Audi kernel:  mapped:4745 shmem:39 pagetables:411 bounce:0
Sep  5 04:40:26 Audi kernel: DMA free:3536kB min:64kB low:80kB high:96kB active_anon:8kB inactive_anon:0kB active_file:248kB inactive_file:8120kB unevictable:24kB isolated(anon):0kB isolated(file):0kB present:15804kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:3516kB slab_unreclaimable:272kB kernel_stack:104kB pagetables:0kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
Sep  5 04:40:26 Audi kernel: lowmem_reserve[]: 0 869 2016 2016
Sep  5 04:40:26 Audi kernel: Normal free:4612kB min:3736kB low:4668kB high:5604kB active_anon:14828kB inactive_anon:0kB active_file:94640kB inactive_file:651452kB unevictable:348kB isolated(anon):0kB isolated(file):0kB present:890008kB mlocked:0kB dirty:68kB writeback:0kB mapped:12kB shmem:0kB slab_reclaimable:62988kB slab_unreclaimable:10120kB kernel_stack:1480kB pagetables:100kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
Sep  5 04:40:26 Audi kernel: lowmem_reserve[]: 0 0 9175 9175
Sep  5 04:40:26 Audi kernel: HighMem free:2808kB min:512kB low:1744kB high:2976kB active_anon:87156kB inactive_anon:104kB active_file:92312kB inactive_file:468088kB unevictable:526760kB isolated(anon):0kB isolated(file):0kB present:1174436kB mlocked:0kB dirty:0kB writeback:0kB mapped:18968kB shmem:156kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:1544kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
Sep  5 04:40:26 Audi kernel: lowmem_reserve[]: 0 0 0 0
Sep  5 04:40:26 Audi kernel: DMA: 52*4kB 32*8kB 2*16kB 3*32kB 10*64kB 18*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 3536kB
Sep  5 04:40:26 Audi kernel: Normal: 1123*4kB 1*8kB 7*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 4612kB
Sep  5 04:40:26 Audi kernel: HighMem: 172*4kB 65*8kB 18*16kB 9*32kB 2*64kB 3*128kB 0*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB = 2808kB
Sep  5 04:40:26 Audi kernel: 460548 total pagecache pages
Sep  5 04:40:26 Audi kernel: 0 pages in swap cache
Sep  5 04:40:26 Audi kernel: Swap cache stats: add 0, delete 0, find 0/0
Sep  5 04:40:26 Audi kernel: Free swap  = 0kB
Sep  5 04:40:26 Audi kernel: Total swap = 0kB
Sep  5 04:40:26 Audi kernel: 524272 pages RAM
Sep  5 04:40:26 Audi kernel: 295938 pages HighMem
Sep  5 04:40:26 Audi kernel: 5620 pages reserved
Sep  5 04:40:26 Audi kernel: 205521 pages shared
Sep  5 04:40:26 Audi kernel: 320382 pages non-shared
Sep  5 04:40:26 Audi kernel: swapper: page allocation failure: order:3, mode:0x4020
Sep  5 04:40:26 Audi kernel: Pid: 0, comm: swapper Not tainted 3.0.35-unRAID #2
Sep  5 04:40:26 Audi kernel: Call Trace:
Sep  5 04:40:26 Audi kernel:  [<c105fee8>] warn_alloc_failed+0xb2/0xc4
Sep  5 04:40:26 Audi kernel:  [<c1060653>] __alloc_pages_nodemask+0x456/0x47f
Sep  5 04:40:26 Audi kernel:  [<c10606d0>] __get_free_pages+0xf/0x21
Sep  5 04:40:26 Audi kernel:  [<c107dfa0>] __kmalloc+0x28/0xff
Sep  5 04:40:26 Audi kernel:  [<c12910a9>] pskb_expand_head+0xca/0x1eb
Sep  5 04:40:26 Audi kernel:  [<c1291549>] __pskb_pull_tail+0x41/0x21f
Sep  5 04:40:26 Audi kernel:  [<c1298321>] dev_hard_start_xmit+0x20a/0x322
Sep  5 04:40:26 Audi kernel:  [<c12a6d6a>] sch_direct_xmit+0x50/0x137
Sep  5 04:40:26 Audi kernel:  [<c1298537>] dev_queue_xmit+0xfe/0x274
Sep  5 04:40:26 Audi kernel:  [<c12b3d4f>] ip_finish_output+0x237/0x272
Sep  5 04:40:26 Audi kernel:  [<c10202d5>] ? check_preempt_curr+0x39/0x64
Sep  5 04:40:26 Audi kernel:  [<c12b3e2a>] ip_output+0xa0/0xa8
Sep  5 04:40:26 Audi kernel:  [<c12b326e>] ip_local_out+0x1b/0x1e
Sep  5 04:40:26 Audi kernel:  [<c12b3772>] ip_queue_xmit+0x2a5/0x2f2
Sep  5 04:40:26 Audi kernel:  [<c12c2ce8>] tcp_transmit_skb+0x4d7/0x50d
Sep  5 04:40:26 Audi kernel:  [<c12c4ff2>] tcp_write_xmit+0x2f9/0x3d7
Sep  5 04:40:26 Audi kernel:  [<c12c5114>] __tcp_push_pending_frames+0x18/0x6f
Sep  5 04:40:26 Audi kernel:  [<c12c19c3>] tcp_rcv_established+0xfa/0x577
Sep  5 04:40:26 Audi kernel:  [<f847c6eb>] ? _scsih_get_chain_buffer_tracker+0x8f/0x99 [mpt2sas]
Sep  5 04:40:26 Audi kernel:  [<c12c71c6>] tcp_v4_do_rcv+0x46/0x137
Sep  5 04:40:26 Audi kernel:  [<c12c769a>] tcp_v4_rcv+0x3e3/0x664
Sep  5 04:40:26 Audi kernel:  [<c12afb90>] ip_local_deliver_finish+0xba/0x192
Sep  5 04:40:26 Audi kernel:  [<c12afcc9>] ip_local_deliver+0x61/0x66
Sep  5 04:40:26 Audi kernel:  [<c12af851>] ip_rcv_finish+0x23d/0x253
Sep  5 04:40:26 Audi kernel:  [<c12afaa0>] ip_rcv+0x239/0x26f
Sep  5 04:40:26 Audi kernel:  [<c1295d8d>] __netif_receive_skb+0x23a/0x260
Sep  5 04:40:26 Audi kernel:  [<c1297256>] netif_receive_skb+0x5d/0x63
Sep  5 04:40:26 Audi kernel:  [<c1292564>] ? __netdev_alloc_skb+0x16/0x31
Sep  5 04:40:26 Audi kernel:  [<c129731d>] napi_skb_finish+0x1e/0x34
Sep  5 04:40:26 Audi kernel:  [<c1297794>] napi_gro_receive+0xed/0xf5
Sep  5 04:40:26 Audi kernel:  [<f84d0651>] e1000_receive_skb+0x36/0x3b [e1000]
Sep  5 04:40:26 Audi kernel:  [<f84d0d79>] e1000_clean_rx_irq+0x291/0x32c [e1000]
Sep  5 04:40:26 Audi kernel:  [<f84d3955>] e1000_clean+0x3c/0x18f [e1000]
Sep  5 04:40:26 Audi kernel:  [<c129786a>] net_rx_action+0x59/0x12a
Sep  5 04:40:26 Audi kernel:  [<c102d13a>] __do_softirq+0x6b/0xe5
Sep  5 04:40:26 Audi kernel:  [<c102d0cf>] ? irq_enter+0x3c/0x3c
Sep  5 04:40:26 Audi kernel:  <IRQ>  [<c102cf8d>] ? irq_exit+0x32/0x53
Sep  5 04:40:26 Audi kernel:  [<c1003667>] ? do_IRQ+0x7c/0x90
Sep  5 04:40:26 Audi kernel:  [<c13102a9>] ? common_interrupt+0x29/0x30
Sep  5 04:40:26 Audi kernel:  [<c1007efc>] ? default_idle+0x2e/0x43
Sep  5 04:40:26 Audi kernel:  [<c1001a89>] ? cpu_idle+0x3a/0x51
Sep  5 04:40:26 Audi kernel:  [<c12ffb88>] ? rest_init+0x58/0x5a
Sep  5 04:40:26 Audi kernel:  [<c144f717>] ? start_kernel+0x282/0x287
Sep  5 04:40:26 Audi kernel:  [<c144f0b0>] ? i386_start_kernel+0xb0/0xb7

 

I found the original syslog, as syslog.1 -- looking at it, it shows errors for sdh as early as 23:59:46

Sep  4 23:59:46 Audi kernel: sd 1:0:6:0: [sdh] Unhandled sense code
Sep  4 23:59:46 Audi kernel: sd 1:0:6:0: [sdh]  Result: hostbyte=0x10 driverbyte=0x08
Sep  4 23:59:46 Audi kernel: sd 1:0:6:0: [sdh]  Sense Key : 0x3 [current] 
Sep  4 23:59:46 Audi kernel: Info fld=0xa2cd73e8
Sep  4 23:59:46 Audi kernel: sd 1:0:6:0: [sdh]  ASC=0x11 ASCQ=0x0
Sep  4 23:59:46 Audi kernel: sd 1:0:6:0: [sdh] CDB: cdb[0]=0x28: 28 00 a2 cd 73 20 00 01 00 00
Sep  4 23:59:46 Audi kernel: end_request: critical target error, dev sdh, sector 2731373344

 

which is also just before my first page allocation issue

Sep  5 00:02:07 Audi kernel: smbd: page allocation failure: order:4, mode:0x4020
Sep  5 00:02:07 Audi kernel: Pid: 27069, comm: smbd Not tainted 3.0.35-unRAID #2

 

My question is, is this just a configuration thing on my side?  I have installed a lot of add-ins:  Transmission, Sabnzbd, SickBeard, CouchPotato.  These are just being configured and not attached to a search site or news account so.  I also have a cache drive installed in addition to 4 drive array, 2 TB Cache, 3 1.5 TB data drives.  I am also using a 1 Gig virtual disk to fast boot the flash device (thanks to JohnM and others for the advice).  My VM has 2 Gigs of RAM and 2 cores allocated to it.

 

I did not have this problem when I precleared the 2 TB and 2x 1.5TB drives when I originally created the array.  The original 1.5TB drive wasn't precleared as I was just starting on UnRaid and didn't know to do this.  I also ran a parity check last night when I got the M1015 installed and it started at 23:00 or so and finished at about 5 this morning without errors.

 

So, I was wondering about my next steps:

  • Is it a bad drive?
  • Do I need to give it more RAM
  • Should I setup a swap drive, from the VM this should be straight forward

 

I'm wondering if the swap drive/partition is a good safety net to prevent this from happening in the future.

 

Syslog link since it's too big to attach here

https://skydrive.live.com/?cid=bd1b6f1e5984fb21&id=BD1B6F1E5984FB21%21114

 

Advice?

smart-report-sdj.txt

Link to comment

Ok,

 

More information.  I think I may have solved my out of memory issues.  I had just implemented cache_dirs and had set it to level 3.  I have a ton of old stuff and photos that exist to level 3.  Roughly tens of thousands of files.  I believe this was tying up much of my 4 Gig ram and causing issues.

 

Still doesn't explain the errors I'm seeing on that drive during preclear. 

 

I have taken the disk out and ran SeaTools on another machine and it passes all tests so I'm still confused a bit on that.

 

As far as memory usage now, this is what I get from free

root@Audi:/# free
             total       used       free     shared    buffers     cached
Mem:       4147160    1962660    2184500          0     747512    1084816
-/+ buffers/cache:     130332    4016828
Swap:            0          0          0
root@Audi:/#

 

and here is a sorted list of processes and memory (largest at the bottom)

root@Audi:/# ps -eo size,pid,args --sort size
   SZ   PID COMMAND
    0     2 [kthreadd]
    0     3 [ksoftirqd/0]
    0     6 [migration/0]
    0     7 [migration/1]
    0     9 [ksoftirqd/1]
    0    11 [khelper]
    0    12 [kworker/u:1]
    0   145 [sync_supers]
    0   147 [bdi-default]
    0   149 [kblockd]
    0   313 [ata_sff]
    0   323 [khubd]
    0   431 [rpciod]
    0   432 [kworker/1:1]
    0   463 [kswapd0]
    0   524 [fsnotify_mark]
    0   543 [nfsiod]
    0   551 [crypto]
    0   902 [scsi_eh_0]
    0   903 [scsi_eh_1]
    0   905 [fw_event0]
    0   908 [vmw_pvscsi_wq_0]
    0   917 [scsi_eh_2]
    0   918 [usb-storage]
    0   930 [poll_0_status]
    0   931 [kworker/u:2]
    0   987 [kworker/1:2]
    0  1531 [mdrecoveryd]
    0  1533 [spinupd]
    0  1534 [spinupd]
    0  1535 [spinupd]
    0  1536 [spinupd]
    0  1594 [unraidd]
    0  1607 [reiserfs]
    0 11082 [flush-8:64]
    0 12341 [kworker/0:1]
    0 23926 [flush-8:80]
    0 28364 [kworker/0:2]
    0 29378 [kworker/0:0]
  248  1514 /bin/bash /boot/unmenu/uu
  284     1 init
  292  1176 /usr/sbin/inetd
  292  1206 /usr/sbin/crond -l notice
  292 12860 sleep 10
  296  1050 /usr/sbin/syslogd -m0
  296  1190 /usr/sbin/acpid
  296  1208 /usr/sbin/atd -b 15 -l 1
  296  1515 logger -tunmenu -plocal7.info -is
  300  1054 /usr/sbin/klogd -c 3 -x
  300  1162 /sbin/rpc.portmap
  304  1080 /sbin/dhcpcd -t 10 -h Audi eth0
  304 12093 /sbin/agetty 38400 tty1 linux
  304 12094 /sbin/agetty 38400 tty2 linux
  304 12095 /sbin/agetty 38400 tty3 linux
  304 12096 /sbin/agetty 38400 tty4 linux
  304 12097 /sbin/agetty 38400 tty5 linux
  304 12098 /sbin/agetty 38400 tty6 linux
  320  1166 /sbin/rpc.statd
  324  1201 /usr/bin/dbus-daemon --system
  416 24769 /sbin/udevd --daemon
  420   781 /sbin/udevd --daemon
  456 10020 /usr/sbin/nmbd -D
  504 10466 /usr/sbin/sshd
  508 13398 /bin/bash
  600  6079 -bash
  620 13397 SCREEN
  632 12864 ps -eo size,pid,args --sort size
  664  6075 sshd: root@pts/0
  676   887 /sbin/udevd --daemon
  740  1523 /usr/sbin/smbd -D
  740  3669 /usr/sbin/smbd -D
  740 10022 /usr/sbin/smbd -D
  752 10027 /usr/sbin/smbd -D
  804  1183 /usr/sbin/ntpd -g -p /var/run/ntpd.pid
  924 13668 /bin/bash ./preclear_disk.sh -A /dev/sdf
1112 12743 /usr/sbin/smbd -D
2360 23919 dd if=/dev/zero bs=2048k seek=1 of=/dev/sdf
2840  1521 awk -W re-interval -f ./unmenu.awk
8760  1508 /usr/local/sbin/emhttp
9364  1474 /usr/local/bin/vmtoolsd
17132 10000 /usr/local/sbin/shfs /mnt/user0 -disks 2097150 -o noatime,big_writes
49540  6891 /sbin/apcupsd
78564 10007 /usr/local/sbin/shfs /mnt/user -disks 2097151 2000000 -o noatime,big
root@Audi:/#

 

Is it normal for shfs to consume so much memory (I'm not sure what the units are, but 78564 for the user share seems like a lot compared to 17132 for the user0 share).

 

Any help on either the memory issue or the drive disconnect would be greatly appreciated.

Link to comment

What seems odd is the amount of memory used by your apcupsd process vs. mine.  What version of apcupsd are you running?

# apcupsd -V
apcupsd 3.14.3 (20 January 2008) slackware

 

Here is the exact same command "pe" run on my 5.0rc6-test2 version server  (I don't use a cache drive, so I have no user0 view):

# ps -eo size,pid,args --sort size
   SZ   PID COMMAND
    0     2 [kthreadd]
    0     3 [ksoftirqd/0]
    0     6 [migration/0]
    0     7 [migration/1]
    0     9 [ksoftirqd/1]
    0    11 [khelper]
    0   153 [sync_supers]
    0   155 [bdi-default]
    0   157 [kblockd]
    0   277 [ata_sff]
    0   287 [khubd]
    0   397 [rpciod]
    0   417 [kswapd0]
    0   478 [fsnotify_mark]
    0   498 [nfsiod]
    0   501 [cifsiod]
    0   507 [crypto]
    0   673 [deferwq]
    0   809 [scsi_eh_0]
    0   828 [scsi_eh_1]
    0   830 [kworker/u:3]
    0   843 [scsi_eh_2]
    0   844 [scsi_eh_3]
    0   845 [scsi_eh_4]
    0   846 [scsi_eh_5]
    0   847 [scsi_eh_6]
    0   848 [scsi_eh_7]
    0   851 [kworker/u:6]
    0   856 [scsi_eh_8]
    0   857 [usb-storage]
    0   862 [scsi_eh_9]
    0   863 [scsi_eh_10]
    0   867 [scsi_eh_11]
    0   868 [scsi_eh_12]
    0  1196 [mdrecoveryd]
    0  1201 [spinupd]
    0  1202 [spinupd]
    0  1203 [spinupd]
    0  1228 [spinupd]
    0  1229 [spinupd]
    0  1231 [spinupd]
    0  1233 [spinupd]
    0  1376 [unraidd]
    0  1610 [reiserfs]
    0  8593 [kworker/1:3]
    0 10436 [kworker/1:2]
    0 10704 [kworker/0:3]
    0 11162 [kworker/0:1]
  240  3736 /bin/bash /boot/unmenu/uu
  284     1 init
  292  1148 /usr/sbin/inetd
  296  1028 /usr/sbin/syslogd -m0
  296  1162 /usr/sbin/acpid
  296  1179 /usr/sbin/atd -b 15 -l 1
  296  3737 logger -tunmenu -plocal7.info -is
  300  1032 /usr/sbin/klogd -c 3 -x
  300  1134 /sbin/rpc.portmap
  304  3740 /sbin/agetty 38400 tty1 linux
  304  3741 /sbin/agetty 38400 tty2 linux
  304  3742 /sbin/agetty 38400 tty3 linux
  304  3743 /sbin/agetty 38400 tty4 linux
  304  3744 /sbin/agetty 38400 tty5 linux
  304  3745 /sbin/agetty 38400 tty6 linux
  320  1138 /sbin/rpc.statd
  320  1177 /usr/sbin/crond -l notice
  324  1172 /usr/bin/dbus-daemon --system
  324  6869 heyu_relay config start
  348  1691 in.telnetd: xxx.xxxxx.xxxxx.xxxxx
  356  3060 rsync --daemon --config=/boot/config/rsyncd.conf
  456  1326 /usr/sbin/nmbd -D
  480  1692 -bash
  596   890 /sbin/udevd --daemon
  596   891 /sbin/udevd --daemon
  600   701 /sbin/udevd --daemon
  664  1155 /usr/sbin/ntpd -g -p /var/run/ntpd.pid
  748  1328 /usr/sbin/smbd -D
  748 26031 /usr/sbin/smbd -D
  756  1334 /usr/sbin/smbd -D
  764 20105 ps -eo size,pid,args --sort size
2804  3746 awk -W re-interval -f ./unmenu.awk
8540  1428 /sbin/apcupsd
8760  1187 /usr/local/sbin/emhttp
34956  2790 /usr/local/sbin/shfs /mnt/user -disks 16777214 -o noatime,big_writes,allow_other,default_permissions,remember=0

Link to comment

Thanks for the reply Joe,

 

apcupsd version

root@Audi:~# apcupsd -V
apcupsd 3.14.8 (16 January 2010) slackware

 

I will likely revert to 3.14.3 as I just read the notes again and 3.14.8 has some issues that explain the disconnects I get from my other VMs getting APC battery status from unRaid.

 

Here is another run of the ps command after a reboot to clear the constant memory allocation issues.  I've turned off cache_dirs, and do not load Transmission, Sabnzbd, SickBeard, or CouchPotato, plus I turned off the Hourly email script (deleted it from /etc/cron.hourly/).

 

root@Audi:~# ps -eo size,pid,args --sort size
   SZ   PID COMMAND
    0     2 [kthreadd]
    0     3 [ksoftirqd/0]
    0     6 [migration/0]
    0     7 [migration/1]
    0     9 [ksoftirqd/1]
    0    11 [khelper]
    0   145 [sync_supers]
    0   147 [bdi-default]
    0   149 [kblockd]
    0   313 [ata_sff]
    0   323 [khubd]
    0   431 [rpciod]
    0   463 [kswapd0]
    0   524 [fsnotify_mark]
    0   543 [nfsiod]
    0   551 [crypto]
    0   904 [scsi_eh_0]
    0   905 [vmw_pvscsi_wq_0]
    0   907 [scsi_eh_1]
    0   917 [fw_event0]
    0   932 [scsi_eh_2]
    0   933 [usb-storage]
    0   950 [poll_0_status]
    0   953 [kworker/u:4]
    0   956 [kworker/u:7]
    0  1465 [kworker/1:0]
    0  1542 [mdrecoveryd]
    0  1544 [spinupd]
    0  1546 [spinupd]
    0  1547 [spinupd]
    0  1548 [spinupd]
    0  1595 [unraidd]
    0  1628 [reiserfs]
    0  4848 [kworker/0:0]
    0 23026 [kworker/0:3]
    0 24786 [flush-8:96]
    0 25794 [kworker/1:1]
  248  1526 /bin/bash /boot/unmenu/uu
  284     1 init
  292  1188 /usr/sbin/inetd
  292  1218 /usr/sbin/crond -l notice
  296  1062 /usr/sbin/syslogd -m0
  296  1203 /usr/sbin/acpid
  296  1220 /usr/sbin/atd -b 15 -l 1
  296  1527 logger -tunmenu -plocal7.info -is
  300  1066 /usr/sbin/klogd -c 3 -x
  300  1174 /sbin/rpc.portmap
  300 24775 dd if=/dev/zero bs=10000 seek=1 of=/dev/sdg
  304  1092 /sbin/dhcpcd -t 10 -h Audi eth0
  304 11876 /sbin/agetty 38400 tty1 linux
  304 11877 /sbin/agetty 38400 tty2 linux
  304 11878 /sbin/agetty 38400 tty3 linux
  304 11879 /sbin/agetty 38400 tty4 linux
  304 11880 /sbin/agetty 38400 tty5 linux
  304 11881 /sbin/agetty 38400 tty6 linux
  312 12599 awk { print $10; }
  316 12598 sed 1q
  320  1178 /sbin/rpc.statd
  324  1213 /usr/bin/dbus-daemon --system
  392 12596 smartctl -A /dev/sdg
  444 12597 grep -i temperature
  456  1567 /usr/sbin/nmbd -D
  484 12333 -bash
  504 10268 /usr/sbin/sshd
  504 12324 sshd: root@pts/0
  508 11952 /bin/bash
  520   781 /sbin/udevd --daemon
  544   887 /sbin/udevd --daemon
  620 11951 SCREEN
  632 12600 ps -eo size,pid,args --sort size
  668   886 /sbin/udevd --daemon
  748  1569 /usr/sbin/smbd -D
  748 12462 /usr/sbin/smbd -D
  748 12537 /usr/sbin/smbd -D
  748 22974 /usr/sbin/smbd -D
  756  1573 /usr/sbin/smbd -D
  804  1195 /usr/sbin/ntpd -g -p /var/run/ntpd.pid
1284  2282 /usr/sbin/smbd -D
1812 12594 /bin/bash ./preclear_disk.sh -A -b 10000 -r 10000 -w 10000 -D /dev/sdg
1812 12595 /bin/bash ./preclear_disk.sh -A -b 10000 -r 10000 -w 10000 -D /dev/sdg
1812 23027 /bin/bash ./preclear_disk.sh -A -b 10000 -r 10000 -w 10000 -D /dev/sdg
2672  1533 awk -W re-interval -f ./unmenu.awk
8760  1520 /usr/local/sbin/emhttp
9364  1486 /usr/local/bin/vmtoolsd
34924  1662 /usr/local/sbin/shfs /mnt/user0 -disks 2097150 -o noatime,big_writes,allow_other,default
49540  6739 /sbin/apcupsd
78668  1669 /usr/local/sbin/shfs /mnt/user -disks 2097151 2000000 -o noatime,big_writes,allow_other,

 

root@Audi:~# free
             total       used       free     shared    buffers     cached
Mem:       4147160    1507288    2639872          0     730816     628968
-/+ buffers/cache:     147504    3999656
Swap:      1048572       6804    1041768
root@Audi:~#

 

I am just about to finish a parity check (swapped my parity from a 2TB to 3TB drive in prep for moving up to 3TB drives).  I'm trying to preclear my 2nd 3TB drive (this is the 5th attempt to let it complete without memory issues).  So far so good with memory.  /dev/sdg is the "good" 3TB drive, /dev/sdh is still in my machine but everytime I try to preclear it it causes issues shown in the syslog in my first post so I've RMA'd it and just waiting for the new drive to come in before I pull it.

 

What other information can I provide that would help with the memory consumption for shfs?  Number of files under user?

 

Thanks,

Brad

Link to comment
What other information can I provide that would help with the memory consumption for shfs?  Number of files under user?

 

I've got a fair number of files under /mnt/user

 

total, files and directories

# find /mnt/user  -depth -print | wc -l

293813

 

directories only

# find /mnt/user  -type d -depth -print | wc -l

16485

files only

# find /mnt/user  -type f -depth -print | wc -l

277327

 

Memory usage  (need to use "-l" see "low" memory usage.)  This is with cache_dirs running invoking it as just "cache_dirs -w", not limiting the depth:

# free -l
             total       used       free     shared    buffers     cached
Mem:       4110844    3339212     771632          0     254464    2812688
Low:        867252     501844     365408
High:      3243592    2837368     406224
-/+ buffers/cache:     272060    3838784
Swap:            0          0          0

Link to comment

total files and dirs

# find /mnt/user -depth -print | wc -l

410194

 

directories only

# find /mnt/user -type d -depth -print | wc -l

27161

 

files only

find /mnt/user -type f -depth -print | wc -l

383038

 

free

# free -l

            total      used      free    shared    buffers    cached

Mem:      4147160    1587952    2559208          0    744928    662436

Low:        866320    858836      7484

High:      3280840    729116    2551724

-/+ buffers/cache:    180588    3966572

Swap:      1048572      7624    1040948

 

I am not running cache_dirs now but my apcupsd is still large for memory.  I have 3 VMs that talk to unraid VM for apc status

 

# ps -eo size,pid,args --sort size
   SZ   PID COMMAND
    0     2 [kthreadd]
    0     3 [ksoftirqd/0]
    0     6 [migration/0]
    0     7 [migration/1]
    0     9 [ksoftirqd/1]
    0    11 [khelper]
    0   145 [sync_supers]
    0   147 [bdi-default]
    0   149 [kblockd]
    0   313 [ata_sff]
    0   323 [khubd]
    0   431 [rpciod]
    0   463 [kswapd0]
    0   524 [fsnotify_mark]
    0   543 [nfsiod]
    0   551 [crypto]
    0   615 [flush-8:96]
    0   904 [scsi_eh_0]
    0   905 [vmw_pvscsi_wq_0]
    0   907 [scsi_eh_1]
    0   917 [fw_event0]
    0   932 [scsi_eh_2]
    0   933 [usb-storage]
    0   950 [poll_0_status]
    0   953 [kworker/u:4]
    0   956 [kworker/u:7]
    0  1542 [mdrecoveryd]
    0  1544 [spinupd]
    0  1546 [spinupd]
    0  1547 [spinupd]
    0  1548 [spinupd]
    0  1595 [unraidd]
    0  1628 [reiserfs]
    0  6288 [flush-8:16]
    0  7525 [kworker/1:1]
    0 14774 [kworker/1:0]
    0 20327 [kworker/0:0]
    0 20647 [kworker/0:1]
  248  1526 /bin/bash /boot/unmenu/uu
  284     1 init
  292  1188 /usr/sbin/inetd
  292  1218 /usr/sbin/crond -l notice
  292  7739 sleep 10
  296  1062 /usr/sbin/syslogd -m0
  296  1203 /usr/sbin/acpid
  296  1220 /usr/sbin/atd -b 15 -l 1
  296  1527 logger -tunmenu -plocal7.info -is
  300  1066 /usr/sbin/klogd -c 3 -x
  300  1174 /sbin/rpc.portmap
  304  1092 /sbin/dhcpcd -t 10 -h Audi eth0
  304 11876 /sbin/agetty 38400 tty1 linux
  304 11877 /sbin/agetty 38400 tty2 linux
  304 11878 /sbin/agetty 38400 tty3 linux
  304 11879 /sbin/agetty 38400 tty4 linux
  304 11880 /sbin/agetty 38400 tty5 linux
  304 11881 /sbin/agetty 38400 tty6 linux
  320  1178 /sbin/rpc.statd
  324  1213 /usr/bin/dbus-daemon --system
  456  1567 /usr/sbin/nmbd -D
  480   608 dd if=/dev/zero bs=65536 seek=1 of=/dev/sdg
  500 20450 -bash
  504 10268 /usr/sbin/sshd
  504 20439 sshd: root@pts/0
  508 11952 /bin/bash
  516 24431 /sbin/udevd --daemon
  520   781 /sbin/udevd --daemon
  620 11951 SCREEN
  668   887 /sbin/udevd --daemon
  748  1569 /usr/sbin/smbd -D
  748  2604 /usr/sbin/smbd -D
  748  2660 /usr/sbin/smbd -D
  748  2692 /usr/sbin/smbd -D
  748  2747 /usr/sbin/smbd -D
  748  2776 /usr/sbin/smbd -D
  748  2832 /usr/sbin/smbd -D
  748  2862 /usr/sbin/smbd -D
  748  2913 /usr/sbin/smbd -D
  748  2951 /usr/sbin/smbd -D
  748  2999 /usr/sbin/smbd -D
  748  3036 /usr/sbin/smbd -D
  748  3084 /usr/sbin/smbd -D
  748  3122 /usr/sbin/smbd -D
  748  3174 /usr/sbin/smbd -D
  748  3206 /usr/sbin/smbd -D
  748  3255 /usr/sbin/smbd -D
  748  3297 /usr/sbin/smbd -D
  748  3416 /usr/sbin/smbd -D
  748  3473 /usr/sbin/smbd -D
  748  3505 /usr/sbin/smbd -D
  748  3555 /usr/sbin/smbd -D
  748  3587 /usr/sbin/smbd -D
  748  3642 /usr/sbin/smbd -D
  748  3673 /usr/sbin/smbd -D
  748  3724 /usr/sbin/smbd -D
  748  3761 /usr/sbin/smbd -D
  748  3811 /usr/sbin/smbd -D
  748  3843 /usr/sbin/smbd -D
  748  3892 /usr/sbin/smbd -D
  748  3930 /usr/sbin/smbd -D
  748  3974 /usr/sbin/smbd -D
  748  4015 /usr/sbin/smbd -D
  748  4063 /usr/sbin/smbd -D
  748  4118 /usr/sbin/smbd -D
  748  4144 /usr/sbin/smbd -D
  748  4201 /usr/sbin/smbd -D
  748  4232 /usr/sbin/smbd -D
  748  4282 /usr/sbin/smbd -D
  748  4315 /usr/sbin/smbd -D
  748  4370 /usr/sbin/smbd -D
  748  4396 /usr/sbin/smbd -D
  748  4453 /usr/sbin/smbd -D
  748  4491 /usr/sbin/smbd -D
  748  4539 /usr/sbin/smbd -D
  748  4572 /usr/sbin/smbd -D
  748  4623 /usr/sbin/smbd -D
  748  4660 /usr/sbin/smbd -D
  748  4705 /usr/sbin/smbd -D
  748  4741 /usr/sbin/smbd -D
  748  4791 /usr/sbin/smbd -D
  748  4829 /usr/sbin/smbd -D
  748  4874 /usr/sbin/smbd -D
  748  4914 /usr/sbin/smbd -D
  748  4967 /usr/sbin/smbd -D
  748  5016 /usr/sbin/smbd -D
  748  5064 /usr/sbin/smbd -D
  748  5122 /usr/sbin/smbd -D
  748  5149 /usr/sbin/smbd -D
  748  5205 /usr/sbin/smbd -D
  748  5237 /usr/sbin/smbd -D
  748  5291 /usr/sbin/smbd -D
  748  5318 /usr/sbin/smbd -D
  748  5374 /usr/sbin/smbd -D
  748  5404 /usr/sbin/smbd -D
  748  5455 /usr/sbin/smbd -D
  748  5487 /usr/sbin/smbd -D
  748  5543 /usr/sbin/smbd -D
  748  5574 /usr/sbin/smbd -D
  748  5624 /usr/sbin/smbd -D
  748  5664 /usr/sbin/smbd -D
  748  5712 /usr/sbin/smbd -D
  748  5745 /usr/sbin/smbd -D
  748  5795 /usr/sbin/smbd -D
  748  5831 /usr/sbin/smbd -D
  748  5876 /usr/sbin/smbd -D
  748  5933 /usr/sbin/smbd -D
  748  5981 /usr/sbin/smbd -D
  748  6018 /usr/sbin/smbd -D
  748  6064 /usr/sbin/smbd -D
  748  6104 /usr/sbin/smbd -D
  748  6150 /usr/sbin/smbd -D
  748  6187 /usr/sbin/smbd -D
  748  6233 /usr/sbin/smbd -D
  748  6287 /usr/sbin/smbd -D
  748  6320 /usr/sbin/smbd -D
  748  6377 /usr/sbin/smbd -D
  748  6407 /usr/sbin/smbd -D
  748  6446 /usr/sbin/smbd -D
  748  6492 /usr/sbin/smbd -D
  748  6553 /usr/sbin/smbd -D
  748  6590 /usr/sbin/smbd -D
  748  6644 /usr/sbin/smbd -D
  748  6679 /usr/sbin/smbd -D
  748  6741 /usr/sbin/smbd -D
  748  6769 /usr/sbin/smbd -D
  748  6826 /usr/sbin/smbd -D
  748  6859 /usr/sbin/smbd -D
  748  6910 /usr/sbin/smbd -D
  748  6941 /usr/sbin/smbd -D
  748  6998 /usr/sbin/smbd -D
  748  7035 /usr/sbin/smbd -D
  748  7094 /usr/sbin/smbd -D
  748  7143 /usr/sbin/smbd -D
  748  7199 /usr/sbin/smbd -D
  748  7240 /usr/sbin/smbd -D
  748  7294 /usr/sbin/smbd -D
  748  7338 /usr/sbin/smbd -D
  748  7387 /usr/sbin/smbd -D
  748  7434 /usr/sbin/smbd -D
  748  7486 /usr/sbin/smbd -D
  748  7533 /usr/sbin/smbd -D
  748  7582 /usr/sbin/smbd -D
  748  7630 /usr/sbin/smbd -D
  748  7680 /usr/sbin/smbd -D
  748  7721 /usr/sbin/smbd -D
  756  1573 /usr/sbin/smbd -D
  772  7745 ps -eo size,pid,args --sort size
  796 22974 /usr/sbin/smbd -D
  796 28611 /usr/sbin/smbd -D
  804  1195 /usr/sbin/ntpd -g -p /var/run/ntpd.pid
1148  2282 /usr/sbin/smbd -D
1496 27384 /usr/sbin/smbd -D
1812  2710 /bin/bash ./preclear_disk.sh -A -b 1000 -r 65536 -w 65536 -D /dev/sd
2768  1533 awk -W re-interval -f ./unmenu.awk
8760  1520 /usr/local/sbin/emhttp
9364  1486 /usr/local/bin/vmtoolsd
34924  1662 /usr/local/sbin/shfs /mnt/user0 -disks 2097150 -o noatime,big_writes
49500 18144 /sbin/apcupsd
96396  1669 /usr/local/sbin/shfs /mnt/user -disks 2097151 2000000 -o noatime,big

Link to comment

total files and dirs

# find /mnt/user -depth -print | wc -l

410194

 

directories only

# find /mnt/user -type d -depth -print | wc -l

27161

 

files only

find /mnt/user -type f -depth -print | wc -l

383038

 

free

# free -l

            total      used      free    shared    buffers    cached

Mem:      4147160    1587952    2559208          0    744928    662436

Low:        866320    858836      7484

High:      3280840    729116    2551724

-/+ buffers/cache:    180588    3966572

Swap:      1048572      7624    1040948

 

I am not running cache_dirs now but my apcupsd is still large for memory.  I have 3 VMs that talk to unraid VM for apc status

 

# ps -eo size,pid,args --sort size
   SZ   PID COMMAND
    0     2 [kthreadd]
    0     3 [ksoftirqd/0]
    0     6 [migration/0]
    0     7 [migration/1]
    0     9 [ksoftirqd/1]
    0    11 [khelper]
    0   145 [sync_supers]
    0   147 [bdi-default]
    0   149 [kblockd]
    0   313 [ata_sff]
    0   323 [khubd]
    0   431 [rpciod]
    0   463 [kswapd0]
    0   524 [fsnotify_mark]
    0   543 [nfsiod]
    0   551 [crypto]
    0   615 [flush-8:96]
    0   904 [scsi_eh_0]
    0   905 [vmw_pvscsi_wq_0]
    0   907 [scsi_eh_1]
    0   917 [fw_event0]
    0   932 [scsi_eh_2]
    0   933 [usb-storage]
    0   950 [poll_0_status]
    0   953 [kworker/u:4]
    0   956 [kworker/u:7]
    0  1542 [mdrecoveryd]
    0  1544 [spinupd]
    0  1546 [spinupd]
    0  1547 [spinupd]
    0  1548 [spinupd]
    0  1595 [unraidd]
    0  1628 [reiserfs]
    0  6288 [flush-8:16]
    0  7525 [kworker/1:1]
    0 14774 [kworker/1:0]
    0 20327 [kworker/0:0]
    0 20647 [kworker/0:1]
  248  1526 /bin/bash /boot/unmenu/uu
  284     1 init
  292  1188 /usr/sbin/inetd
  292  1218 /usr/sbin/crond -l notice
  292  7739 sleep 10
  296  1062 /usr/sbin/syslogd -m0
  296  1203 /usr/sbin/acpid
  296  1220 /usr/sbin/atd -b 15 -l 1
  296  1527 logger -tunmenu -plocal7.info -is
  300  1066 /usr/sbin/klogd -c 3 -x
  300  1174 /sbin/rpc.portmap
  304  1092 /sbin/dhcpcd -t 10 -h Audi eth0
  304 11876 /sbin/agetty 38400 tty1 linux
  304 11877 /sbin/agetty 38400 tty2 linux
  304 11878 /sbin/agetty 38400 tty3 linux
  304 11879 /sbin/agetty 38400 tty4 linux
  304 11880 /sbin/agetty 38400 tty5 linux
  304 11881 /sbin/agetty 38400 tty6 linux
  320  1178 /sbin/rpc.statd
  324  1213 /usr/bin/dbus-daemon --system
  456  1567 /usr/sbin/nmbd -D
  480   608 dd if=/dev/zero bs=65536 seek=1 of=/dev/sdg
  500 20450 -bash
  504 10268 /usr/sbin/sshd
  504 20439 sshd: root@pts/0
  508 11952 /bin/bash
  516 24431 /sbin/udevd --daemon
  520   781 /sbin/udevd --daemon
  620 11951 SCREEN
  668   887 /sbin/udevd --daemon
  748  1569 /usr/sbin/smbd -D
  748  2604 /usr/sbin/smbd -D
  748  2660 /usr/sbin/smbd -D
  748  2692 /usr/sbin/smbd -D
  748  2747 /usr/sbin/smbd -D
  748  2776 /usr/sbin/smbd -D
  748  2832 /usr/sbin/smbd -D
  748  2862 /usr/sbin/smbd -D
  748  2913 /usr/sbin/smbd -D
  748  2951 /usr/sbin/smbd -D
  748  2999 /usr/sbin/smbd -D
  748  3036 /usr/sbin/smbd -D
  748  3084 /usr/sbin/smbd -D
  748  3122 /usr/sbin/smbd -D
  748  3174 /usr/sbin/smbd -D
  748  3206 /usr/sbin/smbd -D
  748  3255 /usr/sbin/smbd -D
  748  3297 /usr/sbin/smbd -D
  748  3416 /usr/sbin/smbd -D
  748  3473 /usr/sbin/smbd -D
  748  3505 /usr/sbin/smbd -D
  748  3555 /usr/sbin/smbd -D
  748  3587 /usr/sbin/smbd -D
  748  3642 /usr/sbin/smbd -D
  748  3673 /usr/sbin/smbd -D
  748  3724 /usr/sbin/smbd -D
  748  3761 /usr/sbin/smbd -D
  748  3811 /usr/sbin/smbd -D
  748  3843 /usr/sbin/smbd -D
  748  3892 /usr/sbin/smbd -D
  748  3930 /usr/sbin/smbd -D
  748  3974 /usr/sbin/smbd -D
  748  4015 /usr/sbin/smbd -D
  748  4063 /usr/sbin/smbd -D
  748  4118 /usr/sbin/smbd -D
  748  4144 /usr/sbin/smbd -D
  748  4201 /usr/sbin/smbd -D
  748  4232 /usr/sbin/smbd -D
  748  4282 /usr/sbin/smbd -D
  748  4315 /usr/sbin/smbd -D
  748  4370 /usr/sbin/smbd -D
  748  4396 /usr/sbin/smbd -D
  748  4453 /usr/sbin/smbd -D
  748  4491 /usr/sbin/smbd -D
  748  4539 /usr/sbin/smbd -D
  748  4572 /usr/sbin/smbd -D
  748  4623 /usr/sbin/smbd -D
  748  4660 /usr/sbin/smbd -D
  748  4705 /usr/sbin/smbd -D
  748  4741 /usr/sbin/smbd -D
  748  4791 /usr/sbin/smbd -D
  748  4829 /usr/sbin/smbd -D
  748  4874 /usr/sbin/smbd -D
  748  4914 /usr/sbin/smbd -D
  748  4967 /usr/sbin/smbd -D
  748  5016 /usr/sbin/smbd -D
  748  5064 /usr/sbin/smbd -D
  748  5122 /usr/sbin/smbd -D
  748  5149 /usr/sbin/smbd -D
  748  5205 /usr/sbin/smbd -D
  748  5237 /usr/sbin/smbd -D
  748  5291 /usr/sbin/smbd -D
  748  5318 /usr/sbin/smbd -D
  748  5374 /usr/sbin/smbd -D
  748  5404 /usr/sbin/smbd -D
  748  5455 /usr/sbin/smbd -D
  748  5487 /usr/sbin/smbd -D
  748  5543 /usr/sbin/smbd -D
  748  5574 /usr/sbin/smbd -D
  748  5624 /usr/sbin/smbd -D
  748  5664 /usr/sbin/smbd -D
  748  5712 /usr/sbin/smbd -D
  748  5745 /usr/sbin/smbd -D
  748  5795 /usr/sbin/smbd -D
  748  5831 /usr/sbin/smbd -D
  748  5876 /usr/sbin/smbd -D
  748  5933 /usr/sbin/smbd -D
  748  5981 /usr/sbin/smbd -D
  748  6018 /usr/sbin/smbd -D
  748  6064 /usr/sbin/smbd -D
  748  6104 /usr/sbin/smbd -D
  748  6150 /usr/sbin/smbd -D
  748  6187 /usr/sbin/smbd -D
  748  6233 /usr/sbin/smbd -D
  748  6287 /usr/sbin/smbd -D
  748  6320 /usr/sbin/smbd -D
  748  6377 /usr/sbin/smbd -D
  748  6407 /usr/sbin/smbd -D
  748  6446 /usr/sbin/smbd -D
  748  6492 /usr/sbin/smbd -D
  748  6553 /usr/sbin/smbd -D
  748  6590 /usr/sbin/smbd -D
  748  6644 /usr/sbin/smbd -D
  748  6679 /usr/sbin/smbd -D
  748  6741 /usr/sbin/smbd -D
  748  6769 /usr/sbin/smbd -D
  748  6826 /usr/sbin/smbd -D
  748  6859 /usr/sbin/smbd -D
  748  6910 /usr/sbin/smbd -D
  748  6941 /usr/sbin/smbd -D
  748  6998 /usr/sbin/smbd -D
  748  7035 /usr/sbin/smbd -D
  748  7094 /usr/sbin/smbd -D
  748  7143 /usr/sbin/smbd -D
  748  7199 /usr/sbin/smbd -D
  748  7240 /usr/sbin/smbd -D
  748  7294 /usr/sbin/smbd -D
  748  7338 /usr/sbin/smbd -D
  748  7387 /usr/sbin/smbd -D
  748  7434 /usr/sbin/smbd -D
  748  7486 /usr/sbin/smbd -D
  748  7533 /usr/sbin/smbd -D
  748  7582 /usr/sbin/smbd -D
  748  7630 /usr/sbin/smbd -D
  748  7680 /usr/sbin/smbd -D
  748  7721 /usr/sbin/smbd -D
  756  1573 /usr/sbin/smbd -D
  772  7745 ps -eo size,pid,args --sort size
  796 22974 /usr/sbin/smbd -D
  796 28611 /usr/sbin/smbd -D
  804  1195 /usr/sbin/ntpd -g -p /var/run/ntpd.pid
1148  2282 /usr/sbin/smbd -D
1496 27384 /usr/sbin/smbd -D
1812  2710 /bin/bash ./preclear_disk.sh -A -b 1000 -r 65536 -w 65536 -D /dev/sd
2768  1533 awk -W re-interval -f ./unmenu.awk
8760  1520 /usr/local/sbin/emhttp
9364  1486 /usr/local/bin/vmtoolsd
34924  1662 /usr/local/sbin/shfs /mnt/user0 -disks 2097150 -o noatime,big_writes
49500 18144 /sbin/apcupsd
96396  1669 /usr/local/sbin/shfs /mnt/user -disks 2097151 2000000 -o noatime,big

You are running low on free "low" memory.

 

Joe L.

Link to comment

Ok, so I read somewhere that I can flush or free up memory from the caches in linux by running:

# sync; echo 3 > /proc/sys/vm/drop_caches

 

so here is the sequence

root@Audi:~# free -l
             total       used       free     shared    buffers     cached
Mem:       4147160    4011344     135816          0     314800    3549028
Low:        866320     739728     126592
High:      3280840    3271616       9224
-/+ buffers/cache:     147516    3999644
Swap:      1048572       6408    1042164
root@Audi:~# cat /proc/sys/vm/drop_caches
0
root@Audi:~# sync; echo 3 > /proc/sys/vm/drop_caches
root@Audi:~# free -l
             total       used       free     shared    buffers     cached
Mem:       4147160    1232548    2914612          0      96768    1000704
Low:        866320     209424     656896
High:      3280840    1023124    2257716
-/+ buffers/cache:     135076    4012084
Swap:      1048572       6408    1042164

 

So I went from a low free of 9224 to 656896 with the one command?  This is where my linux knowledge really breaks down.  Is there a negative to the command I executed?  What are these numbers telling me?

 

I just got a RMA'd 3T drive in, one good one is still running (it's in post read) and I'm about to start another one.  Hope I don't run into memory issues. 

Link to comment

Archived

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

×
×
  • Create New...