Results 1 to 3 of 3
  1. #1
    CaffeineDK is offline Member
    Join Date
    Feb 2009
    Posts
    1
    Rep Power
    0

    Exclamation java.lang.Error: Cleaner terminated abnormally

    Hi Guys/Gals,

    We've been experiencing the following error lately and were wondering if anyone could enlighten us about what's happening:

    The heap size is 4096M, and looking at the GC output, It looks like an oom situation situation.

    But why are we getting a Cleaner terminated error? As far as I can tell there are no oom exceptions of any kind thrown.

    What are usual causes for an error like this?

    Here are our settings:

    debian Linux 4.0 @ 2x quad core Xeon L5420 w/ 8gb ram

    sun-jdk 1.6.0.11 (x64 server vm) w/ following options:

    -XX:+UseConcMarkSweepGC
    -XX:+UseParNewGC
    -XX:+CMSIncrementalMode
    -Xms4096M
    -Xmx4096M
    -Xss128k
    -XX:PermSize=256M
    -XX:MaxPermSize=256M
    -Dsun.net.inetaddr.ttl=60
    -Dfile.encoding=UTF-8

    ---- error snippet ----
    [GC 4060616K->3924100K(4177280K), 0.1517880 secs]
    [GC 4060420K->3926867K(4177280K), 0.0883940 secs]
    [GC 4062488K->3931589K(4177280K), 0.1008470 secs]
    [GC 4067906K->3935097K(4177280K), 0.0931530 secs]
    [GC 4071417K->3934946K(4177280K), 0.0787300 secs]
    [GC 4029027K(4177280K), 0.1941170 secs]
    java.lang.Error: Cleaner terminated abnormally
    at sun.misc.Cleaner$1.run(Cleaner.java:130)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.misc.Cleaner.clean(Cleaner.java:127)
    at java.lang.ref.Reference$ReferenceHandler.run(Refer ence.java:124)
    Caused by: java.lang.Error: java.io.IOException: Broken pipe
    at sun.nio.ch.Util$SelectorWrapper$Closer.run(Util.ja va:97)
    at sun.misc.Cleaner.clean(Cleaner.java:125)
    ... 1 more
    Caused by: java.io.IOException: Broken pipe
    at sun.nio.ch.EPollArrayWrapper.interrupt(Native Method)
    at sun.nio.ch.EPollArrayWrapper.interrupt(EPollArrayW rapper.java:242)
    at sun.nio.ch.EPollSelectorImpl.wakeup(EPollSelectorI mpl.java:170)
    at sun.nio.ch.SelectorImpl.implCloseSelector(Selector Impl.java:92)
    at java.nio.channels.spi.AbstractSelector.close(Abstr actSelector.java:91)
    at sun.nio.ch.Util$SelectorWrapper$Closer.run(Util.ja va:95)
    ... 2 more

    The only thing I could find remotely relevant is Bug ID: 4938372 (fs) Overlapping mapped files cannot be unmapped (windows), which is from 2003.

  2. #2
    toadaly is offline Senior Member
    Join Date
    Jan 2009
    Posts
    671
    Rep Power
    6

    Default

    I don't see anything here that suggests a oom error except your printed GC statements.

    It's throwing an IOException, not a memory error. However, you can download the source code from Sun and see what Cleaner line 125 is to see if it might be related to an oom error. More than once I've had to dig through the java source code to figure out a problem. (I actually had to do this earlier today...oddly enough)

  3. #3
    Steve11235's Avatar
    Steve11235 is offline Senior Member
    Join Date
    Dec 2008
    Posts
    1,046
    Rep Power
    8

    Default

    Looking at your messages, Java is calling some external code to access a pipe, which is an OS supported communications queue. The pipe is "broken", which causes the error. Sounds like an OS problem. I'd google "broken pipe".

Similar Threads

  1. java.lang.NullPointerException Error
    By Manfizy in forum NetBeans
    Replies: 3
    Last Post: 02-24-2011, 07:27 AM
  2. Replies: 2
    Last Post: 12-02-2008, 12:01 PM
  3. How to over come java.lang.out of memory error
    By Chaitra_gm in forum New To Java
    Replies: 5
    Last Post: 09-28-2008, 11:33 AM
  4. Replies: 2
    Last Post: 09-18-2008, 08:30 AM
  5. Replies: 1
    Last Post: 08-01-2007, 12:47 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
  •