Skip to main content
Participant
October 13, 2011
Question

FMIS used just for recording keeps getting "The FLV segment cache is full."

  • October 13, 2011
  • 1 reply
  • 3162 views

Hello,

We're using FMIS 4.5 exclusively for recording streams from webcams via RTMP. We don't have a lot of load currently, maybe a couple hundred videos being recorded every day. Every 1 or 2 days the FMS starts logging "The FLV segment cache is full" and refuses to record anymore until a restart. I've adjusted the cache setting to the max for Linux:

SERVER.FLVCACHE_MAXSIZE=3000

I suspect that it's putting everything recorded into the cache, and refuses to record anymore when the cache is full. Why is it doing this? The files are written to disk, why won't the data be evicted from the cache? Am I misunderstanding what's happening?

Thanks for your help.

    This topic has been closed for replies.

    1 reply

    zwilyAuthor
    Participant
    October 16, 2011

    I started monitoring the cache using the API call getFileCacheStats. Once "bytes" hit the FLVCACHE_MAXSIZE, we started getting "The FLV segment cache is full" in the log again, and recording was broken. bytes_inuse was still tiny. It looks like the cache just fills up and never evicts anything.

    What do I do to remedy this? Restarting the FMS every couple days seems like a bad solution.

    Adobe Employee
    October 17, 2011

    The message you are getting is expected when FLV Cache gets full but problem if i put correctly for you is why does it gets full.

    How much RAM do you machine has? I am asking you this question because you happen to mention 3000 is maximum setting - which is not true until unless its your hardware limitation. It was limitation in past when FMS was only 32-bit. So if your machine has more RAM - can you try higher setting and see if error goes away.

    Secondly - whats your traffic like - you just happen to mention about publishing traffic and didnt mention anything how many clients are subscribing?

    See this thread: http://forums.adobe.com/message/3863804 - check if its same concurrent connections problem

    Known Participant
    March 11, 2014

    Hello,

    we are having the same issue with our FMS server 4.5.2 on Windows 2008 R2 64bits. Have you found a solution to this problem?


    We're having this same issue using 5.0.3. Three years later, and still no fix.