at the time about 15h daily (now send mail high score), commercial mail system to stop functioning.to send mail I have to restart Zimbra
accessing webmail test receive the following:

"Internal Server Error


The server has encountered an internal error.

Please try again later.

« Go back

ERROR: 500"





Code:
zimbra@server1:~$ zmcontrol -v
Release 6.0.0_GA_1805.UBUNTU9 UBUNTU9 FOSS edition.
mailbox.log

Code:
2009-10-28 15:07:20,047 INFO  [btpool0-37] [name=aibe@mydomain.com.vn;mid=12;ip=192.168.2.15;ua=ZimbraWebClient - FF3.0 (Win)/6.0.0_GA_1805.UBUNTU9;] soap - NoOpRequest
2009-10-28 15:07:20,047 WARN  [pool-8-thread-1] [] im - Ignoring exception in ZimbraLocationManager.getServerForComponen(mydomain.com.vn)
com.zimbra.common.service.ServiceException: system failure: ZimbraLdapContext
ExceptionId:pool-8-thread-1:1256717240047:7c9b6cb57d6eec92
Code:service.FAILURE
        at com.zimbra.common.service.ServiceException.FAILURE(ServiceException.java:251)
        at com.zimbra.cs.account.ldap.ZimbraLdapContext.<init>(ZimbraLdapContext.java:350)
        at com.zimbra.cs.account.ldap.ZimbraLdapContext.<init>(ZimbraLdapContext.java:321)
        at com.zimbra.cs.account.ldap.ZimbraLdapContext.<init>(ZimbraLdapContext.java:314)
        at com.zimbra.cs.account.ldap.LdapProvisioning.getAllXMPPComponents(LdapProvisioning.java:5572)
        at com.zimbra.cs.im.provider.ZimbraLocationManager.getCloudComponents(ZimbraLocationManager.java:54)
        at com.zimbra.cs.im.provider.ZimbraLocationManager.getServerForComponent(ZimbraLocationManager.java:126)
        at org.jivesoftware.wildfire.XMPPServer.getServerForComponent(XMPPServer.java:274)
        at com.zimbra.cs.im.provider.ZimbraRoutingTableImpl.getCloudRoute(ZimbraRoutingTableImpl.java:114)
        at com.zimbra.cs.im.provider.ZimbraRoutingTableImpl.getRoutes(ZimbraRoutingTableImpl.java:218)
        at org.jivesoftware.wildfire.roster.Roster.broadcastPresence(Roster.java:585)
        at org.jivesoftware.wildfire.handler.PresenceUpdateHandler.broadcastUpdate(PresenceUpdateHandler.java:264)
        at org.jivesoftware.wildfire.handler.PresenceUpdateHandler.process(PresenceUpdateHandler.java:99)
        at org.jivesoftware.wildfire.handler.PresenceUpdateHandler.process(PresenceUpdateHandler.java:156)
        at org.jivesoftware.wildfire.PresenceRouter.handle(PresenceRouter.java:100)
        at org.jivesoftware.wildfire.PresenceRouter.route(PresenceRouter.java:63)
        at org.jivesoftware.wildfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:78)
        at org.jivesoftware.wildfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:59)
        at com.zimbra.cs.im.IMRouter$PostPacket.run(IMRouter.java:70)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
Caused by: javax.naming.CommunicationException: mydomain.com.vn:389 [Root exception is java.net.SocketException: Too many open files]
        at com.sun.jndi.ldap.Connection.<init>(Connection.java:197)
        at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:118)
        at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1580)
        at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2652)
        at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:293)
        at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
        at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)
        at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136)
        at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66)
        at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
        at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
        at javax.naming.InitialContext.init(InitialContext.java:223)
        at javax.naming.ldap.InitialLdapContext.<init>(InitialLdapContext.java:134)
        at com.zimbra.cs.account.ldap.ZimbraLdapContext.<init>(ZimbraLdapContext.java:336)
        ... 20 more
Caused by: java.net.SocketException: Too many open files
        at java.net.Socket.createImpl(Socket.java:394)
        at java.net.Socket.connect(Socket.java:523)
        at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.sun.jndi.ldap.Connection.createSocket(Connection.java:336)
        at com.sun.jndi.ldap.Connection.<init>(Connection.java:184)
        ... 33 more
2009-10-28 15:07:20,161 WARN  [btpool0-9 - Acceptor0 SelectChannelConnector@0.0.0.0:80] [] log - EXCEPTION
java.io.IOException: Too many open files
        at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)
        at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:145)
        at org.mortbay.jetty.nio.SelectChannelConnector$1.acceptChannel(SelectChannelConnector.java:75)
        at org.mortbay.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:565)
        at org.mortbay.io.nio.SelectorManager.doSelect(SelectorManager.java:192)
        at org.mortbay.jetty.nio.SelectChannelConnector.accept(SelectChannelConnector.java:124)
        at org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java:707)
        at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)
2009-10-28 15:07:20,162 WARN  [btpool0-9 - Acceptor0 SelectChannelConnector@0.0.0.0:80] [] log - EXCEPTION
java.io.IOException: Too many open files
        at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)
        at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:145)
        at org.mortbay.jetty.nio.SelectChannelConnector$1.acceptChannel(SelectChannelConnector.java:75)
        at org.mortbay.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:565)
        at org.mortbay.io.nio.SelectorManager.doSelect(SelectorManager.java:192)
        at org.mortbay.jetty.nio.SelectChannelConnector.accept(SelectChannelConnector.java:124)
        at org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java:707)
        at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)
2009-10-28 15:07:20,162 WARN  [btpool0-9 - Acceptor0 SelectChannelConnector@0.0.0.0:80] [] log - EXCEPTION
java.io.IOException: Too many open files
................................................many
..............................................................many
java.io.IOException: Too many open files
        at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)
        at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:145)
        at org.mortbay.jetty.nio.SelectChannelConnector$1.acceptChannel(SelectChannelConnector.java:75)
        at org.mortbay.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:565)
        at org.mortbay.io.nio.SelectorManager.doSelect(SelectorManager.java:192)
        at org.mortbay.jetty.nio.SelectChannelConnector.accept(SelectChannelConnector.java:124)
        at org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java:707)
        at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)
2009-10-28 15:13:00,008 WARN  [btpool0-7 - Acceptor0 SslSelectChannelConnector@0.0.0.0:7071] [] log - EXCEPTION
java.io.IOException: Too many open files
        at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)
        at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:145)
        at org.mortbay.jetty.nio.SelectChannelConnector$1.acceptChannel(SelectChannelConnector.java:75)
        at org.mortbay.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:565)
        at org.mortbay.io.nio.SelectorManager.doSelect(SelectorManager.java:192)
        at org.mortbay.jetty.nio.SelectChannelConnector.accept(SelectChannelConnector.java:124)
        at org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java:707)
        at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)
2009-10-28 15:13:00,008 WARN  [btpool0-7 - Acceptor0 SslSelectChannelConnector@0.0.0.0:7071] [] log - EXCEPTION
java.io.IOException: Too many open files
        at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)
        at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:145)
        at org.mortbay.jetty.nio.SelectChannelConnector$1.acceptChannel(SelectChannelConnector.java:75)
......................................................................
.....................many
/var/log/zimbra.log
Code:
ct 28 15:08:09 server1 postfix/smtpd[6096]: connect from unknown[192.168.2.52]
Oct 28 15:08:09 server1 saslauthd[2584]: zmauth: authenticating against elected url 'https://mydomain.com.vn:7071/service/admin/soap/' ...
Oct 28 15:08:09 server1 saslauthd[2584]: zmpost: url='https://mydomain.com.vn:7071/service/admin/soap/' returned buffer->data='<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><soap:Header><context xmlns="urn:zimbra"/></soap:Header><soap:Body><soap:Fault><soap:Code><soap:Value>soap:Sender</soap:Value></soap:Code><soap:Reason><soap:Text>authentication failed for tranmyhuong@mydomain.com.vn</soap:Text></soap:Reason><soap:Detail><Error xmlns="urn:zimbra"><Code>account.AUTH_FAILED</Code><Trace>btpool0-26:1256717289426:7c9b6cb57d6eec92</Trace></Error></soap:Detail></soap:Fault></soap:Body></soap:Envelope>', hti->error=''
Oct 28 15:08:09 server1 saslauthd[2584]: auth_zimbra: tranmyhuong@mydomain.com.vn auth failed: authentication failed for tranmyhuong@mydomain.com.vn
Oct 28 15:08:09 server1 saslauthd[2584]: do_auth         : auth failure: [user=tranmyhuong@mydomain.com.vn] [service=smtp] [realm=mydomain.com.vn] [mech=zimbra] [reason=Unknown]
Oct 28 15:08:09 server1 postfix/smtpd[6096]: warning: unknown[192.168.2.52]: SASL LOGIN authentication failed: authentication failure
Oct 28 15:08:09 server1 postfix/smtpd[6096]: disconnect from unknown[192.168.2.52]
Oct 28 15:08:34 server1 zmmailboxdmgr[4166]: status requested
Oct 28 15:08:34 server1 zmmailboxdmgr[4166]: status OK
Oct 28 15:08:35 server1 zmmailboxdmgr[4231]: status requested
Oct 28 15:08:35 server1 zmmailboxdmgr[4231]: status OK
Oct 28 15:09:17 server1 postfix/anvil[3357]: statistics: max connection rate 2/60s for (smtp:203.210.204.228) at Oct 28 15:04:11
Oct 28 15:09:17 server1 postfix/anvil[3357]: statistics: max connection count 1 for (smtp:192.168.2.41) at Oct 28 14:59:17
Oct 28 15:09:17 server1 postfix/anvil[3357]: statistics: max cache size 4 at Oct 28 14:59:17
Oct 28 15:09:53 server1 zmmailboxdmgr[5423]: status requested
Oct 28 15:09:53 server1 zmmailboxdmgr[5423]: status OK
Oct 28 15:09:53 server1 zmmailboxdmgr[5488]: status requested
Oct 28 15:09:53 server1 zmmailboxdmgr[5488]: status OK
Oct 28 15:10:01 server1 zimbramon[5562]: 5562:info: 2009-