| 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.
|  | | 
06-10-2009, 06:29 AM
| | | Zimbra needs 10 minutes to start, is it normal? I've installed Zimbra 6 Beta 2 on CentOS5.3 (64Bit) and also Ubuntu Server 8.04 LTS (64Bit). On both linux distributions zimbra needs more than 10 minutes to start on an Athlon X2 5050e based test system with 4 Gigabyte RAM. CentOs and Ubuntu are running in a VirtualMachine (using VirtualBox 2.2.4)
Is this a normal startup time or Zimbra?
Also some Java processes produces high cpu usage (80-100%) on theses servers, even if you don't work with Zimbra. Is this a problem with Virtualbox, or a normal behavior? | 
06-10-2009, 02:43 PM
| | Advanced Member | |
Posts: 212
| | Whats your hard drive setup? Any RAID or? I had Zimbra on a RAID1 with 5 other hosts and Zimbra took less then a minute to start on a quad core xeon. Only had 1.5GB of Ram on the Zimbra guest. | 
06-11-2009, 12:46 AM
| | | The test-system has only a single 320GB Western Digital SATA drive and the host OS is running with Mandriva Linux (64Bit). | 
06-11-2009, 02:55 AM
| | Zimbra Consultant & Moderator | |
Posts: 20,317
| | Quote:
Originally Posted by X-Dimension The test-system has only a single 320GB Western Digital SATA drive and the host OS is running with Mandriva Linux (64Bit). | Ten minutes seems a bit on the high side but...... How much RAM is allocated to the VM? Virtualbox isn't a supported platform and I don't know much about running Zimbra in this environment. The same rules would apply for a VM as a real server, plenty of RAM and possibly a RAID 10 but for low usage testing a second HD might be more appropriate. How many users on this system? Any other VMs on this machine when Zimbra starts? Any other wok being done at the same time as Zimbra? Are your DNS A & MX records correct for the ZImbra server?
__________________
Regards
Bill
| 
06-11-2009, 03:49 AM
| | | The VM has 1GB of RAM and is a fresh installation with only the default users (admin, spam etc) There is also no other VM running.
I will test Zimbra with KVM and look how it compares to Virtualbox. Maybe its a VirtualBox Problem. | 
06-11-2009, 03:59 AM
| | Zimbra Consultant & Moderator | |
Posts: 20,317
| | The RAM is rather low, I'd recommend at leats 1.5GB and KVM or Virtualbox aren't really suitable platforms for for Zimbra. If you really want to virtualise then you should install a bare metal hypervisor such as ESX(i) or XENServer.
__________________
Regards
Bill
| 
06-11-2009, 07:24 AM
| | | Same here!
I was running zimbra on a relatively powerfull hardware through VirtualBoxing. I've tried VirtualBox 2.2.0, 2.2.2 and 2.2.4 with the same results.
My native hardware is 64bit Gentoo linux running on 2xDualXeon 3.0Ghz, 4GB ram, RAID5 with 5HDs (hdparm shows over 200mb/s read speed). I've given 2Gb of ram to the VirtualBox machine running Ubuntu 8.10 amd64. Zimbra default install with 1 user is so slow that it becomes difficult to work with plain ssh console. I've run the simple stop/start tests on this setup. Zimbra Stop - 1m 40sec ; Zimbra start 7m 20 sec. Something is seriously messed up here!
Andrei | 
06-11-2009, 07:46 AM
| | Zimbra Consultant & Moderator | |
Posts: 20,317
| | I'm afraid it's the same answer as above, Virtual box is not supported and not a suitable platform for ZImbra. If you want that run a bare metal hypervisor. You also should not run Zimbra on RAID5, use RAID10.
__________________
Regards
Bill
| 
06-11-2009, 09:28 AM
| | | I've installed Zimbra now on a computer (not a virtual machine).
This test-system has 1 GB of RAM (i haven't more here to play with), a Dual Core Athlon X2 and a single SATA drive.
On this machine the Zimbra service starts a lot faster, but still needs over 6 minutes! Why is zimbra such a "monster"?
I had installed Scalix also today on the same machines and it only needs some seconds to start in the VirtualBox under CentOS.
But i still don't like Scalix because the AJAX based web client of Zimbra is much better and feels a little bit faster.
Is there a chance to see some performance optimisations on Zimbra in the future? | 
06-11-2009, 09:46 AM
| | | just for the sake of argument if it load in 6-10 min and then it "works" as intended and flawlessly, what is the problem or issue.
from my exp its the amavis processes which get forked and modules loaded which takes time..many times..clamav is stuck..
there are LOTS Of thigs which gets started in an order just not 1 services.
loading time is not the mesure of software's performence, reliability and workings.
for troubleshooting do the following:
su - zimbra
zmcontrol stop
logout
cat /dev/null > /var/log/maillog
cat /dev/null > /var/log/messages
cat /dev/null > /var/log/zimbra.log
cat /dev/null > /opt/zimbra/log/mailbox.log
cat /dev/null > /opt/zimbra/log/zmmtaconfig.log
reboot -n
once loaded and back, look in /var/log/zimbra.log and see lines when zimbra started till it finished. there is a time stamp in every line, you can 100% pin point what steps are taking longer and then there are ways to figure out how to load it faster (i.e: ram, cpu or HD speed)
Raj
__________________ i2k2 Networks
Dedicated & Shared Zimbra Hosting Provider
| | Thread Tools | Search this Thread | | | | | Display Modes | Linear Mode | | Why Join? Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.  |