TwonkyServer "freezes" on Synology DS 210j ...

General discussion about the media server. Feature requests. Hints, tips and tricks.
Locked
Jeeosch
Posts: 16
Joined: Wed Dec 29, 2010 11:08 pm
AV Hardware: Synology DS210j
Telekom Media Receiver 300
iPhone 4
iPhone 3G

TwonkyServer "freezes" on Synology DS 210j ...

Post by Jeeosch » Wed Jun 22, 2011 1:24 pm

Hi there!

I'm observing the following problem ...

I installed and tried all versions of TwonkyServer 6.x available as Kirkwood build. The outcome is always the same:
The server starts off very nicely scanning the respective directories on my NAS and being also fairly responsive to clients (e.g. iPhone app). Then, at approx. 16 MB cache size it gets slower and slower until it freezes completely.

The strange part is, that the two disks of my NAS are still extremeley active, when this happens!

I tried all kinds of settings according to recommendations found in this forum (e.g. nmcmode) and even created an additional 1GB of swap memory following a recommendation from the Synology technical support ... none of them solved the problem ... :(

As I am a registered user of TwonkyServer and really would like to continue using Twonky I'd be grateful for hints or maybe even a solution for this!

My setup:
- Synology Disk Station DS 210j, DSM v3.1-1742 (latest version)
- no 3rd party packages installed (except Twonky)
- TwonkyServer (tried versions 6.0, 6.0.1, 6.0.23, 6.0.30, 6.0.31-RC6, 6.0.32)

Any ideas???

Thanks a lot in advance!


Jeeosch


For info: I posted the same issue in the Synology forums.

Twonky_Rick
Posts: 3816
Joined: Wed Nov 19, 2008 1:59 am
AV Hardware: Samsung 650 Series TV (2010), 4.5TB HP MediaSmart server with 100,000 songs, 5) AT&T U-Verse STB, CE form-factor Media Center PC and 6 other networked PCs running TwonkyManager, 2 Sonos ZP80, Sonos S5 speaker, Apple TV (running XBMC), Roku Soundbridge, X-Box 360, Sony PS3, Kodak 10" Wireless Photo Frame, iPhone with PlugPlayer software, Sonos CR-100.
Location: San Diego
Contact:

Re: TwonkyServer "freezes" on Synology DS 210j ...

Post by Twonky_Rick » Wed Jun 22, 2011 3:56 pm

How large is your media library?

- Rick
Follow me on Twitter! mostlytech1
Checkout my blog: http://mostly-tech.com/

Jeeosch
Posts: 16
Joined: Wed Dec 29, 2010 11:08 pm
AV Hardware: Synology DS210j
Telekom Media Receiver 300
iPhone 4
iPhone 3G

Re: TwonkyServer "freezes" on Synology DS 210j ...

Post by Jeeosch » Wed Jun 22, 2011 8:39 pm

Hi Rick,

it's about 50.000 audio files, 1.200 videos and about 3.000 photographs.

Do you have any ideas?

Best,


Georg

Jeeosch
Posts: 16
Joined: Wed Dec 29, 2010 11:08 pm
AV Hardware: Synology DS210j
Telekom Media Receiver 300
iPhone 4
iPhone 3G

Re: TwonkyServer "freezes" on Synology DS 210j ...

Post by Jeeosch » Fri Jun 24, 2011 12:33 pm

Hi Rick!
... and others which might face the same trouble as I ... ;-)

Here's another bunch of info taken from the kernel log of my disk station.
As you see, there is a memory issue.

As stated before I tried to address this with additional swap memory (1GB), but it didn't help.
The lines below are referring to my latest experiment: I installed TwonkyServer v6.0.31-RC6 on the data partition of the disk station, changing all paths in the config file to this location. I do not have additional swap memory in place at the moment as this didn't help before.

