• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

FMS 4.5 livepkgr application crashes Linux server by using all memory

Explorer ,
Feb 18, 2014 Feb 18, 2014

Copy link to clipboard

Copied

We are running FMS 4.5.7 with standard livepkgr application for live RTMP and HLS streaming (HDS module disabled). For some reason after about 30 minutes httpd process starts using more and more system memory and in about a minute or so it crashes the server because it drains memory completely. It doesn't matter how many users are connected to the stream. What I noticed is that if there is no HLS users (or HLS is disabled) everything is fine, however it is enough to connect at least one HLS user to the server after 30 minutes and the memory usage starts rising. If the user connects into 0-30 minute window it works.

I have tried to play with stream recording options in Event.xml for that stream but it didn't help. I have tried to record into one file and into segments.

Our server has 32GB of RAM.

We have modified Apache configuration file to Sandbox HLS streams at instance level, but it should not be a problem, shouldn't it?

<Location /hls-live>
    HLSHttpStreamingEnabled true
    HttpStreamingLiveEventPath "../applications/livepkgr/events/_definst_"
    HttpStreamingURLSandboxLevel "Inst"
    HttpStreamingContentPath "../applications"
    HLSMediaFileDuration 8000
    HLSSlidingWindowLength 6
    HLSFmsDirPath ".."
    HLSM3U8MaxAge 2
    HLSTSSegmentMaxAge -1
    HLSMaxEventAge 300
    HttpStreamingUnavailableResponseCode 503

    Options -Indexes FollowSymLinks
</Location>

P.S. We also run vod application in parallel for vod RTMP and HLS streaming. Both HLS and RTMP for VOD works just fine.

Views

556

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Explorer , Feb 22, 2014 Feb 22, 2014

After two weeks I finally solved this.

To anyone struggling with similar issue make sure you have the licence serial loaded AND the server fully restarted. At least on Linux restarting the server through Flash Media Administrator Console leave some zombie processes running which blocks loading the licence correctly. Restart whole OS instead.

Votes

Translate

Translate
Explorer ,
Feb 22, 2014 Feb 22, 2014

Copy link to clipboard

Copied

LATEST

After two weeks I finally solved this.

To anyone struggling with similar issue make sure you have the licence serial loaded AND the server fully restarted. At least on Linux restarting the server through Flash Media Administrator Console leave some zombie processes running which blocks loading the licence correctly. Restart whole OS instead.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines