Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-11-2010, 01:13 AM
Advanced Member
 
Posts: 209
Default java.io.IOException: Too many open files !!!

This morning I got this error in mailbox.log :

2010-05-11 10:11:23,189 WARN [btpool0-3 - Acceptor0 SelectChannelConnector@0.0.0.0:80] [] log - EXCEPTION
java.io.IOException: Too many open files

Help !

Sam.
__________________
Release 6.0.7_GA_2473.DEBIAN5 DEBIAN5 FOSS edition.
On Debian Vserver
Reply With Quote
  #2 (permalink)  
Old 05-11-2010, 03:10 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

Quote:
Originally Posted by Samp View Post
This morning I got this error in mailbox.log :

2010-05-11 10:11:23,189 WARN [btpool0-3 - Acceptor0 SelectChannelConnector@0.0.0.0:80] [] log - EXCEPTION
java.io.IOException: Too many open files

Help !
Several threads in the forums cover this issue, a search would be the best place to start: site:zimbra.com "Too many open files" - Yahoo! Search Results = try some of those solutions first.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 05-11-2010, 03:16 AM
Advanced Member
 
Posts: 209
Default

Ok, but this morning it was the panic !

I restart several time and now it seems good.

I will follow your link to understand the origin of this problem...

Sam.
__________________
Release 6.0.7_GA_2473.DEBIAN5 DEBIAN5 FOSS edition.
On Debian Vserver
Reply With Quote
  #4 (permalink)  
Old 05-12-2010, 03:12 AM
Advanced Member
 
Posts: 209
Default

I always the zimbra crash problem with java "Too many open files" on vserver Debian squeeze/sid

I checked and there is the /proc/vrtual

Quote:
vserver-1:~# cat /proc/virtual/40000/limit
Limit current min/max soft/hard hits
PROC: 356 0/ 406 -1/ -1 0
VM: 1406127 0/ 3379795 -1/ -1 0
VML: 0 0/ 0 -1/ -1 0
RSS: 509070 0/ 537138 -1/ -1 0
ANON: 454452 0/ 481445 -1/ -1 0
RMAP: 54618 0/ 59754 -1/ -1 0
FILES: 3907 0/ 4083 524288/ 524288 0
OFD: 2529 0/ 2551 -1/ -1 0
LOCKS: -99 0/ -1 -1/ -1 0
SOCK: 582 0/ 582 -1/ -1 0
MSGQ: 0 0/ 0 -1/ -1 0
SHM: 0 0/ 0 -1/ -1 0
SEMA: 1 0/ 1 -1/ -1 0
SEMS: 1 0/ 1 -1/ -1 0
DENT: 2687 0/ 2756 -1/ -1 0
As you see the open files limit is 524288 and current is 3907 and max 4083 but 2mn ago Zimbra crashed and malbox.log show many java "Too many open files" errors and vtop show more than 100% java CPU use.

I need help because I can't stay all the day on console to restart Zimbra.

Sam.
__________________
Release 6.0.7_GA_2473.DEBIAN5 DEBIAN5 FOSS edition.
On Debian Vserver
Reply With Quote
  #5 (permalink)  
Old 05-12-2010, 02:57 PM
Partner (VAR/HSP)
 
Posts: 425
Default

How much memory do you have allocated to the VM?
Reply With Quote
  #6 (permalink)  
Old 05-12-2010, 07:33 PM
Advanced Member
 
Posts: 209
Default

Quote:
Originally Posted by iway View Post
How much memory do you have allocated to the VM?
The machine is 8Gb memory and I haven't set a VM limit for this vserver, but in fact I make a mistake by upgrade system from Debian Lenny to squeeze/sid and I think this cause the problem, in Lenny I haven't this problem before and Zimbra worked fine with the same number of users and requests.

I created a new vserver guest with a regular Lenny setup, and now the ulimit -n is set with the right value at start with /etc/vservers/<guest>/rlimits/nofile

I re-install Zimbra on this new vserver on Debian Lenny and I'm transferring my data from old to new vserver. I hope this will work, I copy the folders "index" "store" and "...apache/derby"

Thanks for your help.

Sam.
__________________
Release 6.0.7_GA_2473.DEBIAN5 DEBIAN5 FOSS edition.
On Debian Vserver
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.