View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 3 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Thu Mar 30, 2006 9:23 pm 
Offline
Joined: Wed Feb 01, 2006 8:31 pm
Posts: 45
I just find out some weird stuff about VLC streaming (using mythstreamtv).. my current setup:

- 384 MB Ram
- Celeron 2.4 Ghz
- Hauppauge PVR 350

When i use the mythweb interface to stream a recorded program using any settings, the memory usage of the VLC proces goes up, and up, and up, and this eventually makes the oom-killer active, and it starts to kill processes..

Here is a snapshot every 3 seconds of the memory usage for the vlc process:

(check the SZ column)

Code:
F  S UID     PID  PPID  C PRI NI ADDR SZ  WCHAN TTY TIME CMD
   
0 S    33  9929  9927 25  75   0 - 70121 stext  ?        00:01:44 vlc
Thu Mar 30 21:09:07 CST 2006
0 S    33  9929  9927 25  75   0 - 70568 stext  ?        00:01:45 vlc
Thu Mar 30 21:09:10 CST 2006
0 S    33  9929  9927 25  75   0 - 70953 stext  ?        00:01:46 vlc
Thu Mar 30 21:09:13 CST 2006
0 S    33  9929  9927 25  75   0 - 71354 stext  ?        00:01:47 vlc
Thu Mar 30 21:09:16 CST 2006
0 S    33  9929  9927 25  75   0 - 71764 stext  ?        00:01:47 vlc
Thu Mar 30 21:09:19 CST 2006
0 S    33  9929  9927 25  75   0 - 72200 stext  ?        00:01:48 vlc
Thu Mar 30 21:09:22 CST 2006
0 S    33  9929  9927 25  75   0 - 72560 stext  ?        00:01:49 vlc
Thu Mar 30 21:09:25 CST 2006
0 S    33  9929  9927 25  75   0 - 72974 stext  ?        00:01:50 vlc
Thu Mar 30 21:09:28 CST 2006
0 S    33  9929  9927 25  75   0 - 73405 stext  ?        00:01:51 vlc
Thu Mar 30 21:09:31 CST 2006
0 S    33  9929  9927 25  75   0 - 73829 stext  ?        00:01:52 vlc
Thu Mar 30 21:09:34 CST 2006
0 S    33  9929  9927 25  75   0 - 74234 stext  ?        00:01:52 vlc
Thu Mar 30 21:09:37 CST 2006
0 S    33  9929  9927 25  75   0 - 74619 stext  ?        00:01:53 vlc
Thu Mar 30 21:09:40 CST 2006
0 S    33  9929  9927 25  75   0 - 75002 stext  ?        00:01:54 vlc
Thu Mar 30 21:09:43 CST 2006
0 S    33  9929  9927 25  75   0 - 75339 stext  ?        00:01:55 vlc
Thu Mar 30 21:09:46 CST 2006
0 S    33  9929  9927 25  75   0 - 75777 stext  ?        00:01:56 vlc
Thu Mar 30 21:09:49 CST 2006
0 S    33  9929  9927 25  75   0 - 76086 stext  ?        00:01:56 vlc
Thu Mar 30 21:09:52 CST 2006
0 S    33  9929  9927 25  75   0 - 76429 stext  ?        00:01:57 vlc
Thu Mar 30 21:09:55 CST 2006
0 S    33  9929  9927 25  75   0 - 76765 stext  ?        00:01:58 vlc
Thu Mar 30 21:09:58 CST 2006
0 S    33  9929  9927 25  75   0 - 77100 stext  ?        00:01:59 vlc
Thu Mar 30 21:10:01 CST 2006
0 S    33  9929  9927 25  75   0 - 77426 stext  ?        00:01:59 vlc
Thu Mar 30 21:10:04 CST 2006
0 S    33  9929  9927 25  75   0 - 77747 stext  ?        00:02:00 vlc
Thu Mar 30 21:10:07 CST 2006
0 S    33  9929  9927 25  75   0 - 78064 stext  ?        00:02:01 vlc
Thu Mar 30 21:10:10 CST 2006
0 S    33  9929  9927 25  75   0 - 78379 stext  ?        00:02:01 vlc
Thu Mar 30 21:10:14 CST 2006
0 S    33  9929  9927 25  75   0 - 78706 stext  ?        00:02:02 vlc
Thu Mar 30 21:10:17 CST 2006
0 S    33  9929  9927 25  75   0 - 79026 stext  ?        00:02:03 vlc
Thu Mar 30 21:10:20 CST 2006
0 S    33  9929  9927 25  75   0 - 79384 stext  ?        00:02:04 vlc
Thu Mar 30 21:10:23 CST 2006
0 S    33  9929  9927 25  75   0 - 79716 stext  ?        00:02:04 vlc
Thu Mar 30 21:10:26 CST 2006
0 S    33  9929  9927 25  75   0 - 80074 stext  ?        00:02:05 vlc
Thu Mar 30 21:10:29 CST 2006
0 S    33  9929  9927 25  75   0 - 80437 stext  ?        00:02:06 vlc
Thu Mar 30 21:10:32 CST 2006
0 S    33  9929  9927 25  75   0 - 80844 stext  ?        00:02:06 vlc
Thu Mar 30 21:10:35 CST 2006
0 S    33  9929  9927 25  75   0 - 81208 stext  ?        00:02:07 vlc
Thu Mar 30 21:10:38 CST 2006
0 S    33  9929  9927 25  75   0 - 81588 stext  ?        00:02:08 vlc
Thu Mar 30 21:10:41 CST 2006
0 S    33  9929  9927 25  75   0 - 81972 stext  ?        00:02:09 vlc



