Jenkins错误:java.io.IOException:无法删除

我在EC2上的Ubuntu 14.04上有一个Jenkins服务器。 最近,页面的加载时间已经痛苦地恶化。

当我查看日志时,我注意到在构build完成之后,Jenkins不能删除像lastUnsuccessfulBuildlastStableBuild这样的快捷方式的链接:

 Jun 26, 2014 5:23:59 AM hudson.model.Run execute INFO: tests_functional #4948 main build action completed: SUCCESS Jun 26, 2014 5:23:59 AM jenkins.model.PeepholePermalink updateCache WARNING: Failed to update hudson.model.FreeStyleProject@1ce01735[tests_functional] lastStableBuild permalink for tests_functional #4948 java.io.IOException: Unable to delete /var/lib/jenkins/jobs/tests_functional/builds/lastStableBuild at hudson.util.AtomicFileWriter.commit(AtomicFileWriter.java:112) at jenkins.model.PeepholePermalink.writeSymlink(PeepholePermalink.java:200) at jenkins.model.PeepholePermalink.updateCache(PeepholePermalink.java:150) at jenkins.model.PeepholePermalink$RunListenerImpl.onCompleted(PeepholePermalink.java:237) at hudson.model.listeners.RunListener.fireCompleted(RunListener.java:199) at hudson.model.Run.execute(Run.java:1783) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:234) 

 Jun 26, 2014 7:26:34 AM jenkins.model.PeepholePermalink updateCache WARNING: Failed to update hudson.model.FreeStyleProject@7caf5092[location_server_commit] lastUnsuccessfulBuild permalink for location_server_commit #889 java.io.IOException: Unable to delete /var/lib/jenkins/jobs/location_server_commit/builds/lastUnsuccessfulBuild at hudson.util.AtomicFileWriter.commit(AtomicFileWriter.java:112) at jenkins.model.PeepholePermalink.writeSymlink(PeepholePermalink.java:200) at jenkins.model.PeepholePermalink.updateCache(PeepholePermalink.java:150) at jenkins.model.PeepholePermalink$RunListenerImpl.onCompleted(PeepholePermalink.java:237) at hudson.model.listeners.RunListener.fireCompleted(RunListener.java:199) at hudson.model.Run.execute(Run.java:1783) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:234) 

/var/lib/jenkins/jobs/tests_functional上的文件所有权似乎是正确的:

 drwxr-xr-x 2 jenkins nogroup 4.0K Apr 8 20:53 lastSuccessful drwxr-xr-x 2 jenkins nogroup 4.0K Apr 8 20:53 lastStable -rw-r--r-- 1 jenkins nogroup 2.7K Jun 12 16:00 config.xml -rw-r--r-- 1 jenkins nogroup 5 Jun 26 05:23 nextBuildNumber drwxr-xr-x 8 jenkins nogroup 4.0K Jun 26 05:23 workspace -rw-r--r-- 1 jenkins nogroup 542 Jun 26 06:02 disk-usage.xml drwxr-xr-x 207 jenkins nogroup 12K Jun 26 07:44 builds -rw-r--r-- 1 jenkins nogroup 291 Jun 26 07:45 scm-polling.log 

任何想法jenkins有什么问题,我该如何解决?