Skip to main content
March 2, 2009
Question

FMS 3.5 quits streaming

  • March 2, 2009
  • 3 replies
  • 2917 views
We have been using Adobe Flash Media Streaming Server (version 3.0) since about August 2008, and after some initial firewall related problems got it to work quite well, although not very many viewers yet. In January 2009 we upgraded to version 3.5 as it includes a custom-built version of the Apache webserver, something we found required as some of our clients are behind such heavy firewalls that no streaming at all can be obtained, only progressive downloads. We yet haven't had time to update our own Flash playing software to utilize this feature but will soon.

In case it matters, our server is a Dell PE2950 w/ dual 2.33 GHz Quad-Core Xeon E5410, 4 GB RAM and CentOS 5.X (kernel 2.6.18).

Anyway, since the upgrade in January we've encountered (approximately) weekly stops in production. Often it happened during a weekend when nobody was in the office to check functionality. First time I thought it was a temporary failure so I just restarted the FMS server process. Second time I got curious as there was an older, standalone installation of Apache on the same server, although never started. My thought was that maybe some script was trying to start it up, causing a conflict with the FMS + Apache combo, resulting in the whole process getting into limbo. I removed the separate Apache install and crossed my fingers.

Now it has happened once or twice again, as late as Saturday afternoon. As we're using a few different versions of Flash players, both custom-developed and more standard ones, I checked that none was able to access the streaming server. I also observed the default HTTP page wouldn't load. However I logged in with ssh to the server and saw all the processes still appearing to run fine. I ran /var/init.d/fms restart and soon after the streaming and everything else was back to normal.

I have checked the logs: access, admin, core, edge, master but saw no reference of anything that could have gone bad. Neither a bad call from a user client nor something else. If the fmscore or fmsedge processes had crashed hard and no longer had been found, at least I would have something to look into.

Does anyone have an idea what my problem might be? As I wrote it worked fine with version 3.0 for several months and pretty much the same player applications. I might roll back to the older version but would rather not to. I could also set up a script that restarts the Flash Media Server once every night, in case there is some cache that gets full. I could also disable the Apache web server that comes with the software. However I'm afraid it may take a couple of days or possibly a week until I observe if something has happened. Perhaps I could simulate 10X the number of client calls, if that would be an issue.
    This topic has been closed for replies.

    3 replies

    Participant
    October 13, 2009

    Add following to fix-up hard wired compiled paths in the Apache binaries

    mkdir -p /home/ampbuild/depot/branches/FMS/vendors/x86rhel/Release
    cd /home/ampbuild/depot/branches/FMS/vendors/x86rhel/Release
    ln -s /opt/adobe/fms/Apache2.2 Apache2.2

    Assuming FMS is instaleld  /opt/adobe/fms.

    Participating Frequently
    March 3, 2009
    What is the observed behavior? Do connections seem to hang, eventually receiving a "NetConnection.Connect.Failed" status?

    If so, during this hang, if you check the sockets connected to your server, do you see that the socket connection is established?

    Do rtmpt connections work?

    Does telnet to the FMS port work?

    Can you get pstack traces of all the processes?
    March 6, 2009
    If or when it happens the next time, I will look up more technical details like socket use, stack traces etc. What I didn't mention in my previous post was that I found a few lone fms processes remaining from an earlier restart. I killed them earlier this week. Perhaps it cured the problem, but I can't say as long as the server keeps working.
    Inspiring
    June 9, 2009

    I appear to be having the same problem - was this ever sorted out / cause discovered?

    In my case it seems that Apache is crashing, although no logs are generated anywhere.

    Also a strange thing, when I run ./httpd -k restart I get this:

    httpd: Could not open configuration file /home/ampbuild/depot/branches/FMS/vendors/x86rhel/Release/Apache2.2/conf/httpd.conf: No such file or directory

    where the hell has that come from?!

    March 3, 2009
    Let me forward this thread to an FMS dev... hold tight.

    Jody