Skip to main content
Participant
April 18, 2012
Question

large files occupying storage with code error:Metadata not available before the flush of first segme

  • April 18, 2012
  • 1 reply
  • 911 views

hi there,

im using FMS4.5.1 on redhat, and the storage is NAS-NFS.

lately i've came into an issue, that when i recording f4v from rtmp stream it turns out like that the rtmp stream's not stable and interrupted fron time to time. Sometimes the subject of the stream just recoed an error as below:

2012-04-18 00:01:16 5046 (e)2611423 Failed to record tss/xpw85wp/1334678400000/svideo0.f4v (disk quota exceeded). -

2012-04-18 00:01:17 5046 (w)2611428 Failed to record post context message for tss/xpw85wp/1334678400000/svideo0.f4v. -

#Date: 2012-04-18

#Fields: date time x-pid x-status x-ctx x-comment

2012-04-18 00:04:21 25831 (e)2611423 Failed to record tss/3BPqvl5/1334678400000/svideo0.f4v (disk quota exceeded). -

#Date: 2012-04-18

#Fields: date time x-pid x-status x-ctx x-comment

2012-04-18 00:04:48 25842 (e)2611423 Failed to record tss/thfDjK5/1334678400000/svideo0.f4v (disk quota exceeded). -

#Date: 2012-04-18

#Fields: date time x-pid x-status x-ctx x-comment

2012-04-18 00:04:59 25847 (e)2611423 Failed to record tss/9ww9YEk/1334678400000/svideo0.f4v (disk quota exceeded). -

#Date: 2012-04-18

#Fields: date time x-pid x-status x-ctx x-comment

2012-04-18 00:04:59 25848 (e)2611423 Failed to record tss/ZqQL6RP/1334678400000/svideo0.f4v (disk quota exceeded). -

2012-04-18 00:05:00 25850 (i)2611173 Metadata not available before the flush of first segment. Default metadata recorded for stream /data/TSS/iunfeHF/1334678400000/svideo0.f4v -

2012-04-18 00:05:00 25834 (e)2611423 Failed to record tss/rd6s5B7/1334678400000/svideo1.f4v (disk quota exceeded). -

2012-04-18 00:05:00 25851 (i)2611173 Metadata not available before the flush of first segment. Default metadata recorded for stream /data/TSS/LlpXk97/1334678400000/svideo0.f4v -

then it stopped recording but creating a large file in the storage, which fulfill my storage in a really short time and cause its alert.

Is there anything i can try to make these large files stop being created and growing? thanks for any idea about that.

    This topic has been closed for replies.

    1 reply

    Adobe Employee
    April 18, 2012

    There are several things you can do:

    1. Please refer to  - http://help.adobe.com/en_US/flashmediaserver/devguide/WS236AE81A-5319-4327-9E44-310A93CA09C6Dev.html#WSFD59B883-5453-4aeb-B37B-DFB1AE0F8536Dev  - Limiting the size and Duration of Recording portion.
    2. You may like to use the rolling window option available for DVR if you are doing HDS - http://help.adobe.com/en_US/OSMF/1.0/Dev/WSc6f922f643dd2e6d-52f690561323a97bbbd-7fff.html
    3. If you are using rtmp and dvrcast application () is being used, it will create the raw format, then you can write a script that will keep the files required to show lets say only last 10 minutes from the current duration, and remove everything older than that duration. Keep invoking this script in every 2 or 5 minutes.
    4. You may like to lower the audio/video bitrate so that it slowly fills the disk space.

    Let me know if it helps you or need more info on this topic.

    Regards,

    Shiraz Anwar

    Kut_LeeAuthor
    Participant
    April 20, 2012

    hi Shiraz, thanks for your quick reply. i've tried what you mentioned before i posted my question here. but thank you all the same. still looking for the sulotion and any idea is welcomed. thank you every much.