Results 1 to 6 of 6

Thread: Some problems

  1. #1
    druid is offline Member
    Join Date
    Aug 2007
    Posts
    12
    Rep Power
    8

    Default Some problems

    Hello,

    I have two problems with my Zimbra installation ... (my first installation of Zimbra)
    (OpenSuse 10.1 and Zimbra OpenSource 4.0.4 on dedicate server)

    the software work correctly from january 2007 but the last month many "crash" of zimbra has succeded, I try to explain: during the day zimbra crash ... zmcontrol status return:

    antispam Running
    antivirus Running
    ldap Running
    logger Stopped
    logmysql.server is not running
    mailbox Stopped
    tomcat is not running

    mta Running
    snmp Running
    spell Running

    when I type zmcontrol stop
    Stopping mta...Done
    Stopping spell...Done
    Stopping snmp...Done
    Stopping antivirus...Done
    Stopping antispam...Done
    Stopping imapproxy...Done
    Stopping mailbox...Done
    Stopping logger...Done
    Stopping ldap...Done

    and next zmcontrol start
    Starting ldap...Done.
    Starting logger...Done.
    Starting mailbox...Done.
    Starting antispam...Done.
    Starting antivirus...Done.
    Starting snmp...Done.
    Starting spell...Done.
    Starting mta...Done.

    the software work fine for 15-20 minutes and ... crash again during the night (when my users sleep..) the software is stable (maybe for the low email traffic)

    I d'ont have logs from zimbra, the logger not work ... mysql is running and accessible but the tables are empty and in the web administration console I d'ont have logs or statics ... if I check again with zmcontrol status the logger is stopped ... it is ever stopped

    If you have read this long (sorry) message and you can to resist at my terrific English

    please help me, thank you in advance
    Last edited by druid; 08-31-2007 at 12:48 PM.

  2. #2
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    When it crashes, can you get the /opt/zimbra/tomcat/logs/catalina.out
    BEFORE you restart zimbra?

  3. #3
    druid is offline Member
    Join Date
    Aug 2007
    Posts
    12
    Rep Power
    8

    Default

    Hi and thank you for your FAST message

    now the software is running (here is 21:30PM) tomorrow at the first crash I save the catalina.out BEFORE restarting Zimbra

    however, I have read the catalina.out of last days and I have found this:

    Exception in thread "PostStartupCrashRecovery" java.lang.OutOfMemoryError: Java heap space
    Full thread dump Java HotSpot(TM) Client VM (1.5.0_08-b03 mixed mode):

    "ImapServer-4" prio=1 tid=0x0834cdb8 nid=0x1514 waiting on condition [0x945aa000..0x945ab050]
    at java.lang.Thread.sleep(Native Method)
    at com.mysql.jdbc.Connection.createNewIO(Connection.j ava:2739)
    at com.mysql.jdbc.Connection.(Connection.java:1485)
    at com.mysql.jdbc.NonRegisteringDriver.connect(NonReg isteringDriver.java:266)
    at java.sql.DriverManager.getConnection(DriverManager .java:525)
    - locked <0xaf162a28> (a java.lang.Class)
    at java.sql.DriverManager.getConnection(DriverManager .java:140)
    - locked <0xaf162a28> (a java.lang.Class)
    at org.apache.commons.dbcp.DriverManagerConnectionFac tory.createConnection(DriverManagerConnectionFacto ry.java:97)
    at org.apache.commons.dbcp.PoolableConnectionFactory. makeObject(PoolableConnectionFactory.java:300)
    - locked <0xa1f8fa60> (a org.apache.commons.dbcp.PoolableConnectionFactory)
    at org.apache.commons.pool.impl.GenericObjectPool.bor rowObject(GenericObjectPool.java:816)
    at org.apache.commons.dbcp.PoolingDriver.connect(Pool ingDriver.java:171)
    at java.sql.DriverManager.getConnection(DriverManager .java:525)
    - locked <0xaf162a28> (a java.lang.Class)
    at java.sql.DriverManager.getConnection(DriverManager .java:193)
    - locked <0xaf162a28> (a java.lang.Class)
    at com.zimbra.cs.db.DbPool.getConnection(DbPool.java: 286)
    at com.zimbra.cs.mailbox.Mailbox.getMailboxById(Mailb ox.java:1120)
    - locked <0xa1fba6b8> (a java.util.HashMap)
    at com.zimbra.cs.mailbox.Mailbox.getMailboxById(Mailb ox.java:1073)
    at com.zimbra.cs.mailbox.Mailbox.getMailboxByAccountI d(Mailbox.java:1036)
    at com.zimbra.cs.mailbox.Mailbox.getMailboxByAccountI d(Mailbox.java:1010)
    at com.zimbra.cs.session.Session.(Session.java:71)
    at com.zimbra.cs.imap.ImapSession.(ImapSession.java:77)
    at com.zimbra.cs.session.SessionCache.getNewSession(S essionCache.java:83)
    at com.zimbra.cs.imap.ImapHandler.startSession(ImapHa ndler.java:766)
    at com.zimbra.cs.imap.ImapHandler.login(ImapHandler.j ava:706)
    at com.zimbra.cs.imap.ImapHandler.doLOGIN(ImapHandler .java:690)
    at com.zimbra.cs.imap.ImapHandler.executeRequest(Imap Handler.java:423)
    at com.zimbra.cs.imap.ImapHandler.processCommand(Imap Handler.java:227)
    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)

    "ImapServer-3" prio=1 tid=0x0817bab0 nid=0x1513 waiting for monitor entry [0x9462b000..0x9462bfd0]


    [...cut...]


    "Thread-1" daemon prio=1 tid=0x9a6d0040 nid=0x1351 in Object.wait() [0x99c92000..0x99c921d0]
    at java.lang.Object.wait(Native Method)
    - waiting on <0xa1ec4b18> (a com.sun.jndi.ldap.pool.PoolCleaner)
    at com.sun.jndi.ldap.pool.PoolCleaner.run(PoolCleaner .java:36)
    - locked <0xa1ec4b18> (a com.sun.jndi.ldap.pool.PoolCleaner)

    "Low Memory Detector" daemon prio=1 tid=0x9b101af0 nid=0x10fa runnable [0x00000000..0x00000000]


    "CompilerThread0" daemon prio=1 tid=0x9b1006c0 nid=0x10f9 waiting on condition [0x00000000..0x9b2aaa38]

    "Signal Dispatcher" daemon prio=1 tid=0x080c7068 nid=0x10f8 waiting on condition [0x00000000..0x00000000]

    "Finalizer" daemon prio=1 tid=0x080bdc78 nid=0x10f6 in Object.wait() [0x9b3ac000..0x9b3acf50]
    at java.lang.Object.wait(Native Method)
    - waiting on <0xa1b405f8> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue .java:116)
    - locked <0xa1b405f8> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue .java:132)
    at java.lang.ref.Finalizer$FinalizerThread.run(Finali zer.java:159)

    "Reference Handler" daemon prio=1 tid=0x080bbe68 nid=0x10f5 in Object.wait() [0x9b42d000..0x9b42ded0]
    at java.lang.Object.wait(Native Method)
    - waiting on <0xa1b40520> (a java.lang.ref.Reference$Lock)
    at java.lang.Object.wait(Object.java:474)
    at java.lang.ref.Reference$ReferenceHandler.run(Refer ence.java:116)
    - locked <0xa1b40520> (a java.lang.ref.Reference$Lock)

    "main" prio=1 tid=0x0805cff0 nid=0x10ef waiting on condition [0xbf810000..0xbf811188]
    at java.lang.Thread.sleep(Native Method)
    at com.zimbra.cs.launcher.TomcatLauncher.start(Tomcat Launcher.java:53)
    at com.zimbra.cs.launcher.TomcatLauncher.main(TomcatL auncher.java:74)

    "VM Thread" prio=1 tid=0x080b9170 nid=0x10f4 runnable

    "VM Periodic Task Thread" prio=1 tid=0x9b1030a0 nid=0x10fb waiting on condition


    the item in red appears many time ... I think it coincide with every crash

    and,the item in blue ... my server are a
    Pentium 4 at 3,4GHz with 1GB RAM and 166GB of disk free and ... 60 mailboxes ...I need more RAM?
    Last edited by druid; 08-29-2007 at 01:11 PM.

  4. #4
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    Well, Java ran out of memory.

    So, you need to increase the java heap space
    There's your search term.

    john

  5. #5
    druid is offline Member
    Join Date
    Aug 2007
    Posts
    12
    Rep Power
    8

    Default

    Hi John,

    I try this:

    zmlocalconfig -e tomcat_java_heap_memory_percent="50"

    but the value not change ... if I do :

    zmlocalconfig -c tomcat_java_heap_memory_percent

    the response are

    [...cut...]
    tomcat_java_heap_memory_percent = 30
    [...cut...]

    I have tried to change the value directly in /opt/zimbra/conf/localconfig.xml but also in the file the value are 50 and whe I type zmlocalconfig -c tomcat_java_heap_memory_percent the response value is 30

    why?

    thank you for your pathience

  6. #6
    druid is offline Member
    Join Date
    Aug 2007
    Posts
    12
    Rep Power
    8

    Default

    Hello,

    I have changed the value for tomcat_java_heap_memory_percent from 30 to 50

    after reboot, whit ps -ef|grep tomcat I have this:

    -Xms 505m -Xmx 505m

    I have scheduled a RAM upgrade but from two days the software are stable

    John, thank you for the help received!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Restarting and german 'umlaut' problems
    By Oswald-Kolle in forum Installation
    Replies: 3
    Last Post: 05-29-2007, 02:09 AM
  2. iSync Connector / Apple Address Book Problems
    By jrosen in forum CalDAV / CardDAV / iSync
    Replies: 11
    Last Post: 04-16-2007, 03:40 PM
  3. Replies: 3
    Last Post: 12-06-2006, 11:31 AM
  4. Problems with public Subversion repository
    By dwhite in forum Developers
    Replies: 0
    Last Post: 11-18-2006, 12:25 PM
  5. 3.1 on FC4 problems
    By cohnhead in forum Installation
    Replies: 8
    Last Post: 05-26-2006, 11:16 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
  •