No space left on device

42 views
Skip to first unread message

Venkat Vemuri

unread,
Apr 1, 2021, 9:47:32 AM4/1/21
to Jenkins Users
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.

Mark Waite

unread,
Apr 1, 2021, 9:52:03 AM4/1/21
to Jenkins Users
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

--
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-use...@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.

Venkat

unread,
Apr 5, 2021, 5:06:21 AM4/5/21
to jenkins...@googlegroups.com
Hi Mark,

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


Regards
Venkat



--
Thanks & Regards

Venkat


Mark Waite

unread,
Apr 5, 2021, 7:34:11 AM4/5/21
to Jenkins Users

Martin Schmude

unread,
Apr 5, 2021, 1:35:34 PM4/5/21
to Jenkins Users
In case anybody is not aware of windirstat: it is a disk space analysis tool for Windows.
Reply all
Reply to author
Forward
0 new messages