--- Begin of log extract ---
Jun 24 00:35:05 kernel: [393715.190000] synorcd invoked oom-killer: gfp_mask=0x200da, order=0, oom_adj=0
Jun 24 00:35:05 kernel: [393715.200000] [<c00eb644>] (unwind_backtrace+0x0/0xe4) from [<c013e898>] (oom_kill_process+0x68/0x1cc)
Jun 24 00:35:05 kernel: [393715.210000] [<c013e898>] (oom_kill_process+0x68/0x1cc) from [<c013ee08>] (__out_of_memory+0x54/0xd8)
Jun 24 00:35:05 kernel: [393715.220000] [<c013ee08>] (__out_of_memory+0x54/0xd8) from [<c013eefc>] (out_of_memory+0x70/0xa8)
Jun 24 00:35:05 kernel: [393715.230000] [<c013eefc>] (out_of_memory+0x70/0xa8) from [<c01416a4>] (__alloc_pages_nodemask+0x41c/0x4c8)
Jun 24 00:35:05 kernel: [393715.240000] [<c01416a4>] (__alloc_pages_nodemask+0x41c/0x4c8) from [<c015a994>] (read_swap_cache_async+0x48/0x12c)
Jun 24 00:35:05 kernel: [393715.250000] [<c015a994>] (read_swap_cache_async+0x48/0x12c) from [<c015ab04>] (swapin_readahead+0x8c/0x94)
Jun 24 00:35:05 kernel: [393715.260000] [<c015ab04>] (swapin_readahead+0x8c/0x94) from [<c014f9d0>] (handle_mm_fault+0x29c/0x58c)
Jun 24 00:35:05 kernel: [393715.270000] [<c014f9d0>] (handle_mm_fault+0x29c/0x58c) from [<c00ec544>] (do_page_fault+0xe8/0x1dc)
Jun 24 00:35:05 kernel: [393715.280000] [<c00ec544>] (do_page_fault+0xe8/0x1dc) from [<c00262a4>] (do_DataAbort+0x40/0xa4)
Jun 24 00:35:05 kernel: [393715.290000] [<c00262a4>] (do_DataAbort+0x40/0xa4) from [<c002acc0>] (ret_from_exception+0x0/0x10)
Jun 24 00:35:05 kernel: [393715.300000] Exception stack(0xc2721fb0 to 0xc2721ff8)
Jun 24 00:35:05 kernel: [393715.300000] 1fa0: 00000000 00000000 00014d78 00000000
Jun 24 00:35:05 kernel: [393715.310000] 1fc0: 00000000 00000000 00008dbc 00000000 00000000 00000000 40025000 bea5ccfc
Jun 24 00:35:05 kernel: [393715.320000] 1fe0: bea5cd00 bea5cce0 00009310 00009510 00000010 ffffffff
Jun 24 00:35:05 kernel: [393715.330000] Mem-info:
Jun 24 00:35:05 kernel: [393715.330000] Normal per-cpu:
Jun 24 00:35:05 kernel: [393715.340000] CPU 0: hi: 42, btch: 7 usd: 37
Jun 24 00:35:05 kernel: [393715.340000] active_anon:35 inactive_anon:63 isolated_anon:0
Jun 24 00:35:05 kernel: [393715.340000] active_file:1121 inactive_file:2144 isolated_file:32
Jun 24 00:35:05 kernel: [393715.340000] unevictable:0 dirty:0 writeback:48 unstable:0
Jun 24 00:35:05 kernel: [393715.340000] free:2736 slab_reclaimable:17062 slab_unreclaimable:4611
Jun 24 00:35:05 kernel: [393715.340000] mapped:584 shmem:3 pagetables:524 bounce:0
Jun 24 00:35:05 kernel: [393715.350000] Normal free:10944kB min:8192kB low:12288kB high:20480kB active_anon:140kB inactive_anon:252kB active_file:4484kB inactive_file:8576kB unevictable:0kB isolated(anon):0kB isolated(file):128kB present:130048kB mloc
Jun 24 00:35:05 kernel: [393715.360000] lowmem_reserve[]: 0 0
Jun 24 00:35:05 kernel: [393715.360000] Normal: 662*4kB 61*8kB 14*16kB 33*32kB 4*64kB 3*128kB 3*256kB 2*512kB 2*1024kB 1*2048kB 0*4096kB 0*8192kB 0*16384kB 0*32768kB 0*65536kB 0*131072kB 0*262144kB 0*524288kB 0*1048576kB = 10944kB
Jun 24 00:35:05 kernel: [393715.380000] 3395 total pagecache pages
Jun 24 00:35:05 kernel: [393715.390000] 93 pages in swap cache
Jun 24 00:35:05 kernel: [393715.390000] Swap cache stats: add 20245606, delete 20245513, find 2551378/13434691
Jun 24 00:35:05 kernel: [393715.400000] Free swap = 1986992kB
Jun 24 00:35:05 kernel: [393715.400000] Total swap = 2097080kB
Jun 24 00:35:05 kernel: [393715.410000] 32768 pages of RAM
Jun 24 00:35:05 kernel: [393715.410000] 3082 free pages
Jun 24 00:35:05 kernel: [393715.410000] 3200 reserved pages
Jun 24 00:35:05 kernel: [393715.420000] 21673 slab pages
Jun 24 00:35:05 kernel: [393715.420000] 2800 pages shared
Jun 24 00:35:05 kernel: [393715.420000] 93 pages swap cached
Jun 24 00:35:05 kernel: [393715.430000] Out of memory: kill process 3758 (twonkymedia) score 5302 or a child
Jun 24 00:35:05 kernel: [393715.430000] Killed process 3759 (twonkymediaserv)
--- End of log extract ---

