Uploaded image for project: 'Spring XD'
  1. Spring XD
  2. XD-2731

Temp files for stream create not being cleaned

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Blocker
    • Resolution: Complete
    • Affects Version/s: 1.1 GA
    • Fix Version/s: 1.1.1
    • Component/s: Stream Module
    • Labels:
      None

      Description

      During testing for Spring XD for PivotalCF we create, deploy, use, undeploy and destroy many streams. Each stream generates tmp directories (I think 2, one for source, one for sink) in the xd-admin VM's /tmp directory, e.g.

      dummy-module4635787551932601017sinkredis
      dummy-module252960009195893204sourcehttp
      

      These tmp directories are not being cleared up, so our system has hit the inode limit of 32768 files for a volume:

      Filesystem     Inodes IUsed  IFree IUse% Mounted on
      /dev/loop0      32768 32768      0  100% /tmp
      

      This causes a Java IOException, the immediately relevant part of which appears to be:

      [Caught] exception while handling a request
      Feb 18 09:06:06 10.85.30.142-2 xd-admin-partition-default_az_guid-0:  [java.lang.RuntimeException] java.io.IOException: No space left on device
      Feb 18 09:06:06 10.85.30.142-2 xd-admin-partition-default_az_guid-0:  []    at org.springframework.xd.module.ModuleDefinitions.dummy(ModuleDefinitions.java:81)
      

      This causes the test system to fail entirely.

        Attachments

          Activity

            People

            Assignee:
            eric.bottard Eric Bottard
            Reporter:
            pharris Paul Harris
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: