Results 1 to 5 of 5

Thread: performance on test box

  1. #1
    Join Date
    Oct 2005
    Posts
    3
    Rep Power
    10

    Default performance on test box

    Hello everyone, I set this up with FC3 with no issues, the install was painless. I've setup a couple of users just to demonstrate this to my clients who want an Exchange alternative. I'm running my demo box on an old Intel p2-400 with 256 megs of ram. With no clients connected, its running about 1.7 to 1.8 load average and I see two java processes that go from 25 to 75% on cpu all the time.

    I know this is a weak box, but with it sitting there idle, how come java is eating up so much cpu? I know this is beta, but thought I would ask to see if I had something borked up. I did a minimal install of FC3 and then added the 3 packages that are required, libidn, curl and fetchmail, then did an install.

    I'm attaching a file called temp.txt, its a complete list of all processes running, using ps auxw

    Thanks!
    Attached Files Attached Files

  2. #2
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    The big problem is RAM. With 256 your way below our recommended and 256 below our minimum of 512Meg. This will cause lots of swapping. The CPU issue you see is from our process mon. Can you run top and vmstat 5 and report the output?

    Can you tell which of the three Java processes seem to be eating CPU? I did a ps -ef on my test box and got back these two, but this is a slightly older version.

    Code:
    zimbra 2236 1 0 Sep16 ? 00:00:03 /opt/zimbra/java/bin/java -client -XX:NewRatio=2 -Xms1188m -Xmx1188m -Djava.library.path=/opt/zimbra/lib -Djava.endorsed.dirs=/opt/zimbra/tomcat/common/endorsed -classpath :/opt/zimbra/tomcat/bin/bootstrap.jar:/opt/zimbra/tomcat/bin/commons-logging-api.jar -Dcatalina.base=/opt/zimbra/tomcat -Dcatalina.home=/opt/zimbra/tomcat -Djava.io.tmpdir=/opt/zimbra/tomcat/temp org.apache.catalina.startup.Bootstrap start
    zimbra 31102 31083 13 09:52 ? 00:00:00 /opt/zimbra/java/bin/java -client -Dzimbra.home=/opt/zimbra -cp /opt/zimbra/lib/zimbrastore.jar:/opt/zimbra/lib/commons-logging.jar:/opt/zimbra/lib/commons-cli-2.0.jar:/opt/zimbra/lib/dom4j-1.5.jar:/opt/zimbra/lib/log4j-1.2.8.jar:/opt/zimbra/lib/commons-httpclient-2.0.1.jar com.zimbra.cs.localconfig.Main -q -m shell mysql_directory mysql_socket zimbra_mysql_user zimbra_mysql_password

  3. #3
    Join Date
    Oct 2005
    Posts
    3
    Rep Power
    10

    Default

    ram makes sense... I'll get this installed onto a production box with more ram and scsi drives soon and give it a whirl.

    I'm attaching a top, ps -ef | grep java and the vmstat for you to see...

    Thanks!
    Attached Files Attached Files
    Last edited by wokka; 10-11-2005 at 11:12 AM. Reason: typo

  4. #4
    Join Date
    Sep 2005
    Posts
    274
    Rep Power
    10

    Default scripts gone wild

    there are two problems - we have a watchdog script tied into zmcontrol which is something we have rethought - that fix should take care of the periodic spikes. Secondly, all the start/stop/status scripts could/will/need to also be much faster.

    Don't know what to tell you except to wait for the next build where this will be fixed.

    JVM + swap is not a good situation at all. JVMs deteriorate pretty bad if they are not resident - one of the downsides of GC. In your case though, vmstat shows no swapping (atleast when you ran the vmstat). But in general, this is something to eliminate. While trying to eliminate swap one of the things you can try is to edit the zmjava and zmlocalconfig scripts to make sure -Xmx is set really low, but not too low.

    You could probably get it to work, but we do recommend more RAM.

  5. #5
    Join Date
    Oct 2005
    Posts
    3
    Rep Power
    10

    Default

    ok, so my install is ok, and nothing is out of the ordinary per how this version of the beta was designed... that is what I was after.

    This box was just used for a technology test/demo of the software and to show some potential clients.

    I'm eagerly waiting the next version and the release of the network version.

Similar Threads

  1. Using Zimbra LDAP for System Auth
    By webguyinternet in forum Administrators
    Replies: 7
    Last Post: 10-22-2007, 03:35 PM
  2. Test Zimbra Server in Conjunction with Live Server
    By soxfan in forum Administrators
    Replies: 3
    Last Post: 05-21-2007, 07:16 AM
  3. Replies: 2
    Last Post: 05-10-2007, 05:45 PM
  4. Replies: 1
    Last Post: 12-27-2006, 02:30 PM
  5. Restore to a new(different) server
    By phxmark in forum Administrators
    Replies: 4
    Last Post: 12-05-2006, 10:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •