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

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
soba@ukw.edu.pl
Advanced member
Advanced member
Posts: 146
Joined: Sat Sep 13, 2014 2:09 am

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

Post 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?
xeon
Outstanding Member
Outstanding Member
Posts: 208
Joined: Fri Sep 12, 2014 11:50 pm

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

Post 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.
soba@ukw.edu.pl
Advanced member
Advanced member
Posts: 146
Joined: Sat Sep 13, 2014 2:09 am

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

Post 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...
soba@ukw.edu.pl
Advanced member
Advanced member
Posts: 146
Joined: Sat Sep 13, 2014 2:09 am

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

Post 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
xeon
Outstanding Member
Outstanding Member
Posts: 208
Joined: Fri Sep 12, 2014 11:50 pm

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

Post 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.
User avatar
ccelis5215
Outstanding Member
Outstanding Member
Posts: 632
Joined: Sat Sep 13, 2014 2:04 am
Location: Caracas - Venezuela
ZCS/ZD Version: 8.8.15.GA.3869.UBUNTU18.64 P12

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

Post by ccelis5215 »

Right with Xeon.
soba@ukw.edu.pl
Advanced member
Advanced member
Posts: 146
Joined: Sat Sep 13, 2014 2:09 am

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

Post by soba@ukw.edu.pl »

Hi - about cached memory - this is a LVM (disc) problem.
User avatar
ccelis5215
Outstanding Member
Outstanding Member
Posts: 632
Joined: Sat Sep 13, 2014 2:04 am
Location: Caracas - Venezuela
ZCS/ZD Version: 8.8.15.GA.3869.UBUNTU18.64 P12

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

Post by ccelis5215 »

A solved issue?
soba@ukw.edu.pl
Advanced member
Advanced member
Posts: 146
Joined: Sat Sep 13, 2014 2:09 am

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

Post 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.
User avatar
ccelis5215
Outstanding Member
Outstanding Member
Posts: 632
Joined: Sat Sep 13, 2014 2:04 am
Location: Caracas - Venezuela
ZCS/ZD Version: 8.8.15.GA.3869.UBUNTU18.64 P12

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

Post by ccelis5215 »

and? you must tell what's happens.
Post Reply