Results 1 to 7 of 7

Thread: Java defunct

  1. #1
    molliver is offline Junior Member
    Join Date
    Oct 2005
    Posts
    6
    Rep Power
    9

    Default Java defunct

    Hi,

    I have just installed zimbra on a new server which is running CentOs4.2. It seams to have come up ok and I can create a/c's and send and recieve mail. However I notice there are java defunct processes being created is there a reson for this and a way to stop it?

    Also can anyone tell me how i turn on logging for postfix and spam/virus checking and where I look for the logs.

    The system looks good though.

    Thanks

    Mark

  2. #2
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    18

    Default

    Quote Originally Posted by molliver
    Hi,

    I have just installed zimbra on a new server which is running CentOs4.2. It seams to have come up ok and I can create a/c's and send and recieve mail. However I notice there are java defunct processes being created is there a reson for this and a way to stop it?

    Also can anyone tell me how i turn on logging for postfix and spam/virus checking and where I look for the logs.

    The system looks good though.

    Thanks

    Mark
    The defunct procs should go away in the new build. postfix log is in /var/log/zimbra.log

  3. #3
    molliver is offline Junior Member
    Join Date
    Oct 2005
    Posts
    6
    Rep Power
    9

    Default

    Hi,

    You say the defunct processes should go away in the new build, do you know when this will be ready?

    I am currently using zcs-3.0.M1_21-src.tgz

    Also if i create a local.cf in /opt/zimbra/conf/spamassassin is zimbra configured to respect this?


    Thanks

    Mark

  4. #4
    bjared's Avatar
    bjared is offline Senior Member
    Join Date
    Jun 2006
    Location
    Indianapolis, IN
    Posts
    51
    Rep Power
    9

    Default More defunct java processes

    EDIT: We're using ZCS NE 4.5.5 on Centos 4.2

    [root@zimbra1 ~]# ps auxw| grep Z | grep -v ZIMB | wc -l
    586

    nrpe (a service for nagios) and sshd often die when this happens.

    How do I determine why this is happening?

    I see some of these lines in /var/log/zimbra.log:

    Jun 1 07:53:12 zimbra1 slapd[12176]: <= bdb_equality_candidates: (zimbraMailStatus) index_param failed (18)
    Jun 1 07:53:23 zimbra1 slapd[12176]: <= bdb_equality_candidates: (zimbraDomainType) index_param failed (18)
    Jun 1 07:53:23 zimbra1 slapd[12176]: <= bdb_equality_candidates: (zimbraMailStatus) index_param failed (18)
    Jun 1 07:53:23 zimbra1 slapd[12176]: <= bdb_equality_candidates: (zimbraDomainType) index_param failed (18)
    Jun 1 07:53:23 zimbra1 slapd[12176]: <= bdb_equality_candidates: (zimbraMailStatus) index_param failed (18)


    I see this in /opt/zimbra/log/mailbox.log:

    java.net.SocketException: Connection reset
    at java.net.SocketOutputStream.socketWrite(SocketOutp utStream.java:96)
    at java.net.SocketOutputStream.write(SocketOutputStre am.java:136)
    at com.sun.net.ssl.internal.ssl.OutputRecord.writeBuf fer(OutputRecord.java:283)
    at com.sun.net.ssl.internal.ssl.OutputRecord.write(Ou tputRecord.java:272)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRe cord(SSLSocketImpl.java:666)
    at com.sun.net.ssl.internal.ssl.AppOutputStream.write (AppOutputStream.java:59)
    at java.io.BufferedOutputStream.flushBuffer(BufferedO utputStream.java:65)
    at java.io.BufferedOutputStream.flush(BufferedOutputS tream.java:123)
    at com.zimbra.cs.pop3.Pop3Handler.sendMessage(Pop3Han dler.java:434)
    at com.zimbra.cs.pop3.Pop3Handler.doRETR(Pop3Handler. java:625)
    at com.zimbra.cs.pop3.Pop3Handler.processCommandInter nal(Pop3Handler.java:257)
    at com.zimbra.cs.pop3.Pop3Handler.processCommand(Pop3 Handler.java:141)
    at com.zimbra.cs.tcpserver.ProtocolHandler.processCon nection(ProtocolHandler.java:231)
    at com.zimbra.cs.tcpserver.ProtocolHandler.run(Protoc olHandler.java:198)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Wo rker.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:595)

    I'm doing a 'zmcontrol stop' and I don't see any more zombie processes.

    Now doing a 'zmcontrol start' ... things look good for now. This is the second time this has happened. Last time I was dealing with this was on the 29th of May. Actually, I see one defunct process already. I tried grepping for its PID in the logs, and couldn't find anything. Any ideas?

    20 minutes later:
    zimbra 28106 0.3 0.0 0 0 pts/1 Z 08:08 0:03 [java]
    zimbra 28341 0.4 0.0 0 0 pts/1 Z 08:09 0:03 [java]
    zimbra 28854 0.6 0.0 0 0 pts/1 Z 08:13 0:03 [java]
    zimbra 29015 0.8 0.0 0 0 pts/1 Z 08:14 0:03 [java]
    zimbra 29145 0.9 0.0 0 0 pts/1 Z 08:15 0:03 [java]
    zimbra 30483 2.4 0.0 0 0 pts/1 Z 08:19 0:03 [java]
    zimbra 30912 6.5 0.0 0 0 pts/1 Z 08:20 0:03 [java]


    --Brian
    Last edited by bjared; 06-01-2007 at 05:22 AM.

  5. #5
    djve's Avatar
    djve is offline Senior Member
    Join Date
    May 2007
    Location
    San Mateo
    Posts
    68
    Rep Power
    8

    Default

    The messages:

    Sun 1 07:53:23 zimbra1 slapd[12176]: <= bdb_equality_candidates: (zimbraMailStatus) index_param failed (18)

    comes from OpenLDAP when there is no index on an attribute that is being referenced. A bit of a pain as not all items need an index.

    I'd wait for a new release of Zimbra and see if developers address this. They may not as you don't want an index on all attributes. This is a problem with OpenLDAP not Zimbra as such. I'm running OpenLDAP at work so I'm familiar with the many error messages about indecies.

    If you really need to fix it yourself all you need to do is edit the slapd.conf file and add a line for each attribute: "index attribute type" i.e.
    index zimbraMailStatus eq
    The OpenLDAP project is the best place for info on OpenLDAP. The slapd.conf man page has a little on index usage.

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

    Default

    Quote Originally Posted by djve View Post
    The messages:

    Sun 1 07:53:23 zimbra1 slapd[12176]: <= bdb_equality_candidates: (zimbraMailStatus) index_param failed (18)

    comes from OpenLDAP when there is no index on an attribute that is being referenced. A bit of a pain as not all items need an index.

    I'd wait for a new release of Zimbra and see if developers address this. They may not as you don't want an index on all attributes. This is a problem with OpenLDAP not Zimbra as such. I'm running OpenLDAP at work so I'm familiar with the many error messages about indecies.

    If you really need to fix it yourself all you need to do is edit the slapd.conf file and add a line for each attribute: "index attribute type" i.e.
    index zimbraMailStatus eq
    The OpenLDAP project is the best place for info on OpenLDAP. The slapd.conf man page has a little on index usage.
    Under no circumstances do we recommend those fields be indexed, if the logging is a problem it should be disabled as mentioned in another thread on the forum.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    djve's Avatar
    djve is offline Senior Member
    Join Date
    May 2007
    Location
    San Mateo
    Posts
    68
    Rep Power
    8

    Default

    Just checked out:
    http://www.zimbra.com/forums/adminis...3-4-5-4-a.html

    It goes into how to set LDAP logging to 0 (turn it off).

    This should help the original poster if he doesn't want the messages appearing in the logs.

    I've left logging as Zimbra distrbuted it as the messages are nothing to worry about.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Fedora 5: Could not create the Java virtual machine
    By mi2enno in forum Installation
    Replies: 6
    Last Post: 06-01-2007, 03:16 AM
  2. Tomcat, Java VM Problems - RAM related? Help
    By Mo_Hong in forum Administrators
    Replies: 3
    Last Post: 03-28-2007, 02:00 PM
  3. Mac OSX install: Java errors & LDAP CA error
    By jefbear in forum Installation
    Replies: 9
    Last Post: 12-16-2006, 03:39 PM
  4. 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
  5. Replies: 0
    Last Post: 12-04-2005, 02:34 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
  •