Results 1 to 6 of 6

Thread: Java 100%

  1. #1
    dmart is offline Member
    Join Date
    Dec 2009
    Posts
    11
    Rep Power
    5

    Default Java 100% CPU, Services never start

    Installing ZCS 6.0.3 64bit on CentOS 5.4 (x64), Quad Core Opteron, 4GB RAM, 4xSATA in RAID 10.

    During installation there was constantly a java process taking 100% of one core. The install took upward of 3 hours. I had done at least 4 clean installs of the OS. After a reboot the same thing happens java process at 100%, never starts any Zimbra services. There is nothing in any of the logs it just appears that starting of the services never finishes. I have removed any references to UTF8 in /etc/sysconfig/i18l. Using zmcontrol will spawn another instance of java and does the same thing.

    I am at a complete loss here.
    Last edited by dmart; 12-14-2009 at 04:56 PM.

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    Have you disabled the firewall and SElinux? Have you also got a correct hosts file and valid DNS A & MX records? Post the output of the following commands run on the zimbra server:
    Code:
    cat /etc/hosts
    cat /etc/resolv.conf
    dig yourdomain.com mx
    dig yourdomain.com any
    host `hostname` <-- use that exact command with the backticks not single quotes
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    dmart is offline Member
    Join Date
    Dec 2009
    Posts
    11
    Rep Power
    5

    Default

    SELinux and iptables/firewall are completely disabled.

    Code:
    [root@mail ~]# cat /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1		localhost.localdomain localhost
    192.168.0.85		mail.lsbase.com
    [root@mail ~]# cat /etc/resolv.conf 
    search lsbase.com
    nameserver 192.168.0.150
    [root@mail ~]# dig lsbase.com mx
    
    ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5 <<>> lsbase.com mx
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 22778
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
    
    ;; QUESTION SECTION:
    ;lsbase.com.			IN	MX
    
    ;; ANSWER SECTION:
    lsbase.com.		3600	IN	MX	10 mail.lsbase.com.
    
    ;; ADDITIONAL SECTION:
    mail.lsbase.com.	3600	IN	A	192.168.0.85
    
    ;; Query time: 4 msec
    ;; SERVER: 192.168.0.150#53(192.168.0.150)
    ;; WHEN: Tue Dec 15 11:29:34 2009
    ;; MSG SIZE  rcvd: 65
    
    [root@mail ~]# dig lsbase.com any
    
    ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5 <<>> lsbase.com any
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45674
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 2
    
    ;; QUESTION SECTION:
    ;lsbase.com.			IN	ANY
    
    ;; ANSWER SECTION:
    lsbase.com.		3600	IN	NS	martinserv.local.martinsales.net.
    lsbase.com.		3600	IN	SOA	martinserv.local.martinsales.net. hostmaster.local.martinsales.net. 11 900 600 86400 3600
    lsbase.com.		3600	IN	MX	10 mail.lsbase.com.
    
    ;; ADDITIONAL SECTION:
    martinserv.local.martinsales.net. 3600 IN A	192.168.0.150
    mail.lsbase.com.	3600	IN	A	192.168.0.85
    
    ;; Query time: 1 msec
    ;; SERVER: 192.168.0.150#53(192.168.0.150)
    ;; WHEN: Tue Dec 15 11:29:39 2009
    ;; MSG SIZE  rcvd: 174
    
    [root@mail ~]# host `hostname`
    mail.lsbase.com has address 192.168.0.85
    mail.lsbase.com mail is handled by 10 mail.lsbase.com.
    [root@mail ~]#

  4. #4
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    Your hosts file should look like this:

    Code:
    127.0.0.1		localhost.localdomain localhost
    192.168.0.85		mail.lsbase.com mail
    Fix that then shutdown Zimbra and kill any remaining processes then restart Zimbra and see if you still have the same problem. If you still have the problem then post some diagnostics show the offending process.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    dmart is offline Member
    Join Date
    Dec 2009
    Posts
    11
    Rep Power
    5

    Default

    Did a brand new install on a different server (8x Opteron, 8GB, RAID 10, CentOS 5.4), created a KVM guest with 2 cores/2gb ram with CentOS 5.4. Now it installs more quickly on the VM but every time Java would goto 100% before, it just sits idle. Eventually each task will complete but it takes quite a while (even in the option menu when setting the admin password, it takes about 2 minutes for it to come up, however the server is completely idle.) I can't really provide any diagnostics on anything cause there's nothing happening anymore

  6. #6
    dmart is offline Member
    Join Date
    Dec 2009
    Posts
    11
    Rep Power
    5

    Default

    After giving this a rest for a week or so I decided to get back at it. Clean install of host, clean install of guest, (Both CentOS 5.4 x64). Same results only this time I noticed if I only allocated 1 VCPU to Zimbra it would start up as expected and work as expected. If I shut that VM down and give it any more VCPUs Java seems to hang when starting Zimbra. If I install Zimbra on bare metal it's fine.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 4
    Last Post: 10-22-2007, 01:42 PM
  2. Fedora 5: Could not create the Java virtual machine
    By mi2enno in forum Installation
    Replies: 6
    Last Post: 06-01-2007, 03:16 AM
  3. Tomcat, Java VM Problems - RAM related? Help
    By Mo_Hong in forum Administrators
    Replies: 3
    Last Post: 03-28-2007, 02:00 PM
  4. Mac OSX install: Java errors & LDAP CA error
    By jefbear in forum Installation
    Replies: 9
    Last Post: 12-16-2006, 03:39 PM
  5. Java 1.5 crashing on PPC Mac 10.4.8
    By bradn in forum Installation
    Replies: 1
    Last Post: 12-08-2006, 06:27 PM

Posting Permissions

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