Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-18-2008, 09:42 AM
Member
 
Posts: 11
Default High Swap File Usage, Lots of Memory Free

I have a Zimbra server that I migrated to ESX server. When I did the migration I messed up and only alloted 256MB to the VM at the time of migration. since then I have upped the RAM allotment to 1GB. I only have 28 mailboxes on the server.

The problem I'm having is high swap file usage with lots of memory still available. Normally, I have about 490MB free in main memory and there is a little over 500MB of swap used. When I restart zimbra the swap goes down to around 10MB for a few minutes and then its back up to 500MB used.

I found that the MySQL server was only set to use about 10% of memory and so I readjusted it to use 40%.

I'm wondering what else might need to be adjusted to allow for the higher memory actually available or if there's something else I can do to allow/force Zimbra to use more real memory.

Kerry
Reply With Quote
  #2 (permalink)  
Old 04-20-2008, 08:48 AM
Moderator
 
Posts: 7,928
Default

Could you post
Code:
free
cat /proc/meminfo
Also, http://www.zimbra.com/forums/announc...r-profile.html please
__________________
Reply With Quote
  #3 (permalink)  
Old 04-20-2008, 04:21 PM
Member
 
Posts: 11
Default

free:

total used free shared buffers cached
Mem: 1034956 994004 40952 0 1872 40188
-/+ buffers/cache: 951944 83012
Swap: 1048568 569544 479024


cat /proc/meminfo

MemTotal: 1034956 kB
MemFree: 576808 kB
Buffers: 2448 kB
Cached: 42408 kB
SwapCached: 158528 kB
Active: 354716 kB
Inactive: 18696 kB
HighTotal: 131008 kB
HighFree: 23644 kB
LowTotal: 903948 kB
LowFree: 553164 kB
SwapTotal: 1048568 kB
SwapFree: 490864 kB
Dirty: 532 kB
Writeback: 0 kB
AnonPages: 301144 kB
Mapped: 16856 kB
Slab: 8088 kB
SReclaimable: 2216 kB
SUnreclaim: 5872 kB
PageTables: 3536 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 1566044 kB
Committed_AS: 2083036 kB
VmallocTotal: 114680 kB
VmallocUsed: 2548 kB
VmallocChunk: 111552 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
Hugepagesize: 4096 kB
Reply With Quote
  #4 (permalink)  
Old 04-21-2008, 12:22 PM
Former Zimbran
 
Posts: 5,606
Default

swap file usage is usually determined by the OS. Java simply makes the request for memory.

Have you tried checking your dmesg for any errors?
Reply With Quote
  #5 (permalink)  
Old 04-21-2008, 01:00 PM
Moderator
 
Posts: 7,928
Default

Pre-reqs for V5 is 2GB RAM minimum
__________________
Reply With Quote
  #6 (permalink)  
Old 04-21-2008, 01:12 PM
Member
 
Posts: 11
Default

I tried increasing the RAM today to 1.5GB. I know its still below recommended, but with my low usage I thought I'd give it a try. I'll probably have to buy more, but trying to hold out a little longer.

Thanks for the replies.
Reply With Quote
  #7 (permalink)  
Old 04-22-2008, 12:53 AM
Moderator
 
Posts: 2,207
Default

Actually, I have general questions about "adding RAM" (for Zimbroïds).

AFAIK, ZCS install script creates the start files for the differents modules and sets some "max memory" (heap size ?) information in this files.

What is the correct way to let ZCS know you've given it more RAM (or changed server to a more powerfull one) ?

Does the install.sh script chooses the best values each times it is launched (so launching it is enough) ? Should we do something "by hand" ?
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.