No space left on device

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

No space left on device

Venkat Vemuri
Hello Jenkins community,

on the Jenkins server, I am getting No space left on the device message while trying to run a  job, Is there any way that without increasing the space we can handle this space issue.



:33:25 java.nio.file.FileSystemException: /var/lib/jenkins/workspace/shortlistsyncservice-gcpqa/target/shortlistsyncsearch.jar -> /var/lib/jenkins/jobs/shortlistsyncservice-gcpqa/modules/net.shortlist$shortlistsyncsearch/builds/74/archive/net.shortlist/shortlistsyncsearch/1.0/shortlistsyncsearch-1.0.jar: No space left on device
08:33:25 at sun.nio.fs.UnixException.translateToIOException(UnixException.java:91)
08:33:25 at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
08:33:25 at sun.nio.fs.UnixCopyFile.copyFile(UnixCopyFile.java:253)
08:33:25 at sun.nio.fs.UnixCopyFile.copy(UnixCopyFile.java:581)
08:33:25 at sun.nio.fs.UnixFileSystemProvider.copy(UnixFileSystemProvider.java:253)
08:33:25 at java.nio.file.Files.copy(Files.java:1274)
08:33:25 at hudson.FilePath$CopyRecursiveLocal$1.visit(FilePath.java:2487)
08:33:25 at hudson.util.DirScanner.scanSingle(DirScanner.java:49)
08:33:25 at hudson.FilePath$ExplicitlySpecifiedDirScanner.scan(FilePath.java:3192)
08:33:25 at hudson.FilePath$CopyRecursiveLocal.invoke(FilePath.java:2476)
08:33:25 at hudson.FilePath$CopyRecursiveLocal.invoke(FilePath.java:2460)
08:33:25 at hudson.FilePath.act(FilePath.java:1076)
08:33:25 at hudson.FilePath.act(FilePath.java:1059)
08:33:25 at hudson.FilePath.copyRecursiveTo(FilePath.java:2408)
08:33:25 at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:70)
08:33:25 at hudson.maven.MavenBuild$ProxyImpl.performArchiving(MavenBuild.java:514)
08:33:25 at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:881)
08:33:25 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
08:33:25 at hudson.model.Run.execute(Run.java:1880)
08:33:25 at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
08:33:25 at hudson.model.ResourceController.execute(ResourceController.java:97)
08:33:25 at hudson.model.Executor.run(Executor.java:428)
08:33:26 An attempt to send an e-mail to empty list of recipients, ignored.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/01777d0d-9c2d-4f30-85f8-9d4a0770f483n%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: No space left on device

Mark Waite-2
Delete files to recover space.  The command "du -x /var/lib/jenkins/ | sort -r -n | less" is a great help to identify the largest directories in your installation.  Then you can decide what you want to do about those large directories.

Sometimes, it is as simple as configuring the jobs to only retain a small number of recent builds.  The configuration slicing plugin can assist with applying a setting to many job definitions at the same time.

Mark Waite

On Thu, Apr 1, 2021 at 7:47 AM 'Venkat Vemuri' via Jenkins Users <[hidden email]> wrote:
Hello Jenkins community,

on the Jenkins server, I am getting No space left on the device message while trying to run a  job, Is there any way that without increasing the space we can handle this space issue.



