Page 1 of 1

ZCS 7.1.3 consumed a lot of memory (all system memory)

Posted: Wed Dec 07, 2011 12:23 pm
by soba@ukw.edu.pl
Hi i use ZCS 7.1.3 with SLES 11 SP1.
After a period of 21 days, the system is busy the entire RAM – 60 GB
I add new 60 GB to VMWare. Now I have 120 GB RAM.

After a period of 40 days ZCS consumed all of 120 GB RAM and use SWAP space!


Memory is not released in the system. Does anyone have a similar problem?

ZCS 7.1.3 consumed a lot of memory (all system memory)

Posted: Wed Dec 07, 2011 5:09 pm
by xeon
Have you checked what is consuming all the memory? My best guess would be Java.
PS: If you have a program or server consuming all the memory all of a sudden, its usually not a case of throw more memory/money at it. Logs and stats are your best friends with these sorts of issues.

ZCS 7.1.3 consumed a lot of memory (all system memory)

Posted: Wed Dec 07, 2011 5:18 pm
by soba@ukw.edu.pl
Yes - this is probably java problem, but when I shut down the ZCS application, my SLES doesn't refreash usage memory. I still have all memory in use...

ZCS 7.1.3 consumed a lot of memory (all system memory)

Posted: Wed Dec 07, 2011 5:21 pm
by soba@ukw.edu.pl
mem status after 7 days system uptime (300 users in ZCS)
MemTotal: 57707776 kB

MemFree: 1161040 kB

Buffers: 477664 kB

Cached: 47110188 kB

SwapCached: 504 kB

Active: 36781656 kB

Inactive: 17229448 kB

Active(anon): 6115344 kB

Inactive(anon): 290320 kB

Active(file): 30666312 kB

Inactive(file): 16939128 kB

Unevictable: 0 kB

Mlocked: 0 kB

SwapTotal: 16779884 kB

SwapFree: 16773912 kB

Dirty: 608 kB

Writeback: 0 kB

AnonPages: 6404936 kB

Mapped: 56916 kB

Shmem: 232 kB

Slab: 2361160 kB

SReclaimable: 1400868 kB

SUnreclaim: 960292 kB

KernelStack: 6744 kB

PageTables: 20548 kB

NFS_Unstable: 0 kB

Bounce: 0 kB

WritebackTmp: 0 kB

CommitLimit: 45633772 kB

Committed_AS: 23259240 kB

VmallocTotal: 34359738367 kB

VmallocUsed: 399332 kB

VmallocChunk: 34359331715 kB

HardwareCorrupted: 0 kB

HugePages_Total: 0

HugePages_Free: 0

HugePages_Rsvd: 0

HugePages_Surp: 0

Hugepagesize: 2048 kB

DirectMap4k: 10240 kB

DirectMap2M: 58710016 kB


vmstat output:

procs -----------memory---------- ---swap-- -----io---- -system-- -----cpu------

r b swpd free buff cache si so bi bo in cs us sy id wa st

0 0 5972 1164052 477668 48510696 0 0 1 24 2 0 1 0 98 1 0

ZCS 7.1.3 consumed a lot of memory (all system memory)

Posted: Wed Dec 07, 2011 5:28 pm
by xeon
Are you experiencing performance issues? Those values do not seem bad to me. Lots of cache and inactive memory, which is normal. The OS will manage the memory properly even when process have finished.

ZCS 7.1.3 consumed a lot of memory (all system memory)

Posted: Wed Dec 07, 2011 5:41 pm
by ccelis5215
Right with Xeon.

ZCS 7.1.3 consumed a lot of memory (all system memory)

Posted: Wed Dec 07, 2011 6:01 pm
by soba@ukw.edu.pl
Hi - about cached memory - this is a LVM (disc) problem.

ZCS 7.1.3 consumed a lot of memory (all system memory)

Posted: Wed Dec 07, 2011 6:04 pm
by ccelis5215
A solved issue?

ZCS 7.1.3 consumed a lot of memory (all system memory)

Posted: Wed Dec 07, 2011 6:09 pm
by soba@ukw.edu.pl
I moved all /opt/zimbra data to normal (not LVM) reiserfs partition.


We can also use flush memory cached procedure.

ZCS 7.1.3 consumed a lot of memory (all system memory)

Posted: Wed Dec 07, 2011 6:23 pm
by ccelis5215
and? you must tell what's happens.