After a while i can see something like this on the /var/log/messages file

Code:
Mar 30 20:52:05 chronos kernel: oom-killer: gfp_mask=0xd0, order=0
Mar 30 20:52:05 chronos kernel: Mem-info:
Mar 30 20:52:05 chronos kernel: DMA per-cpu:
Mar 30 20:52:05 chronos kernel: cpu 0 hot: low 0, high 0, batch 1 used:0
Mar 30 20:52:05 chronos kernel: cpu 0 cold: low 0, high 0, batch 1 used:0
Mar 30 20:52:05 chronos kernel: DMA32 per-cpu: empty
Mar 30 20:52:05 chronos kernel: Normal per-cpu:
Mar 30 20:52:05 chronos kernel: cpu 0 hot: low 0, high 186, batch 31 used:3
Mar 30 20:52:05 chronos kernel: cpu 0 cold: low 0, high 62, batch 15 used:14
Mar 30 20:52:05 chronos kernel: HighMem per-cpu: empty
Mar 30 20:52:05 chronos kernel: Free pages:        3920kB (0kB HighMem)
Mar 30 20:52:05 chronos kernel: Active:41865 inactive:42038 dirty:0 writeback:0
unstable:0 free:980 slab:7128 mapped:83881 pagetables:602
Mar 30 20:52:05 chronos kernel: DMA free:1572kB min:104kB low:128kB high:156kB a
ctive:4900kB inactive:4836kB present:16384kB pages_scanned:10922 all_unreclaimab
le? yes
Mar 30 20:52:05 chronos kernel: lowmem_reserve[]: 0 0 367 367
Mar 30 20:52:05 chronos kernel: DMA32 free:0kB min:0kB low:0kB high:0kB active:0
kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
Mar 30 20:52:05 chronos kernel: lowmem_reserve[]: 0 0 367 367


As you can see, it seems that the vlc streaming process its eating the ram of the system.. anyone else has noticed this on their systems (using mythstreamtv ) ?


Edit: It seems that this problem is an already known issue with VLC 0.8.1.. (according to http://forum.videolan.org/viewtopic.php ... emory+leak).

In R5B7 "vlc --version" outputs:
0.8.1 Janus


What is the right way to upgrade VLC on knoppmyth ?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 31, 2006 4:59 pm 
Offline
Joined: Wed Feb 01, 2006 8:31 pm
Posts: 45
I can now confirm that the latest beta version of VLC 0.8.5-test1 does not present this memory leak.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 03, 2006 8:13 am 
Offline
Joined: Wed Nov 10, 2004 12:28 am
Posts: 91
Location: NJ
Did you upgrade VLC?

If so can you provide instructions on how to do so?

I want to try to get MythStreamTV to stream HD recordings...

Thx.

Rich


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu