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

Bundled Apache stops receiving requests

Participant ,
Jun 10, 2009 Jun 10, 2009

Copy link to clipboard

Copied

Ok, I think I'm getting closer to the source of my problem.

Let me outline my setup first (I'm using private IPs for example only). I have set two IP addresses to one network adaptor as follows:

CentOS 5.3 server running Apache 2.2.3 on eth0 with IP 192.168.0.78 <- working fine absolutely no problems at all

FMS 3.5.2 running Apache bundled with FMS on eth0:2 with IP 192.168.0.79

In fms.ini I have the following config:

ADAPTOR.HOSTPORT = 192.168.0.79:1935,80

HTTPPROXY.HOST = 192.168.0.79:8134

At (apparently) random times, the FMS Apache stops serving requests, but does not crash, and for some reason blocks requests to RTMP at the same time. Nothing appears in the log files which makes this even more tricky.

I've run a test by shutting down apache as follows:

./httpd -f ./conf/httpd.conf -d "/opt/adobe/fms/Apache2.2" -k stop

and I expected RTMP to stop working aswell, however it continued serving up RTMP, which has led me to believe that something is then stalling the serving up of RTMP requests. This results in total downtime of all applications, so is pretty critical!

Any help would be massively appreciated,

Thanks,

Paul

Views

11.7K

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
Explorer ,
Jun 10, 2009 Jun 10, 2009

Copy link to clipboard

Copied

This is an odd one. Can you give a little more information?

First, RTMP is a connected streaming protocol, not a request-response protocol like HTTP, so trying to talk about it in HTTP-like terms can get confusing. It's probably my fault for not understanding you,so please bear with me.

  1. When you say that FMS "blocks requests to RTMP at the same time," do you mean:
          1. Already-connected and already-streaming clients stop streaming?
          2. Existing streams work, but commands like play, pause, etc. on existing connections stop working?
          3. Existing connections work fine, but new connections aren't accepted?
          4. Something different?
        1. If you use RTMPT instead of RTMP, is it the same, or different?
        2. Does it matter whether you connect to port 1935 or port 80 with RTMP?
        3. If you make an HTTP connection directly to port 8134, does it work? (assuming your firewall allows this--if not, try using links from a local console)
        4. Does everything recover like magic at some point, or does it stay broken until you restart the FMS service?
          1. If it does recover, how long does it take?
        5. Are you anywhere near running out of swap space when this happens?
        6. Is any process anywhere near 3GB of virtual memory size when this happens?

        Also, this part confuses me:

        > I've run a test by shutting down apache as follows:

        >

        > ./httpd -f ./conf/httpd.conf -d "/opt/adobe/fms/Apache2.2" -k stop

        >

        > and I expected RTMP to stop working aswell, however it continued serving up RTMP,

        Why did you expect RTMP to stop working when you did this?

        I know that this isn't explained in great detail, but FMS is acting as a proxy for Apache, not the other way around. So, if Apache isn't working, the worst-case scenario is that HTTP requests (except for RTMPT tunneling and a few other special cases) hang, timeout, or return errors; RTMP won't be affected at all. But if FMS isn't working, nothing will work.

        To get a little lower level: The process fmsedge does all of the listening for everyone else. For HTTP, it proxies to Apache. For RTMPT, it proxies to fmscore (which does the actual streaming) and wraps it up in an HTTP tunnel. For RTMP, it hands the connection off to fmscore and gets out of the way.

        So, if fmsedge were to hang for some reason, what you'd see is:

        • Existing RTMP connections work--streams keep streaming, commands keep working, etc.
        • Existing RTMPT connections freeze up.
        • Existing HTTP connections freeze up.
        • New connections of any kind time out.

        If fmsedge were to crash, it would get restarted--but, during the time it takes to restart it, you'd see the same symptoms as with a hung fmsedge (except that maybe you'd get faster rejected connections/errors/timeouts), but then everything would recover.

        > Nothing appears in the log files which makes this even more tricky.

        Are you sure there's nothing weird in the master and edge logs? I know people normally only look at core (and access and application logs), but if the edge is the problem, there won't be anything there.

        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
        Participant ,
        Jun 11, 2009 Jun 11, 2009

        Copy link to clipboard

        Copied

        Hi, and much appreciate the response.

        1. As it appears to be happening at random, I can't say exactly *when* the server stops serving requests. When the server does stop serving requests, you cannot connect to RTMP instances, and the FMS HTTP server doesn't serve anything either ( in fact it never times out, just get a blank screen), so both appear to be hung, and don't get restarted.

        Looking through the master logs this is twhat it contains (i've snipped it down, but there are quite a few of these):

        2009-06-10     18:10:18     2540     (i)2581221     Core (5229) started, arguments : -adaptor "_defaultRoot_" -vhost  -app  -inst  -tag  -console  -conf "/opt/adobe/fms/conf/Server.xml" -name "_defaultRoot_::::".     -
        2009-06-10     18:50:41     2540     (i)2581223     Core (5229) is no longer active.     -
        2009-06-10     22:27:36     2540     (i)2581221     Core (25380) started, arguments : -adaptor "_defaultRoot_" -vhost  -app  -inst  -tag  -console  -conf "/opt/adobe/fms/conf/Server.xml" -name "_defaultRoot_::::".     -
        2009-06-10     22:52:46     2540     (i)2581223     Core (25380) is no longer active.     -

        And this is from core log:

        2009-06-10     18:50:19     2563     (i)2581250     Edge disconnected from core (5229).     -
        2009-06-10     22:27:36     2563     (i)2581252     Registering core (25380).     -
        2009-06-10     22:52:37     2563     (i)2581250     Edge disconnected from core (25380).     -

        To me, nothing looks like its crashing, but then I might just be reading it wrong.

        2. Havent tried - but will do when it stops working again

        3. No

        4. Havent tried - but will do when it stops working again

        5. No, stays broken until service is restarted

        6. Not as far as I know, however is there a minimum swap space required? The sevrer has 8GB ram installed.

        7. No

        As for restarting the httpd service, I was mistaken. My troubleshooting took me in that direction as this problem only arised *after* I had reinstalled FMS with Apache (previously I had opted to not install and everything ran fine). So I assumed that because Apache was crashing, this was affecting FMS somehow. However FMS is definitely not crashing - this is what is confusing me the most. Even after the streams are inaccessible, I can still connect to the server using the admin console!

        Thanks,

        Paul

        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
        Explorer ,
        Jun 11, 2009 Jun 11, 2009

        Copy link to clipboard

        Copied

        aSiNe wrote:

        Hi, and much appreciate the response.

        1. As it appears to be happening at random, I can't say exactly *when* the server stops serving requests. When the server does stop serving requests, you cannot connect to RTMP instances, and the FMS HTTP server doesn't serve anything either ( in fact it never times out, just get a blank screen), so both appear to be hung, and don't get restarted.

        The edge going down--even if the cores and apache were running--would cause exactly that. There's nothing wrong with apache, so it doesn't get restarted; there's nothing wrong with the cores, so they don't get restarted (although eventually they will quit because all of their apps are unused--which you may be seeing in the logs); the only problem is that they're not getting connections proxied or migrated to them because there's no (working) edge to give them any.

        The most useful thing would be to verify that this is what's happening. If you can leave a client connected for a long time, ideally playing some stream on repeating loop, then the next time FMS stops accepting new connections, you can see if the existing client is still playing. If so, that means the edge is down but the core is still running; if not, that means something else is wrong.

        Here are some more things to try next time it happens:

        • nc localhost 80, type a few lines of random garbage, and see whether it fails to connect, hangs and ignores everything you type, disconnects you (immediately, after the first line, or otherwise), or sends back random garbage of its own.
        • ps -C fmsedge, to see if the edge is still running.
        • killall -6 fmsedge, which should kill the (apparently-hung) edge and get a core dump that someone on the FMS team can look at. (You may have to put "ulimit -c unlimited" in the server script, or otherwise change your settings.
        Also, after killing the edge, see if it comes back up automatically. (There should also be stuff in the logs about that happening.)

        To me, nothing looks like its crashing, but then I might just be reading it wrong.

        No, that looks accurate. The only thing you're seeing is cores quitting normally, either because of inactivity or because their edges have gone down or stopped responding. (Unfortunately, there's no way to distinguish between these cases from the core log.)

        6. Not as far as I know, however is there a minimum swap space required? The sevrer has 8GB ram installed.

        There's no specific minimum; you just have to have "enough" that you don't run out. On one extreme, I have FMS running on a VM with 512MB total RAM+swap; it can serve one or two clients without any problems. On the other extreme, someone reported using 128GB of RAM+swap to run 100 core processes doing who knows what.

        With default settings and a moderate load, I think 8GB and minimal swap should be more than enough. But if you want to make sure, run "cat /proc/meminfo" (or your favorite tool for the same purpose) and see how much MemFree + SwapFree is. If it never gets anywhere near 0, you don't have to worry.

        As for restarting the httpd service, I was mistaken. My troubleshooting took me in that direction as this problem only arised *after* I had reinstalled FMS with Apache (previously I had opted to not install and everything ran fine). So I assumed that because Apache was crashing, this was affecting FMS somehow. However FMS is definitely not crashing - this is what is confusing me the most. Even after the streams are inaccessible, I can still connect to the server using the admin console!

        Well, the admin is handled by another process (fmsadmin), which runs almost completely independently of the rest of FMS (so it can be used to detect problems, start and stop apps, etc.). So, I wouldn't expect that to stop working.

        Unfortunately, the admin is mainly there to administer the core processes (which do all the work) and the master (which is used to control the whole set of processes); the edge is supposed to be a lightweight and simple proxy that doesn't need much administration, so the admin server barely talks to it. Except, of course, when the edge isn't working, as seems to be happening for you.

        I realize this is confusing. Let me try to break it down:

        • RTMP on 1935 or 80: Connects to the edge, which then finds a core process to hand the connection to and then gets out of the way.
        • RTMPT on 80: Connects to the edge, which then finds a core process and tunnels the connection for you.
        • HTTP on 80: Connects to the edge, which then finds a webserver and proxies the connection for you.
        • Admin on 1111: Connects to the admin, which does everything internally.

        So, a hung edge would mean no new RTMP connections, but existing ones work fine; RTMPT and HTTP are hosed; admin is unaffected.
        Anyway, thanks for gathering all of this information; it'll be very helpful in tracking down the bug and fixing it.

        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
        Participant ,
        Jun 12, 2009 Jun 12, 2009

        Copy link to clipboard

        Copied

        Nothing appears to happen with this:

        [root@server1]# nc localhost 80 kljbgfffffffffffffffffffffffffffflfdkbkldbkldfmbgkldfmblkdfgmblkdfgmbkldfmgblkdfmgblkmdfgbklmdfbkfbmdflbmdfklbgmdlfbmflkbmdfbg

        [root@ns205788]#

        fmsedge is up and running:
        [root@server1]# ps -C fmsedge
          PID TTY          TIME CMD
        2563 ?        00:00:31 fmsedge
        2657 ?        00:00:27 fmsedge
        4315 ?        00:00:21 fmsedge
        9832 ?        00:00:35 fmsedge
        29111 ?        00:00:23 fmsedge
        This has killed the fmsedge services, and the server instantly cam back up.
        [root@server1]# killall -6 fmsedge
        In fact the video I was trying to play, which was just hanging, started to play immediately.
        output from core.log:
        2009-06-11     18:20:51     27376     (i)2581247     Core (27376) disconnected from edge.     -
        2009-06-11     18:20:56     27376     (i)2581233     Core (27376) disconnecting from admin: 200.     -
        2009-06-11     18:20:56     27376     (i)2581233     Core (27376) disconnecting from admin: 200.     -
        #End-Date: 2009-06-12 09:33:54
        
        #Version: 1.0
        #Start-Date: 2009-06-12 09:33:54
        #Software: Adobe Flash Media Server 3.5.2 r654
        #Date: 2009-06-12
        #Fields: date     time     x-pid     x-status     x-ctx     x-comment
        2009-06-12     09:33:50     2660     (i)2581247     Core (2660) disconnected from edge.     -
        #Date: 2009-06-12
        #Fields: date     time     x-pid     x-status     x-ctx     x-comment
        2009-06-12     09:33:56     1499     (i)2581237     Starting admin app on core (1499).     -
        2009-06-12     09:33:56     1499     (i)2581238     Core (1499) connecting to admin.     -
        2009-06-12     09:33:56     1499     (i)2581231     Core (1499) connected to admin.     -
        2009-06-12     09:33:56     1499     (i)2581234     Core (1499) connection to admin accepted.     -
        2009-06-12     09:33:56     1499     (i)2581237     Starting admin app on core (1499).     -
        2009-06-12     09:33:56     1499     (i)2581238     Core (1499) connecting to admin.     -
        2009-06-12     09:33:56     1499     (i)2581231     Core (1499) connected to admin.     -
        2009-06-12     09:33:56     1499     (i)2581234     Core (1499) connection to admin accepted.     -
        2009-06-12     09:33:56     1499     (i)2581246     Core (1499) sending register cmd to edge.     -
        2009-06-12     09:33:56     2660     (i)2581246     Core (2660) sending register cmd to edge.     -

        Output from master.log:


        2009-06-11     16:10:49     2634     (i)2581223     Core (20593) is no longer active.     -
        2009-06-11     1
        
        6:25:49     2634     (i)2581221     Core (27376) started, arguments : -adaptor "_defaultRoot_" -vhost  -app  -inst  -tag  -console  -conf "/opt/adobe/fms/conf/Server.xml" -name "_defaultRoot_::::".     -
        2009-06-11     18:21:09     2634     (i)2581223     Core (27376) is no longer active.     -
        #End-Date: 2009-06-12 09:33:58

        #Version: 1.0
        #Start-Date: 2009-06-12 09:33:58
        #Software: Adobe Flash Media Server 3.5.2 r654
        #Date: 2009-06-12
        #Fields: date     time     x-pid     x-status     x-ctx     x-comment
        2009-06-12     09:33:54     2634     (i)2581226     Edge (2657) is no longer active.     -
        2009-06-12     09:33:54     2634     (w)2581255     Edge (2657) _defaultRoot__edge1 experienced 1 failure!     -
        2009-06-12     09:33:54     2634     (i)2581224     Edge (1444) started, arguments : -edgeports "192.168.0.79:1935,80" -coreports "localhost:19350" -conf "/opt/adobe/fms/conf/Server.xml" -adaptor "_defaultRoot_" -name "_defaultRoot__edge1".     -
        2009-06-12     09:33:56     2634     (i)2581221     Core (1499) started, arguments : -adaptor "_defaultRoot_" -vhost  -app  -inst  -tag  -console  -conf "/opt/adobe/fms/conf/Server.xml" -name "_defaultRoot_::::".     -
        
        Output from edge.log:
        2009-06-11     16:10:33     2657     (i)2581250     Edge disconnected from core (20593).     -
        2009-06-11     16:25:49     2657     (i)2581252     Registering core (27376).     -
        2009-06-11     18:20:51     2657     (i)2581250     Edge disconnected from core (27376).     -
        #End-Date: 2009-06-12 09:33:59
        

        #Version: 1.0

        #Start-Date: 2009-06-12 09:33:59
        #Software: Adobe Flash Media Server 3.5.2 r654
        #Date: 2009-06-12
        #Fields: date     time     x-pid     x-status     x-ctx     x-comment
        2009-06-12     09:33:54     1444     (i)2581173     Host: www.host.com IPv4: 192.168.0.78     -
        2009-06-12     09:33:54     1444     (i)2631174     Listener started ( _defaultRoot__edge1 ) : localhost:19350/v4     - 2009-06-12     09:33:55     1444     (i)2631174     Listener started ( _defaultRoot__edge1 ) : 192.168.0.79:80/v4     -
        2009-06-12     09:33:55     1444     (i)2631174     Listener started ( _defaultRoot__edge1 ) : 192.168.0.79:1935/v4     -
        2009-06-12     09:33:56     1444     (i)2581252     Registering core (1499).     - 2009-06-12     09:33:56     1444     (i)2581252     Registering core (2660).     -

        from /var/log/messages:

        Jun 12 09:33:50 ns205788 kernel: grsec: From 12.34.56.78: signal 6 sent to /opt/adobe/fms/fmsedge[fmsedge:2563] uid/euid:99/99 gid/egid:0/0, parent /sbin/init[init:1] uid/euid:0/0 gid/egid:0/0 by /usr/bin/killall[killall:1443] uid/euid:0/0 gid/egid:0/0, parent /bin/bash[bash:1416] uid/euid:0/0 gid/egid:0/0
        Jun 12 09:33:50 ns205788 kernel: grsec: From 12.34.56.78: signal 6 sent to /opt/adobe/fms/fmsedge[fmsedge:2657] uid/euid:99/99 gid/egid:0/0, parent /opt/adobe/fms/fmsmaster[fmsmaster:2634] uid/euid:0/0 gid/egid:0/0 by /usr/bin/killall[killall:1443] uid/euid:0/0 gid/egid:0/0, parent /bin/bash[bash:1416] uid/euid:0/0 gid/egid:0/0
        Jun 12 09:33:50 ns205788 kernel: grsec: From 12.34.56.78: signal 6 sent to /opt/adobe/fms/fmsedge[fmsedge:4315] uid/euid:99/99 gid/egid:0/0, parent /sbin/init[init:1] uid/euid:0/0 gid/egid:0/0 by /usr/bin/killall[killall:1443] uid/euid:0/0 gid/egid:0/0, parent /bin/bash[bash:1416] uid/euid:0/0 gid/egid:0/0
        Jun 12 09:33:50 ns205788 kernel: grsec: From 12.34.56.78: signal 6 sent to /opt/adobe/fms/fmsedge[fmsedge:9832] uid/euid:99/99 gid/egid:0/0, parent /sbin/init[init:1] uid/euid:0/0 gid/egid:0/0 by /usr/bin/killall[killall:1443] uid/euid:0/0 gid/egid:0/0, parent /bin/bash[bash:1416] uid/euid:0/0 gid/egid:0/0
        Jun 12 09:33:50 ns205788 kernel: grsec: From 12.34.56.78: signal 6 sent to /opt/adobe/fms/fmsedge[fmsedge:29111] uid/euid:99/99 gid/egid:0/0, parent /sbin/init[init:1] uid/euid:0/0 gid/egid:0/0 by /usr/bin/killall[killall:1443] uid/euid:0/0 gid/egid:0/0, parent /bin/bash[bash:1416] uid/euid:0/0 gid/egid:0/0
        Jun 12 09:33:54 ns205788 Adaptor[1444]: Listener started ( _defaultRoot__edge1 ) : localhost:19350/v4 Jun 12 09:33:55 ns205788 Adaptor[1444]: Listener started ( _defaultRoot__edge1 ) : 192.168.0.79:80/v4
        Jun 12 09:33:55 ns205788 Adaptor[1444]: Listener started ( _defaultRoot__edge1 ) : 192.168.0.79:1935/v4
        I will set up an infintely looping f4v and see if it is still connected tomorrow.
        How exactly do I get a core dump to give you?

        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
        Explorer ,
        Jun 12, 2009 Jun 12, 2009

        Copy link to clipboard

        Copied

        aSiNe wrote:

        Nothing appears to happen with this:

        [root@server1]# nc localhost 80 kljbgfffffffffffffffffffffffffffflfdkbkldbkldfmbgkldfmblkdfgmblkdfgmbkldfmgblkd fmgblkmdfgbklmdfbkfbmdflbmdfklbgmdlfbmflkbmdfbg

        [root@ns205788]#

        That means the socket is still open, but the edge isn't responding, as expected.

        fmsedge is up and running:
        [root@server1]# ps -C fmsedge
          PID TTY          TIME CMD
        2563 ?        00:00:31 fmsedge
        2657 ?        00:00:27 fmsedge
        4315 ?        00:00:21 fmsedge
        9832 ?        00:00:35 fmsedge
        29111 ?        00:00:23 fmsedge

        Do you have 5 adaptors configured? If not, this might be part of the problem--FMS detects that the edge isn't listening and starts a new one, but the old one is still sitting there taking connections and doing nothing with them.

        If you do have 5 adaptors, it's probably worth checking whether all 5 of them hang at once, or whether it's just one.

        This has killed the fmsedge services, and the server instantly cam back up.
        [root@server1]# killall -6 fmsedge
        In fact the video I was trying to play, which was just hanging, started to play immediately.

        Hmmm.... I think the Player tries to connect to 1935, then falls back to 80 if that fails. So, if it connected to 1935, was in the middle of handshaking and waiting forever to finish, and then the socket suddenly dropped, it might connect to 80--which the new edge would handle perfectly, so the Player would connect, handshake, get sent to the right core, and start playing the video.

        Regardless, I think we've established now that the problem is the edge hanging and not responding to new connections, and possibly a secondary problem with FMS's attempts to automatically recover from this state, so at this point we need to get a bug filed and get someone in direct contact with you, instead of you and me trying to deal with this through the forums. (Of course if some lurker happens to have the exact same bug, I'd love to hear about it here.)

        I will set up an infintely looping f4v and see if it is still connected tomorrow.
        How exactly do I get a core dump to give you?

        If you didn't get dumps with names like core.2563, core.2657, etc. (or core.fmsedge.2563, or core.2563.20090612T093350, or some similar variation), probably in the /opt/adobe/fms directory, you must have core dumps disabled. Unless you want to learn more about administering your particular linux distro than you probably need to know, the best way around this is to enable them locally in the FMS startup script (either /opt/adobe/fms/server or /etc/rc.d/init.d/fms, depending on how you run it).

        Add this command at the top of the start() command:

        ulimit -c unlimited
        

        Then restart FMS, verify that killall -6 fmsedge produces dump files (these won't be useful, so you can throw them away), restart FMS again, and next time it hangs, the killall should give you useful dumps.

        Once you have them, if you can host them on a webserver and send the URL to abarnert COMMERCIALATSIGN adobe PERIOD com, I can get someone in support to download them and file a bug for you, and then whoever picks up the bug can get in touch with you.

        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
        Participant ,
        Jun 15, 2009 Jun 15, 2009

        Copy link to clipboard

        Copied

        There is only 1 adaptor configured. Is there something that I should test here?

        I'm having trouble getting the core dumps to happen - I've added 'ulimit -c unlimited' to the top of the startup() function, restarted and tested killall -6 fmsedge but no core dumps are created.

        If file a bug report, I can also allow remote access to the server if required, my timezone is GMT +1 if a remote session is needed.

        Thanks for all the help.

        Paul

        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
        Adobe Employee ,
        Jun 24, 2009 Jun 24, 2009

        Copy link to clipboard

        Copied

        hey aSINe.

        Andy sent the bug report to the escalations team for FMS.  We'll be happy to work with you on the issue.  Can you do the following

        Email me directly so that we can open a line of contact : awhilloc at adobe.com (written this way to prevent bots mailing)

        Also, you should be able to generate your hang dump of the fmsedge if you run as root, try changing your UID and GID to 0 in your fms.ini - as that should give you the necessary permissions to create the hang dump.

        Asa

        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
        New Here ,
        Jul 15, 2009 Jul 15, 2009

        Copy link to clipboard

        Copied

        Hi,

        I'm experiencing exactly the same problem with FMS Streaming 3.5.0 r405 on linux. This post describes my configuration Proxying from FMS to HTTP stops working after a few hours

        Has Adobe support found a solution to that bug?

        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
        Adobe Employee ,
        Jul 15, 2009 Jul 15, 2009

        Copy link to clipboard

        Copied

        We're aware of that issue and I noted to the other developer who originally built this feature that we've seen more than one of these. Right now we're working with them to resolve it. It's not as of yet understood, but it's certainly not just you.

        Asa

        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
        New Here ,
        Jul 15, 2009 Jul 15, 2009

        Copy link to clipboard

        Copied

        Thanks for the update. At least, one feels better when not alone with a problem... Is it possible to follow the progress of the bug ticket?

        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
        Adobe Employee ,
        Jul 16, 2009 Jul 16, 2009

        Copy link to clipboard

        Copied

        Alas not really. I've been working on getting a public bugsystem up for you guys to look at, but it's less pressing than getting the bugs in general investigated. Feel free to ping me on it. Currently I got a new core dump today from them to look at, and we should have an idea if it has anything useful in it. I may turn to you for information, but in the meanwhile just ping me on it. I usually slice off time on Fridays to work on this and other license customer issues.

        Asa

        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
        New Here ,
        Jul 20, 2009 Jul 20, 2009

        Copy link to clipboard

        Copied

        If you need some fmsedge core dumps, I can try to set one of my servers to produce them.

        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
        Adobe Employee ,
        Jul 20, 2009 Jul 20, 2009

        Copy link to clipboard

        Copied

        I'm ok for now. I'll let you know if the present one that I have yields anything/nothing.

        Asa

        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
        New Here ,
        Aug 11, 2009 Aug 11, 2009

        Copy link to clipboard

        Copied

        Hi Asa,

        Do you have an update on this problem. We have an iPhone application desesperately needing this feature to offer films viewing on the iPhone. If we can't use the FMS proxy, we will need to change our servers architecture and will lose RTMPT support, which is a bad thing for our client who use a strict firewall...

        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
        Adobe Employee ,
        Aug 11, 2009 Aug 11, 2009

        Copy link to clipboard

        Copied

        Hmm, my post got lost again.

        I actually emailed to say , 'yes, our other customer's hang dumps of FMSEdge didn't manage to work'. If possible I'd love if you could generate a core for one in this state and send it to me/put it on a link that I can download from.

        Asa

        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
        New Here ,
        Aug 14, 2009 Aug 14, 2009

        Copy link to clipboard

        Copied

        Hi Asa,

        I've sent you an email with the address of a core dump we just captured. I hope it will help solve this problem...

        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
        New Here ,
        Aug 19, 2009 Aug 19, 2009

        Copy link to clipboard

        Copied

        We are experiencing the same problem as well, but we are not running the bundled version of apache. However, I am using the httpd.conf file that came with the bundle and apache continues to respond - bypass fmis by appending port to URL - even when fmis stops forwarding http requests.

        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
        New Here ,
        Aug 24, 2009 Aug 24, 2009

        Copy link to clipboard

        Copied

        Hi jhttp://forums.adobe.com/people/j_strimpel_strimpel,

        Could you check that the libasneu.so.1 library is correctly loaded by fmsedge ("ldd fmsedge")?

        Thanks

        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
        New Here ,
        Aug 24, 2009 Aug 24, 2009

        Copy link to clipboard

        Copied

        pmetras,

        Below is the output from ldd fmsedge...

        linux-gate.so.1 =>  (0x00a72000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x007bd000)
        libasneu.so.1 => not found
        librt.so.1 => /lib/librt.so.1 (0x007eb000)
        libdl.so.2 => /lib/libdl.so.2 (0x007b7000)
        libcap.so.1 => /lib/libcap.so.1 (0x00d5e000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x041d6000)
        libm.so.6 => /lib/libm.so.6 (0x0078e000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x041c8000)
        libc.so.6 => /lib/libc.so.6 (0x00648000

        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
        Explorer ,
        Aug 24, 2009 Aug 24, 2009

        Copy link to clipboard

        Copied

        j_strimpel:

        libasneu.so.1 => not found

        This is actually normal. In FMS 3.5, fmsedge finds libasneu.so.1 through the LD_LIBRARY_PATH variable set by the startup script. If you just run fmsedge directly (or ldd it) without setting this, it will fail to find libasneu.

        We are considering changing this to embed an $ORIGIN-based path in the ELF headers, which will allow people to write startup scripts without having to figure out LD_LIBRARY_PATH, to run FMS processes directly in console mode (when someone in support asks you to debug something, or you just want to see the output), etc.

        But for now, to get the same effect, add the LD_LIBRARY_PATH yourself (look at the server scripts that come with FMS if you don't know how), and it should be close enough.

        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
        New Here ,
        Aug 24, 2009 Aug 24, 2009

        Copy link to clipboard

        Copied

        Thanks. Has any progress been made on resolving the issue of fmsedge failing to forward requests to Apache? I set up a cron job to kill the fmsedge process every 15 minutes so that it does not begin to hang (stops proxying new requests). This results in our production video application being unresponsive periodically and is not an ideal model.

        Thanks,

        Jason

        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
        Participant ,
        Aug 12, 2009 Aug 12, 2009

        Copy link to clipboard

        Copied

        Hi pmetras,

        I'm the one encountering this similar problem as well.

        Are you not receiving any logging info either when the FMS hangs?

        Cheers,

        Paul

        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
        New Here ,
        Aug 12, 2009 Aug 12, 2009

        Copy link to clipboard

        Copied

        Hi aSiNe,

        No, FMS logs keep no trace of the problem. We just notice that HTTP requests on port 80 hang; RTMP is working correctly. As we are not yet in prod, so we have a human tester regularly accessing a video with a browser to check if the service is still running...

        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
        Participant ,
        Aug 12, 2009 Aug 12, 2009

        Copy link to clipboard

        Copied

        Thats interesting, as I cannot connect to either of them, so your problem is slightly different again.

        RTMP and HTTP both hang, and I have to kill the fmsedge, which is slightly less time consuming than restarting the FMS server.

        Asa informed me of this, so if you killall -6 fmsedge the fmsedge will restart very quickly, and the streaming is resumed.

        Cheers,

        Paul

        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