#298: File descriptor leakage
---------------------------+------------------------------------------------
 Reporter:  romeodeepmind  |       Owner:  admin      
     Type:  Bugs           |      Status:  new        
 Priority:  1              |   Milestone:  NEAR FUTURE
Component:  Liquidsoap     |     Version:  0.9.1+svn  
 Keywords:                 |         Mac:  1          
    Linux:  1              |      Netbsd:  1          
    Other:  1              |     Freebsd:  1          
---------------------------+------------------------------------------------
 Hi, Savonet team!

 Today i got file descriptor leakage on my production liquidsoap setup. i
 use ocaml-cry to communicate with shoutcast. after a shoutcast server was
 unavailable for a long time i've got all file descriptors taken by this
 liquidsoap process.

 my logs says:
 {{{
 2009/07/03 23:39:28 [rvk192s:3] Connecting mount / for
 [email protected]...
 2009/07/03 23:39:31 [rvk192s:2] Connection failed: could not connect to
 host
 2009/07/03 23:39:31 [rvk192s:3] Connection failed, will try again in 10
 sec.
 2009/07/03 23:39:31 [root:2] We must catchup 2.97 seconds!
 2009/07/03 23:39:42 [rvk192s:3] Connecting mount / for
 [email protected]...
 2009/07/03 23:39:45 [rvk192s:2] Connection failed: could not connect to
 host
 2009/07/03 23:39:45 [rvk192s:3] Connection failed, will try again in 10
 sec.
 2009/07/03 23:39:45 [root:2] We must catchup 2.97 seconds!
 2009/07/03 23:39:56 [rvk192s:3] Connecting mount / for
 [email protected]...
 2009/07/03 23:39:59 [rvk192s:2] Connection failed: could not connect to
 host
 2009/07/03 23:39:59 [rvk192s:3] Connection failed, will try again in 10
 sec.
 2009/07/03 23:39:59 [root:2] We must catchup 2.97 seconds!
 2009/07/03 23:40:10 [rvk192s:3] Connecting mount / for
 [email protected]...
 2009/07/03 23:40:10 [rvk192s:2] Connection failed: could not connect to
 host
 2009/07/03 23:40:10 [rvk192s:3] Connection failed, will try again in 10
 sec.
 2009/07/03 23:40:21 [rvk192s:3] Connecting mount / for
 [email protected]...
 2009/07/03 23:40:21 [rvk192s:2] Connection failed: could not initiate a
 new handler
 2009/07/03 23:40:21 [rvk192s:3] Connection failed, will try again in 10
 sec.
 2009/07/03 23:40:32 [rvk192s:3] Connecting mount / for
 [email protected]...
 2009/07/03 23:40:32 [rvk192s:2] Connection failed: could not initiate a
 new handler
 2009/07/03 23:40:32 [rvk192s:3] Connection failed, will try again in 10
 sec.
 2009/07/03 23:40:43 [rvk192s:3] Connecting mount / for
 [email protected]...
 2009/07/03 23:40:43 [rvk192s:2] Connection failed: could not initiate a
 new handler
 <... and so on ...>
 }}}


 output of lsof:
 {{{
 liquidsoa 4693 liquidsoap    8u     IPv4      13981                 TCP
 localhost:55735->localhost:8000 (ESTABLISHED)
 liquidsoa 4693 liquidsoap    9u     sock        0,4               13865
 can't identify protocol
 liquidsoa 4693 liquidsoap   10u     sock        0,4               14087
 can't identify protocol
 liquidsoa 4693 liquidsoap   11u     sock        0,4               14093
 can't identify protocol
 <...>
 liquidsoa 4693 liquidsoap 1022u     sock        0,4               19571
 can't identify protocol
 liquidsoa 4693 liquidsoap 1023u     sock        0,4               19608
 can't identify protocol
 }}}

-- 
Ticket URL: <http://savonet.rastageeks.org/ticket/298>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !
------------------------------------------------------------------------------
_______________________________________________
Savonet-trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-trac

Reply via email to