Results 1 to 6 of 6

Thread: java.io.IOException: Too many open files !!!

  1. #1
    Join Date
    Jun 2006
    Posts
    209
    Rep Power
    9

    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

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    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


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Join Date
    Jun 2006
    Posts
    209
    Rep Power
    9

    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

  4. #4
    Join Date
    Jun 2006
    Posts
    209
    Rep Power
    9

    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

    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

  5. #5
    Join Date
    May 2008
    Posts
    432
    Rep Power
    7

    Default

    How much memory do you have allocated to the VM?

  6. #6
    Join Date
    Jun 2006
    Posts
    209
    Rep Power
    9

    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

Similar Threads

  1. Too many open files?
    By davidg in forum Administrators
    Replies: 3
    Last Post: 03-25-2010, 07:06 AM
  2. [SOLVED] Mail deferred due to too many files open
    By Vladimir in forum Administrators
    Replies: 4
    Last Post: 04-22-2008, 07:20 AM
  3. java.io.IOException: Too many open files
    By staufj22 in forum Administrators
    Replies: 2
    Last Post: 01-24-2008, 12:03 PM
  4. Error message in Server status
    By Max Ma in forum Installation
    Replies: 20
    Last Post: 04-19-2007, 08:55 AM
  5. The mailbox and mta dies in FC4 GA version
    By meikka in forum Installation
    Replies: 72
    Last Post: 03-16-2006, 04:30 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
  •