Le 12/11/2012 20:59, Romain Beauxis a écrit :
> Thanks for the details! I have opened an issue for this bug there: 
> http://dev.sourcefabric.org/browse/LS-643 R.

Hum ..

I notice the memory usage increases faster when i use liquidsoap 
demonized (with -d), but not from cli (in a screen).
(but i have not search any more ...)

I use a simple script :
source = input.http(
         autostart=true,
         "http://stream-hautdebit.frequence3.net:8000/";
)
output.external(
         %mp3(bitrate=128,stereo_mode="stereo",samplerate=48000),
         fallible=true,
         "ffmpeg -i - -acodec copy -f mpegts 
udp://127.0.0.1:5000,?pktsize=1316",
         source
)


Note the increase RSS value

# /usr/bin/liquidsoap -d /tmp/10000.liq
# pidstat -r -p 15576 60 86400
11:29:29 PM       PID  minflt/s  majflt/s     VSZ    RSS   %MEM Command
11:30:29 PM     15576      0.03      0.00  204980  25432   0.21 liquidsoap
11:31:29 PM     15576      4.18      0.00  205980  26436   0.21 liquidsoap
11:32:29 PM     15576      0.07      0.00  205980  26448   0.21 liquidsoap
11:33:29 PM     15576      0.02      0.00  205980  26452   0.21 liquidsoap
11:34:29 PM     15576      0.03      0.00  205980  26460   0.21 liquidsoap
11:35:29 PM     15576      4.15      0.00  206980  27456   0.22 liquidsoap
27456-25432=2024

# /usr/bin/liquidsoap /tmp/10000.liq
#  pidstat -r -p 17281 60 86400
11:39:07 PM       PID  minflt/s  majflt/s     VSZ    RSS   %MEM Command
11:40:07 PM     17281      0.07      0.00  262172  28716   0.23 liquidsoap
11:41:07 PM     17281      0.03      0.00  262172  28720   0.23 liquidsoap
11:42:07 PM     17281      0.02      0.00  262172  28724   0.23 liquidsoap
11:43:07 PM     17281      0.00      0.00  262172  28724   0.23 liquidsoap
11:44:07 PM     17281      0.02      0.00  262172  28724   0.23 liquidsoap
11:45:07 PM     17281      0.00      0.00  262172  28724   0.23 liquidsoap
28724-28716=6

Romain, do you want i make any other test ?

Yoann

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to