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

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 09-12-2006, 06:50 PM
Member
 
Posts: 13
Default extreamly slow "zmprov" execution

I'm not sure what's caused it, but it's taking an extreamly long time to run the zmsetup.pl script while it's doing updates:


----------------

Checking 3.1.2_GA

Tue Sep 12 20:13:16 2006: Checking 3.1.2_GA

Checking 3.1.3_GA

Tue Sep 12 20:13:16 2006: Checking 3.1.3_GA

Checking 3.1.4_GA

Tue Sep 12 20:13:16 2006: Checking 3.1.4_GA

Tue Sep 12 20:13:16 2006: Updating from 3.1.4_GA
Checking 3.2.0_M1

Tue Sep 12 20:13:17 2006: Checking 3.2.0_M1

Tue Sep 12 20:13:17 2006: Updating from 3.2.0_M1
Checking 3.2.0_M2

Tue Sep 12 21:29:53 2006: Checking 3.2.0_M2

Tue Sep 12 21:29:53 2006: Updating from 3.2.0_M2
Checking 4.0.0_RC1

Tue Sep 12 21:49:00 2006: Checking 4.0.0_RC1

Tue Sep 12 21:49:00 2006: Updating from 4.0.0_RC1

---------------------

Yes, that's over an hour to go from 3.2.0M1 to M2..

I've only got 1G of ram, and if someone can confirm that this is what's causing the problem i'm happy, but if there's something else wrong, i'd like to get it figured out.
Reply With Quote
  #2 (permalink)  
Old 10-16-2006, 08:16 AM
Member
 
Posts: 13
Default ipv6

I've tracked this down to ipv6. It seems that Zimbra is trying to do some ipv6 connections, which are all completely firewalled on my system, and it's taking time to timeout.

How do I completely disable ipv6 in zimbra/java/tomcat?
Reply With Quote
  #3 (permalink)  
Old 10-16-2006, 08:20 AM
Moderator
 
Posts: 2,207
Default

Did you try to disable it at the OS level ?
Reply With Quote
  #4 (permalink)  
Old 10-16-2006, 08:57 AM
Zimbra Employee
 
Posts: 4,792
Default

Quote:
Originally Posted by jammy
I've tracked this down to ipv6. It seems that Zimbra is trying to do some ipv6 connections, which are all completely firewalled on my system, and it's taking time to timeout.

How do I completely disable ipv6 in zimbra/java/tomcat?
Can you post some details on the ipv6 connections you think we are making? I'm pretty sure we don't do that on purpose.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #5 (permalink)  
Old 10-16-2006, 09:06 AM
Member
 
Posts: 13
Default

it all seems to be stuff going to localhost.. connecting to some of the java tasks that are running.

INPUT:IN=lo OUT= MAC=00:00:00:00:00:00:00:00:00:00:00:00:86:dd SRC=0000:0000:0000:0000:0000:0000:0000:0001 DST=0000:0000:0000:0000:0000:0000:0000:0001 LEN=80 TC=0 HOPLIMIT=64 FLOWLBL=0 PROTO=TCP SPT=35420 DPT=36962 WINDOW=32752 RES=0x00 SYN URGP=0
Reply With Quote
  #6 (permalink)  
Old 03-29-2009, 03:26 AM
New Member
 
Posts: 4
Default Solution: disable ipv6 on application level

I've had the same problem with Zimbra 5.0.15 running on Ubuntu 8.0.4. The Ubuntu 8.0.4 itself runs as guest OS in an OpenVZ environment. That is not officially supported by Zimbra, but it works. Unfortunately, ipv6 in Debian's official ovz-kernel seems to be broken. And disabling ipv6 on OS level doesn't work.

I disabled ipv6 in Zimbra on application level by adding the option "-Djava.net.preferIPv4Stack=true" to some Zimbra shell scripts:

/opt/zimbra/bin/zmjava
/opt/zimbra/bin/zmjavaext
/opt/zimbra/libexec/zmjsprecompile
/opt/zimbra/bin/zmmailboxdctl

Just look for "-Xmx" and add the option "-Djava.net.preferIPv4Stack=true" at appropriate positions.

It would be great, if Zimbra would ask for ipv6 at install time or add an option like -noipv6, add a global variable to localconfig, and if the shell scripts, which start the Java apps would evaluate that variable.

Last edited by thmsk; 03-29-2009 at 03:35 AM..
Reply With Quote
  #7 (permalink)  
Old 10-21-2009, 04:56 PM
Senior Member
 
Posts: 68
Default

Do u need restart zimbra to apply the new changes to the scripts?
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


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.