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 <
jenkinsci-users@googlegroups.com> 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 jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/01777d0d-9c2d-4f30-85f8-9d4a0770f483n%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/01777d0d-9c2d-4f30-85f8-9d4a0770f483n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtG69oCWd7piVYkJpP%2BWSMvH16Qhgzqm5cJvTi6Si61vxQ%40mail.gmail.com.

Reply via email to