title: Hudson: returned status code 141: fatal: write error: No space left on device
body: <p>I copied one of the existing project and created a new project in Hudson. While running build it says "returned status code 141: fatal: write error: No space left on device"</p>
  
  <p>Like suggested in other forums I checked free space and inode used in file system and nothing seems problematic here. Hudson is running as service and Hudons user has been given sudo privilege. Older job can be run so nothing different in new cloned job.</p>
  
  <p>Disk Space</p>
  
  <pre><code>bash-4.1$ df -h
  Filesystem            Size  Used Avail Use% Mounted on
  /dev/mapper/vg_dev-lv_root
                         20G   19G   28K 100% /
  tmpfs                 1.9G  192K  1.9G   1% /dev/shm
  /dev/sda1             485M   83M  377M  19% /boot
  /dev/mapper/vg_dev-lv_home
                         73G   26G   44G  38% /home
  </code></pre>
  
  <p>i-nodes used</p>
  
  <pre><code>bash-4.1$ df -i
  Filesystem            Inodes   IUsed   IFree IUse% Mounted on
  /dev/mapper/vg_dev-lv_root
                       1310720  309294 1001426   24% /
  tmpfs                 490645       4  490641    1% /dev/shm
  /dev/sda1             128016      46  127970    1% /boot
  /dev/mapper/vg_dev-lv_home
                       4833280  117851 4715429    3% /home
  </code></pre>
  
  <p>Hudson build log</p>
  
  <pre><code>bash-4.1$ cat log
  Started by user anonymous
  Checkout:workspace / /var/lib/hudson/jobs/Demo/workspace - hudson.remoting.LocalChannel@1d4ab266
  Using strategy: Default
  Checkout:workspace / /var/lib/hudson/jobs/Demo/workspace - hudson.remoting.LocalChannel@1d4ab266
  Fetching changes from the remote Git repository
  Fetching upstream changes from ssh://demouser@10.10.10.10:20/home/git-repos/proj.git
  ERROR: Problem fetching from origin / origin - could be unavailable. Continuing anyway
  ha:AAAAWB+LCAAAAAAAAABb85aBtbiIQSmjNKU4P08vOT+vOD8nVc8DzHWtSE4tKMnMz/PLL0ldFVf2c+b/lb5MDAwVRQxSaBqcITRIIQMEMIIUFgAAckCEiWAAAAA=ERROR:  (Underlying report) : Error performing command: git fetch -t ssh://demouser@10.10.10.10:20/home/git-repos/proj.git +refs/heads/*:refs/remotes/origin/*
  Command "git fetch -t ssh://demouser@10.10.10.10:20/home/git-repos/proj.git +refs/heads/*:refs/remotes/origin/*" returned status code 141: fatal: write error: No space left on device
  
  ha:AAAAWB+LCAAAAAAAAABb85aBtbiIQSmjNKU4P08vOT+vOD8nVc8DzHWtSE4tKMnMz/PLL0ldFVf2c+b/lb5MDAwVRQxSaBqcITRIIQMEMIIUFgAAckCEiWAAAAA=ERROR: Could not fetch from any repository
  ha:AAAAWB+LCAAAAAAAAABb85aBtbiIQSmjNKU4P08vOT+vOD8nVc8DzHWtSE4tKMnMz/PLL0ldFVf2c+b/lb5MDAwVRQxSaBqcITRIIQMEMIIUFgAAckCEiWAAAAA=FATAL: Could not fetch from any repository
  ha:AAAAWB+LCAAAAAAAAABb85aBtbiIQSmjNKU4P08vOT+vOD8nVc8DzHWtSE4tKMnMz/PLL0ldFVf2c+b/lb5MDAwVRQxSaBqcITRIIQMEMIIUFgAAckCEiWAAAAA=hudson.plugins.git.GitException: Could not fetch from any repository
          at hudson.plugins.git.GitSCM$3.invoke(GitSCM.java:887)
          at hudson.plugins.git.GitSCM$3.invoke(GitSCM.java:845)
          at hudson.FilePath.act(FilePath.java:758)
          at hudson.FilePath.act(FilePath.java:740)
          at hudson.plugins.git.GitSCM.gerRevisionToBuild(GitSCM.java:845)
          at hudson.plugins.git.GitSCM.checkout(GitSCM.java:622)
          at hudson.model.AbstractProject.checkout(AbstractProject.java:1483)
          at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:507)
          at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:424)
          at hudson.model.Run.run(Run.java:1366)
          at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
          at hudson.model.ResourceController.execute(ResourceController.java:88)
          at hudson.model.Executor.run(Executor.java:145)
  </code></pre>