:33:25 java.nio.file.FileSystemException: /var/lib/jenkins/workspace/shortlistsyncservice-gcpqa/target/shortlistsyncsearch.jar -> /var/lib/jenkins/jobs/shortlistsyncservice-gcpqa/modules/net.shortlist$shortlistsyncsearch/builds/74/archive/net.shortlist/shortlistsyncsearch/1.0/shortlistsyncsearch-1.0.jar: No space left on device
08:33:25 at sun.nio.fs.UnixException.translateToIOException(UnixException.java:91)
08:33:25 at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
08:33:25 at sun.nio.fs.UnixCopyFile.copyFile(UnixCopyFile.java:253)
08:33:25 at sun.nio.fs.UnixCopyFile.copy(UnixCopyFile.java:581)
08:33:25 at sun.nio.fs.UnixFileSystemProvider.copy(UnixFileSystemProvider.java:253)
08:33:25 at java.nio.file.Files.copy(Files.java:1274)
08:33:25 at hudson.FilePath$CopyRecursiveLocal$1.visit(FilePath.java:2487)
08:33:25 at hudson.util.DirScanner.scanSingle(DirScanner.java:49)
08:33:25 at hudson.FilePath$ExplicitlySpecifiedDirScanner.scan(FilePath.java:3192)
08:33:25 at hudson.FilePath$CopyRecursiveLocal.invoke(FilePath.java:2476)
08:33:25 at hudson.FilePath$CopyRecursiveLocal.invoke(FilePath.java:2460)
08:33:25 at hudson.FilePath.act(FilePath.java:1076)
08:33:25 at hudson.FilePath.act(FilePath.java:1059)
08:33:25 at hudson.FilePath.copyRecursiveTo(FilePath.java:2408)
08:33:25 at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:70)
08:33:25 at hudson.maven.MavenBuild$ProxyImpl.performArchiving(MavenBuild.java:514)
08:33:25 at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:881)
08:33:25 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
08:33:25 at hudson.model.Run.execute(Run.java:1880)
08:33:25 at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
08:33:25 at hudson.model.ResourceController.execute(ResourceController.java:97)
08:33:25 at hudson.model.Executor.run(Executor.java:428)
08:33:26 An attempt to send an e-mail to empty list of recipients, ignored.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/01777d0d-9c2d-4f30-85f8-9d4a0770f483n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtG69oCWd7piVYkJpP%2BWSMvH16Qhgzqm5cJvTi6Si61vxQ%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: No space left on device

Venkat Vemuri
Hi Mark,

Thanks for the reply, How can we get the same details on the windows server.


Regards
Venkat

On Thu, Apr 1, 2021 at 7:22 PM Mark Waite <[hidden email]> wrote:
Delete files to recover space.  The command "du -x /var/lib/jenkins/ | sort -r -n | less" is a great help to identify the largest directories in your installation.  Then you can decide what you want to do about those large directories.

Sometimes, it is as simple as configuring the jobs to only retain a small number of recent builds.  The configuration slicing plugin can assist with applying a setting to many job definitions at the same time.

Mark Waite

On Thu, Apr 1, 2021 at 7:47 AM 'Venkat Vemuri' via Jenkins Users <[hidden email]> wrote:
Hello Jenkins community,

on the Jenkins server, I am getting No space left on the device message while trying to run a  job, Is there any way that without increasing the space we can handle this space issue.



:33:25 java.nio.file.FileSystemException: /var/lib/jenkins/workspace/shortlistsyncservice-gcpqa/target/shortlistsyncsearch.jar -> /var/lib/jenkins/jobs/shortlistsyncservice-gcpqa/modules/net.shortlist$shortlistsyncsearch/builds/74/archive/net.shortlist/shortlistsyncsearch/1.0/shortlistsyncsearch-1.0.jar: No space left on device
08:33:25 at sun.nio.fs.UnixException.translateToIOException(UnixException.java:91)
08:33:25 at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
08:33:25 at sun.nio.fs.UnixCopyFile.copyFile(UnixCopyFile.java:253)
08:33:25 at sun.nio.fs.UnixCopyFile.copy(UnixCopyFile.java:581)
08:33:25 at sun.nio.fs.UnixFileSystemProvider.copy(UnixFileSystemProvider.java:253)
08:33:25 at java.nio.file.Files.copy(Files.java:1274)
08:33:25 at hudson.FilePath$CopyRecursiveLocal$1.visit(FilePath.java:2487)
08:33:25 at hudson.util.DirScanner.scanSingle(DirScanner.java:49)
08:33:25 at hudson.FilePath$ExplicitlySpecifiedDirScanner.scan(FilePath.java:3192)
08:33:25 at hudson.FilePath$CopyRecursiveLocal.invoke(FilePath.java:2476)
08:33:25 at hudson.FilePath$CopyRecursiveLocal.invoke(FilePath.java:2460)
08:33:25 at hudson.FilePath.act(FilePath.java:1076)
08:33:25 at hudson.FilePath.act(FilePath.java:1059)
08:33:25 at hudson.FilePath.copyRecursiveTo(FilePath.java:2408)
08:33:25 at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:70)
08:33:25 at hudson.maven.MavenBuild$ProxyImpl.performArchiving(MavenBuild.java:514)
08:33:25 at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:881)
08:33:25 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
08:33:25 at hudson.model.Run.execute(Run.java:1880)
08:33:25 at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
08:33:25 at hudson.model.ResourceController.execute(ResourceController.java:97)
08:33:25 at hudson.model.Executor.run(Executor.java:428)
08:33:26 An attempt to send an e-mail to empty list of recipients, ignored.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/01777d0d-9c2d-4f30-85f8-9d4a0770f483n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtG69oCWd7piVYkJpP%2BWSMvH16Qhgzqm5cJvTi6Si61vxQ%40mail.gmail.com.


--
Thanks & Regards

Venkat


--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAF-cHwzL8xvoxW46DsQ7Eu7pNM%2BxK25A_DqOKb3Ni5c%3D9zEk_w%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: No space left on device

Mark Waite-2
Windirstat

On Mon, Apr 5, 2021, 3:06 AM 'Venkat' via Jenkins Users <[hidden email]> wrote:
Hi Mark,

Thanks for the reply, How can we get the same details on the windows server.


Regards
Venkat

On Thu, Apr 1, 2021 at 7:22 PM Mark Waite <[hidden email]> wrote:
Delete files to recover space.  The command "du -x /var/lib/jenkins/ | sort -r -n | less" is a great help to identify the largest directories in your installation.  Then you can decide what you want to do about those large directories.

Sometimes, it is as simple as configuring the jobs to only retain a small number of recent builds.  The configuration slicing plugin can assist with applying a setting to many job definitions at the same time.

Mark Waite

On Thu, Apr 1, 2021 at 7:47 AM 'Venkat Vemuri' via Jenkins Users <[hidden email]> wrote:
Hello Jenkins community,

on the Jenkins server, I am getting No space left on the device message while trying to run a  job, Is there any way that without increasing the space we can handle this space issue.



:33:25 java.nio.file.FileSystemException: /var/lib/jenkins/workspace/shortlistsyncservice-gcpqa/target/shortlistsyncsearch.jar -> /var/lib/jenkins/jobs/shortlistsyncservice-gcpqa/modules/net.shortlist$shortlistsyncsearch/builds/74/archive/net.shortlist/shortlistsyncsearch/1.0/shortlistsyncsearch-1.0.jar: No space left on device
08:33:25 at sun.nio.fs.UnixException.translateToIOException(UnixException.java:91)
08:33:25 at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
08:33:25 at sun.nio.fs.UnixCopyFile.copyFile(UnixCopyFile.java:253)
08:33:25 at sun.nio.fs.UnixCopyFile.copy(UnixCopyFile.java:581)
08:33:25 at sun.nio.fs.UnixFileSystemProvider.copy(UnixFileSystemProvider.java:253)
08:33:25 at java.nio.file.Files.copy(Files.java:1274)
08:33:25 at hudson.FilePath$CopyRecursiveLocal$1.visit(FilePath.java:2487)
08:33:25 at hudson.util.DirScanner.scanSingle(DirScanner.java:49)
08:33:25 at hudson.FilePath$ExplicitlySpecifiedDirScanner.scan(FilePath.java:3192)
08:33:25 at hudson.FilePath$CopyRecursiveLocal.invoke(FilePath.java:2476)
08:33:25 at hudson.FilePath$CopyRecursiveLocal.invoke(FilePath.java:2460)
08:33:25 at hudson.FilePath.act(FilePath.java:1076)
08:33:25 at hudson.FilePath.act(FilePath.java:1059)
08:33:25 at hudson.FilePath.copyRecursiveTo(FilePath.java:2408)
08:33:25 at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:70)
08:33:25 at hudson.maven.MavenBuild$ProxyImpl.performArchiving(MavenBuild.java:514)
08:33:25 at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:881)
08:33:25 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
08:33:25 at hudson.model.Run.execute(Run.java:1880)
08:33:25 at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
08:33:25 at hudson.model.ResourceController.execute(ResourceController.java:97)
08:33:25 at hudson.model.Executor.run(Executor.java:428)
08:33:26 An attempt to send an e-mail to empty list of recipients, ignored.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/01777d0d-9c2d-4f30-85f8-9d4a0770f483n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtG69oCWd7piVYkJpP%2BWSMvH16Qhgzqm5cJvTi6Si61vxQ%40mail.gmail.com.