Any ideas?
Anyone?

Best,


Georg

Twonky_Rick
Posts: 3816
Joined: Wed Nov 19, 2008 1:59 am
AV Hardware: Samsung 650 Series TV (2010), 4.5TB HP MediaSmart server with 100,000 songs, 5) AT&T U-Verse STB, CE form-factor Media Center PC and 6 other networked PCs running TwonkyManager, 2 Sonos ZP80, Sonos S5 speaker, Apple TV (running XBMC), Roku Soundbridge, X-Box 360, Sony PS3, Kodak 10" Wireless Photo Frame, iPhone with PlugPlayer software, Sonos CR-100.
Location: San Diego
Contact:

Re: TwonkyServer "freezes" on Synology DS 210j ...

Post by Twonky_Rick » Sun Jun 26, 2011 7:59 pm

Wow. That's a large library! I'll share you comments with our engineers and let you know if they have suggestions.

Since you appear to be very tech saavy, in the meantime, you might want to look into upgrading to 6.0.34, and that if that improves the situation.

More info here:
http://www.twonkyforum.com/viewtopic.php?f=2&t=9814

- Rick
Follow me on Twitter! mostlytech1
Checkout my blog: http://mostly-tech.com/

Jeeosch
Posts: 16
Joined: Wed Dec 29, 2010 11:08 pm
AV Hardware: Synology DS210j
Telekom Media Receiver 300
iPhone 4
iPhone 3G

Re: TwonkyServer "freezes" on Synology DS 210j ...

Post by Jeeosch » Mon Jun 27, 2011 3:56 am

Hi Rick!

Thanks for the tip ... will try!
As soon as I have a result I'll post it here.

Best,


Georg

Jeeosch
Posts: 16
Joined: Wed Dec 29, 2010 11:08 pm
AV Hardware: Synology DS210j
Telekom Media Receiver 300
iPhone 4
iPhone 3G

Re: TwonkyServer "freezes" on Synology DS 210j ...

Post by Jeeosch » Mon Jun 27, 2011 7:17 am

Hi Rick!
... and those ones interested in this topic.

I'm glad to tell, that the new version 6.0.34 seems to work on my NAS (Synology DS 210j) ... :D
(... that is at least the kirkwood build ... :wink:)

I also turned off and deleted the additional swap file to see if that has any impact, but luckily it hasn't, so everything seems to be back to normal ... :)

Thanks again!

BTW: I might be posting a little How-To later ... where should I put it?

Best,


Georg

Twonky_Rick
Posts: 3816
Joined: Wed Nov 19, 2008 1:59 am
AV Hardware: Samsung 650 Series TV (2010), 4.5TB HP MediaSmart server with 100,000 songs, 5) AT&T U-Verse STB, CE form-factor Media Center PC and 6 other networked PCs running TwonkyManager, 2 Sonos ZP80, Sonos S5 speaker, Apple TV (running XBMC), Roku Soundbridge, X-Box 360, Sony PS3, Kodak 10" Wireless Photo Frame, iPhone with PlugPlayer software, Sonos CR-100.
Location: San Diego
Contact:

Re: TwonkyServer "freezes" on Synology DS 210j ...

Post by Twonky_Rick » Sat Jul 02, 2011 12:21 am

Glad to hear that things are working now. :D

Please send your 'How to' to me at tmm-beta@pv.com and I'll post it for you. Of course, I'll give you the credit for writing it.

- Rick
Follow me on Twitter! mostlytech1
Checkout my blog: http://mostly-tech.com/

Locked