java.io.IOException: No space left on device

Atlassian JIRA | Renan Battaglin | 6 years ago
  1. 0

    *edit:* Before this ticket was reporting that only the bamboo.cfg.xml could disappear. Changed this ticket to be more generic after handling cases where we could not identify what was the missing or corrupted file. Currently, files from the *Bamboo-Home-Dir* disappear from the hard disk where the Bamboo Server is installed when the disk gets full. The Server logs report: {code} 2010-10-05 04:00:13,673 ERROR [Persistence Adaptor Task] [AMQPersistenceAdapter] Failed to mark the Journal: java.io.IOException: No space left on device java.io.IOException: No space left on device at sun.nio.ch.FileDispatcher.write0(Native Method) at sun.nio.ch.FileDispatcher.write(FileDispatcher.java:57) at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:122) at sun.nio.ch.IOUtil.write(IOUtil.java:93) at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:224) at org.apache.activemq.kaha.impl.async.NIODataFileAppender.transfer(NIODataFileAppender.java:205) at org.apache.activemq.kaha.impl.async.NIODataFileAppender.processQueue(NIODataFileAppender.java:116) at org.apache.activemq.kaha.impl.async.DataFileAppender$2.run(DataFileAppender.java:227) {code} {code} 2010-10-05 04:03:45,580 WARN [BAM::Default Agent::Agent:pool-4-thread-1] [DefaultArtifactManager] Error occurred trying to generate an artifact redirect java.io.IOException: No space left on device at java.io.FileOutputStream.writeBytes(Native Method) at java.io.FileOutputStream.write(FileOutputStream.java:284) at org.apache.commons.io.IOUtils.write(IOUtils.java:784) at org.apache.commons.io.IOUtils.write(IOUtils.java:808) at org.apache.commons.io.FileUtils.writeStringToFile(FileUtils.java:1254) at com.atlassian.bamboo.build.artifact.DefaultArtifactManager.generateLatestVersionRedirect(DefaultArtifactManager.java:91) at com.atlassian.bamboo.build.artifact.DefaultArtifactManager.publish(DefaultArtifactManager.java:75) at com.atlassian.bamboo.build.artifact.BuildArtifactPostProcessor.call(BuildArtifactPostProcessor.java:62) at sun.reflect.GeneratedMethodAccessor612.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy265.call(Unknown Source) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.performCustomBuildProcess(ExecuteBuildTask.java:156) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:80) at sun.reflect.GeneratedMethodAccessor612.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy264.call(Unknown Source) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:189) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:90) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:102) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:47) at java.lang.Thread.run(Thread.java:636) {code}

    Atlassian JIRA | 6 years ago | Renan Battaglin
    java.io.IOException: No space left on device
  2. 0

    *edit:* Before this ticket was reporting that only the bamboo.cfg.xml could disappear. Changed this ticket to be more generic after handling cases where we could not identify what was the missing or corrupted file. Currently, files from the *Bamboo-Home-Dir* disappear from the hard disk where the Bamboo Server is installed when the disk gets full. The Server logs report: {code} 2010-10-05 04:00:13,673 ERROR [Persistence Adaptor Task] [AMQPersistenceAdapter] Failed to mark the Journal: java.io.IOException: No space left on device java.io.IOException: No space left on device at sun.nio.ch.FileDispatcher.write0(Native Method) at sun.nio.ch.FileDispatcher.write(FileDispatcher.java:57) at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:122) at sun.nio.ch.IOUtil.write(IOUtil.java:93) at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:224) at org.apache.activemq.kaha.impl.async.NIODataFileAppender.transfer(NIODataFileAppender.java:205) at org.apache.activemq.kaha.impl.async.NIODataFileAppender.processQueue(NIODataFileAppender.java:116) at org.apache.activemq.kaha.impl.async.DataFileAppender$2.run(DataFileAppender.java:227) {code} {code} 2010-10-05 04:03:45,580 WARN [BAM::Default Agent::Agent:pool-4-thread-1] [DefaultArtifactManager] Error occurred trying to generate an artifact redirect java.io.IOException: No space left on device at java.io.FileOutputStream.writeBytes(Native Method) at java.io.FileOutputStream.write(FileOutputStream.java:284) at org.apache.commons.io.IOUtils.write(IOUtils.java:784) at org.apache.commons.io.IOUtils.write(IOUtils.java:808) at org.apache.commons.io.FileUtils.writeStringToFile(FileUtils.java:1254) at com.atlassian.bamboo.build.artifact.DefaultArtifactManager.generateLatestVersionRedirect(DefaultArtifactManager.java:91) at com.atlassian.bamboo.build.artifact.DefaultArtifactManager.publish(DefaultArtifactManager.java:75) at com.atlassian.bamboo.build.artifact.BuildArtifactPostProcessor.call(BuildArtifactPostProcessor.java:62) at sun.reflect.GeneratedMethodAccessor612.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy265.call(Unknown Source) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.performCustomBuildProcess(ExecuteBuildTask.java:156) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:80) at sun.reflect.GeneratedMethodAccessor612.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy264.call(Unknown Source) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:189) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:90) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:102) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:47) at java.lang.Thread.run(Thread.java:636) {code}

    Atlassian JIRA | 6 years ago | Renan Battaglin
    java.io.IOException: No space left on device
  3. 0

    GATK: unable to write data to BAM schedule file - SEQanswers

    seqanswers.com | 1 year ago
    org.broadinstitute.sting.utils.exceptions.ReviewedStingException: Unable to write data to BAM schedule file.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Akka "No space left" errors while running Simulation (v 2.0.2)

    Google Groups | 2 years ago | infomaven
    java.io.IOException: No space left on device
  6. 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

    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

      No space left on device

      at sun.nio.ch.FileDispatcher.write0()
    2. Java RT
      FileChannelImpl.write
      1. sun.nio.ch.FileDispatcher.write0(Native Method)
      2. sun.nio.ch.FileDispatcher.write(FileDispatcher.java:57)
      3. sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:122)
      4. sun.nio.ch.IOUtil.write(IOUtil.java:93)
      5. sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:224)
      5 frames
    3. ActiveMQ :: Core
      DataFileAppender$2.run
      1. org.apache.activemq.kaha.impl.async.NIODataFileAppender.transfer(NIODataFileAppender.java:205)
      2. org.apache.activemq.kaha.impl.async.NIODataFileAppender.processQueue(NIODataFileAppender.java:116)
      3. org.apache.activemq.kaha.impl.async.DataFileAppender$2.run(DataFileAppender.java:227)
      3 frames