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

Multiple instances of one app of the same name

New Here ,
Feb 12, 2014 Feb 12, 2014

Copy link to clipboard

Copied

Hello,

we have few FMS/AMS servers, versions 4, 4.5 and 5, running some kind of internet TV tubes on them.

Each tube is supposed to run as unique instance of a Tube app, with unique settings for publishing to CDN (Akamai).

Sometimes following scenario happens: We reload the stream via administration console or administration API with use of reloadApp command, instance starts closing sequence, even triggers onAppStop event. But as the new instance starts, the old process wakes up again and lives together with the new one - when I check then throught administration API with use of getActiveInstances command, it shows me more instance of the same name as result - for example:

-<data>

<_0>tv_app/tube25</_0>

<_1>tv_app/tube2</_1>

<_2>tv_app/tube21</_2>

<_3>tv_app/tube2</_3>

<_4>tv_app/tube2</_4>

</data>

From logs I can see that each of that instances runs under different process ID (x pid column).

This is quite unpreffered behaviour, as with the same connection settings the multiple instances steals the connection to CDN entry point from each other which causes problems and unpredictable behaviour...

I have following questions related to this:

1. - Why the onAppStop is triggered when using reloadApp and unloadApp commands or buttons in admin console, when documentation says that this event should not be triggered on these ocassions (see http://help.adobe.com/en_US/adobemediaserver/ssaslr/WS5b3ccc516d4fbf351e63e3d11a11afc95e-7edfSSASLR....)

2. - How is it possible that system runs more instances of the same app with the same name? How to avoid such behaviour?

I already noticed following aspects to have influence on the possibility to run multiple instance with the same name and got rid of them but problem still persists:

- case sensivity of app name (one client connects to TV_app/tube2 and other connects to tv_app/tube2)

- using false as return value in onAppStop event handler - when reloaded, new instance is started but the old one persists

I am very eager to hear some explanation or clarification of such logic as it comes to me as some kind of internal bug as I have found everywhere that the instances names should be always unique....

Thanks

Views

538

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
New Here ,
Feb 20, 2014 Feb 20, 2014

Copy link to clipboard

Copied

LATEST

I just want to note that my recommendations led my clients to purchase more than 5 licences of FMIS/AMIS througt the time.

As I see how low is the passion to react to any problem on Adobe side, I would have probably changed my mind.

This is really pain in the ass as any call to adobe official contact (taken on mind that to find one is a big quest by itself) lead just to reply "pay nasty amount for our consultancy Sir!" and it does not look any better here....

I am no novice on FMS/AMS platform, working with it more than 6 years throught many projects and I would not ask for some stupid questions which could be solved just by looking to documentation or could be solved by some performance eperience.

I am really upset for this 😕

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