2 Replies Latest reply on Oct 7, 2010 8:28 PM by nunoHyun

    LCDS/Flex/RTMP File Descriptor Leak  STSO  /dev/tcp->tcpm->ip

    nunoHyun

      Hello all,

         I have an application using Flex 3 and RTMP

      RTMP exit (WebBrowser Close, refresh, the client exits (Consumer disconnect))

      when the server will increase the number of file descriptors.


      This is still piled up over time a problem occurs on the server.

       

      Exception in thread

      "RTMP-Server" flex.messaging.endpoints.rtmp.RTMPException: The RTMP server has encountered a fatal exception starting up: Too many open files (errno:24)

       

      Server OS: HP unix 11.11
      WAS: tomcat6.0
      JDK: 1.5
      LCDS: 2.5.1


      * Rtmp port: 2040

      lsof -p  log

      ------------------------------------------------------------------------------------------ -----------------------------------------------------

      java    12010 wasadm  114u  inet  0xb0e82540       0t0    TCP *:2040 (LISTEN)

      java    12010 wasadm  115u  inet  0xb4f1de40   0t18239    TCP localhost:56433->localhost:39900 (ESTABLISHED)

      java    12010 wasadm  116u  inet  0xb4f5c100   0t19843    TCP localhost:56434->localhost:39900 (ESTABLISHED)

      java    12010 wasadm  117u  inet  0xba6876c0   0t18239    TCP localhost:56435->localhost:39900 (ESTABLISHED)

      java    12010 wasadm  118u  inet  0x99467200   0t18892    TCP localhost:56436->localhost:39900 (ESTABLISHED)

      java    12010 wasadm  119u  inet  0xb4f5c280   0t17365    TCP localhost:56437->localhost:39900 (ESTABLISHED)

      java    12010 wasadm  120u  inet  0xb431fe00   0t17558    TCP localhost:56438->localhost:39900 (ESTABLISHED)

      java    12010 wasadm  121u  inet  0xb4f1d540   0t19837    TCP localhost:56439->localhost:39900 (ESTABLISHED)

      java    12010 wasadm  122u  inet  0xb4f5c400   0t19629    TCP localhost:56440->localhost:39900 (ESTABLISHED)

      java    12010 wasadm  123u  inet  0xb4f5c700   0t20715    TCP localhost:56441->localhost:39900 (ESTABLISHED)

      java    12010 wasadm  124u  inet  0xb4f1d840   0t21111    TCP localhost:56442->localhost:39900 (ESTABLISHED)

      java   12010 wasadm  125u  inet  0xb4f1d0c0   0t20010    TCP localhost:56443->localhost:39900 (ESTABLISHED)

      java    12010 wasadm  126u  inet  0xb4f1d240   0t17072    TCP localhost:56444->localhost:39900 (ESTABLISHED)

      java    12010 wasadm  127u  inet  0xb4f1d6c0   0t18081    TCP localhost:56445->localhost:39900 (ESTABLISHED)

      java    12010 wasadm  128u  inet  0xb4f5c580   0t18530    TCP localhost:56446->localhost:39900 (ESTABLISHED)

      java    12010 wasadm  129u  inet  0x9b615ac0   0t18417    TCP localhost:56447->localhost:39900 (ESTABLISHED)

      java    12010 wasadm  130u  STSO 21,0xc00007  0t614381    626 /dev/tcp->tcpm->ip

      java    12010 wasadm  131u  STSO 21,0x500002    0t7358    626 /dev/tcp->tcpm->ip

      java    12010 wasadm  132u  STSO  21,0x80004    0t7358    626 /dev/tcp->tcpm->ip

      java    12010 wasadm  133u  STSO 21,0xa40007    0t7358    626 /dev/tcp->tcpm->ip

      java    12010 wasadm  134u  STSO 21,0x6c000e    0t7358    626 /dev/tcp->tcpm->ip

      java    12010 wasadm  135u  STSO 21,0x240008   0t30541    626 /dev/tcp->tcpm->ip

      java    12010 wasadm  136u  STSO 21,0x400002    0t7358    626 /dev/tcp->tcpm->ip

      java    12010 wasadm  137u  STSO 21,0x980009    0t7769    626 /dev/tcp->tcpm->ip

      java    12010 wasadm  138u  STSO 21,0xbc0009    0t7358    626 /dev/tcp->tcpm->ip

      java    12010 wasadm  139u  inet  0xb0cf7e40 0t1336598    TCP kismts02:2040->172.26.116.245:54167 (ESTABLISHED)

      java    12010 wasadm  140u  inet  0xb0cf7540 0t1336598    TCP kismts02:2040->172.26.116.244:65393 (ESTABLISHED)

      java    12010 wasadm  141u  STSO 21,0x2c000b 0t1243455    626 /dev/tcp->tcpm->ip

      java    12010 wasadm  142u  STSO 21,0x240001  0t636998    626 /dev/tcp->tcpm->ip

      java    12010 wasadm  143u  STSO 21,0x300005  0t613815    626 /dev/tcp->tcpm->ip

      java    12010 wasadm  144u  STSO 21,0x800003    0t7358    626 /dev/tcp->tcpm->ip

      java    12010 wasadm  145u  STSO 21,0xfc0009    0t7358    626 /dev/tcp->tcpm->ip

      java    12010 wasadm  146u  STSO  21,0x4000a    0t7358    626 /dev/tcp->tcpm->ip

      java    12010 wasadm  147u  STSO 21,0x28000b    0t7358    626 /dev/tcp->tcpm->ip

      java    12010 wasadm  148u  inet  0x9b699d00   0t54131    TCP kismts02:2040->172.26.116.245:54442 (ESTABLISHED)

       

       

       

      /dev/tcp->tcpm->ip  This problem becomes

      ------------------------------------------------------------------------------------------ -----------------------------------------------------

       

      Can anyone help me out here?  i'll wait for answers.

       

      Thank you,

      Nuno Hyun