Results 1 to 4 of 4

Thread: EhCache - max elements stored on Disk

  1. #1

    Default EhCache - max elements stored on Disk

    Hi,

    I have been getting an EhCache error recently:
    [Store TradeCache Spool Thread] ERROR net.sf.ehcache.store.DiskStore (DiskStore.java:490) - TradeCacheCache: Could not write elements to disk cache
    java.io.IOException: No space left on device


    I am using Spring 1.2.8, which doesn't allow one to specify the maximum number of elements stored on disk for EhCache. Does anyone know what this is by default for EhCache with Spring 1.2.8?

    We have been having a few issues with this lately. I'm aware that the above error suggests that there was not enough space in the area where these overflow files are created.

    Many Thanks

  2. #2
    Join Date
    Aug 2006
    Location
    Now Germany, previously Ukraine
    Posts
    1,546

    Default

    It depends not on Spring version, but on ehCahe version. Older version of ehCache do not have this setting.

  3. #3

    Default

    Thanks al0,

    when other people have come across this issue has it been related to not enough disk space being available in the location where the cache overflow files are stored?

    Apparenly in the location we are storing the files there is sufficient space so I'm wondering if there might be some other issue.

    Many Thanks,

  4. #4
    Join Date
    Aug 2006
    Location
    Now Germany, previously Ukraine
    Posts
    1,546

    Default

    Is it possible that space quota exists?
    Quote Originally Posted by dreamer54 View Post
    Thanks al0,

    when other people have come across this issue has it been related to not enough disk space being available in the location where the cache overflow files are stored?

    Apparenly in the location we are storing the files there is sufficient space so I'm wondering if there might be some other issue.

    Many Thanks,

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •