java.io.IOException: Permission denied

Sonatype JIRA | Thiago Presa | 11 months ago
  1. 0

    I'm running a nexus installation based on the latest nexus docker image. A few days ago this exception started being thrown between 5 and 10 times a second: 2015-12-15 12:22:57 ERROR [lush Task (npm)] - com.orientechnologies.orient.core.index.hashindex.local.cache.OWOWCache$PeriodicFlushTask - Exception during data flush. java.io.IOException: Permission denied at sun.nio.ch.FileDispatcherImpl.pwrite0(Native Method) ~[na:1.7.0_76] at sun.nio.ch.FileDispatcherImpl.pwrite(FileDispatcherImpl.java:66) ~[na:1.7.0_76] at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:89) ~[na:1.7.0_76] at sun.nio.ch.IOUtil.write(IOUtil.java:65) ~[na:1.7.0_76] at sun.nio.ch.FileChannelImpl.writeInternal(FileChannelImpl.java:738) ~[na:1.7.0_76] at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:723) ~[na:1.7.0_76] at com.orientechnologies.orient.core.storage.fs.OFileClassic.writeInternal(OFileClassic.java:95) ~[na:na] at com.orientechnologies.orient.core.storage.fs.OFileClassic.write(OFileClassic.java:214) ~[na:na] at com.orientechnologies.orient.core.index.hashindex.local.cache.OWOWCache.flushPage(OWOWCache.java:1049) ~[na:na] at com.orientechnologies.orient.core.index.hashindex.local.cache.OWOWCache.access$2000(OWOWCache.java:64) ~[na:na] at com.orientechnologies.orient.core.index.hashindex.local.cache.OWOWCache$PeriodicFlushTask.iterateBySubRing(OWOWCache.java:1241) ~[na:na] at com.orientechnologies.orient.core.index.hashindex.local.cache.OWOWCache$PeriodicFlushTask.flushRing(OWOWCache.java:1196) ~[na:na] at com.orientechnologies.orient.core.index.hashindex.local.cache.OWOWCache$PeriodicFlushTask.run(OWOWCache.java:1172) ~[na:na] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_76] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) [na:1.7.0_76] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [na:1.7.0_76] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.7.0_76] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_76] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_76] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_76] Can this be somehow related to https://github.com/orientechnologies/orientdb/issues/4528 ?

    Sonatype JIRA | 11 months ago | Thiago Presa
    java.io.IOException: Permission denied
  2. 0

    No space left on device error on client side

    GitHub | 2 years ago | lvca
    com.orientechnologies.common.exception.OException: File flush was abnormally terminated
  3. 0

    'Writer fails' Exception

    GitHub | 2 years ago | AntonioAmore
    java.lang.RuntimeException: Writer thread failed
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.io.IOError: java.io.IOException: The parameter is incorrect

    GitHub | 2 years ago | fabiankessler
    java.io.IOError: java.io.IOException: The parameter is incorrect

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      Permission denied

      at sun.nio.ch.FileDispatcherImpl.pwrite0()
    2. Java RT
      FileChannelImpl.write
      1. sun.nio.ch.FileDispatcherImpl.pwrite0(Native Method)[na:1.7.0_76]
      2. sun.nio.ch.FileDispatcherImpl.pwrite(FileDispatcherImpl.java:66)[na:1.7.0_76]
      3. sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:89)[na:1.7.0_76]
      4. sun.nio.ch.IOUtil.write(IOUtil.java:65)[na:1.7.0_76]
      5. sun.nio.ch.FileChannelImpl.writeInternal(FileChannelImpl.java:738)[na:1.7.0_76]
      6. sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:723)[na:1.7.0_76]
      6 frames
    3. OrientDB Core
      OWOWCache$PeriodicFlushTask.run
      1. com.orientechnologies.orient.core.storage.fs.OFileClassic.writeInternal(OFileClassic.java:95)[na:na]
      2. com.orientechnologies.orient.core.storage.fs.OFileClassic.write(OFileClassic.java:214)[na:na]
      3. com.orientechnologies.orient.core.index.hashindex.local.cache.OWOWCache.flushPage(OWOWCache.java:1049)[na:na]
      4. com.orientechnologies.orient.core.index.hashindex.local.cache.OWOWCache.access$2000(OWOWCache.java:64)[na:na]
      5. com.orientechnologies.orient.core.index.hashindex.local.cache.OWOWCache$PeriodicFlushTask.iterateBySubRing(OWOWCache.java:1241)[na:na]
      6. com.orientechnologies.orient.core.index.hashindex.local.cache.OWOWCache$PeriodicFlushTask.flushRing(OWOWCache.java:1196)[na:na]
      7. com.orientechnologies.orient.core.index.hashindex.local.cache.OWOWCache$PeriodicFlushTask.run(OWOWCache.java:1172)[na:na]
      7 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[na:1.7.0_76]
      2. java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)[na:1.7.0_76]
      3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)[na:1.7.0_76]
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[na:1.7.0_76]
      5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[na:1.7.0_76]
      6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[na:1.7.0_76]
      7. java.lang.Thread.run(Thread.java:745)[na:1.7.0_76]
      7 frames