--
Thanks & Regards

Venkat


--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAF-cHwzL8xvoxW46DsQ7Eu7pNM%2BxK25A_DqOKb3Ni5c%3D9zEk_w%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtEajPFi0ez%3Dv6a2kT%3D4bA_a_3%2BeT7sy4qdMQbattnQZYQ%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: No space left on device

Martin Schmude
In case anybody is not aware of windirstat: it is a disk space analysis tool for Windows.
https://windirstat.net/



Mark Waite schrieb am Montag, 5. April 2021 um 13:34:11 UTC+2:
Windirstat

On Mon, Apr 5, 2021, 3:06 AM 'Venkat' via Jenkins Users <[hidden email]> wrote:
Hi Mark,

Thanks for the reply, How can we get the same details on the windows server.


Regards
Venkat

On Thu, Apr 1, 2021 at 7:22 PM Mark Waite <[hidden email]> wrote:
Delete files to recover space.  The command "du -x /var/lib/jenkins/ | sort -r -n | less" is a great help to identify the largest directories in your installation.  Then you can decide what you want to do about those large directories.

Sometimes, it is as simple as configuring the jobs to only retain a small number of recent builds.  The configuration slicing plugin can assist with applying a setting to many job definitions at the same time.

Mark Waite

On Thu, Apr 1, 2021 at 7:47 AM 'Venkat Vemuri' via Jenkins Users <[hidden email]> wrote:
Hello Jenkins community,

on the Jenkins server, I am getting No space left on the device message while trying to run a  job, Is there any way that without increasing the space we can handle this space issue.



:33:25 java.nio.file.FileSystemException: /var/lib/jenkins/workspace/shortlistsyncservice-gcpqa/target/shortlistsyncsearch.jar -> /var/lib/jenkins/jobs/shortlistsyncservice-gcpqa/modules/net.shortlist$shortlistsyncsearch/builds/74/archive/net.shortlist/shortlistsyncsearch/1.0/shortlistsyncsearch-1.0.jar: No space left on device
08:33:25 at sun.nio.fs.UnixException.translateToIOException(UnixException.java:91)
08:33:25 at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
08:33:25 at sun.nio.fs.UnixCopyFile.copyFile(UnixCopyFile.java:253)
08:33:25 at sun.nio.fs.UnixCopyFile.copy(UnixCopyFile.java:581)
08:33:25 at sun.nio.fs.UnixFileSystemProvider.copy(UnixFileSystemProvider.java:253)
08:33:25 at java.nio.file.Files.copy(Files.java:1274)
08:33:25 at hudson.FilePath$CopyRecursiveLocal$1.visit(FilePath.java:2487)
08:33:25 at hudson.util.DirScanner.scanSingle(DirScanner.java:49)
08:33:25 at hudson.FilePath$ExplicitlySpecifiedDirScanner.scan(FilePath.java:3192)
08:33:25 at hudson.FilePath$CopyRecursiveLocal.invoke(FilePath.java:2476)
08:33:25 at hudson.FilePath$CopyRecursiveLocal.invoke(FilePath.java:2460)
08:33:25 at hudson.FilePath.act(FilePath.java:1076)
08:33:25 at hudson.FilePath.act(FilePath.java:1059)
08:33:25 at hudson.FilePath.copyRecursiveTo(FilePath.java:2408)
08:33:25 at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:70)
08:33:25 at hudson.maven.MavenBuild$ProxyImpl.performArchiving(MavenBuild.java:514)
08:33:25 at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:881)
08:33:25 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
08:33:25 at hudson.model.Run.execute(Run.java:1880)
08:33:25 at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
08:33:25 at hudson.model.ResourceController.execute(ResourceController.java:97)
08:33:25 at hudson.model.Executor.run(Executor.java:428)
08:33:26 An attempt to send an e-mail to empty list of recipients, ignored.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/01777d0d-9c2d-4f30-85f8-9d4a0770f483n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtG69oCWd7piVYkJpP%2BWSMvH16Qhgzqm5cJvTi6Si61vxQ%40mail.gmail.com.


--
Thanks & Regards

Venkat


--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0da1863e-c3e2-4b13-b4ca-aa882da75572n%40googlegroups.com.