Hey,
I successfully installed twonky server (6.0.30) on my debian server but there is one problem.
On startup there are 27 twonky processes (/usr/local/twonkymedia/twonkymediaserver -D).
This could be okay but as time went on this number increases up to 50 (and maybe more).
After restart all is fine until it increases again.
What could be the reason for this behaviour? I have a noxon radio, no other device.
Maybe twonky forks a new process on every connection?
Is it possible to restrict the number of forked processes by twonky?
Thanks in advance.
Reducing number of twonky processes
-
- Posts:3
- Joined:Wed Mar 09, 2011 9:36 pm
- AV Hardware:Noxon
- DaemonBeetle
- Posts:305
- Joined:Mon Dec 28, 2009 11:05 am
- AV Hardware:Plex Media Server, Samsung Smart TV (2009 and 2013)
Re: Reducing number of twonky processes
Are you sure they're separate processes and not separate threads? Is it actually causing problems, or do you just not like the way it looks?
No longer running Twonky
-
- Posts:3
- Joined:Wed Mar 09, 2011 9:36 pm
- AV Hardware:Noxon
Re: Reducing number of twonky processes
[quote="DaemonBeetle"]Are you sure they're separate processes and not separate threads? Is it actually causing problems, or do you just not like the way it looks?[/quote]
I think they're processes. How I can figure out if they are processes or threads? Today there are 70 processes (the server runs for 5 days).
The main problem is that every process reserves memory. The system is running on a dockstar and it has only 128 MB RAM.
I think they're processes. How I can figure out if they are processes or threads? Today there are 70 processes (the server runs for 5 days).
The main problem is that every process reserves memory. The system is running on a dockstar and it has only 128 MB RAM.
- DaemonBeetle
- Posts:305
- Joined:Mon Dec 28, 2009 11:05 am
- AV Hardware:Plex Media Server, Samsung Smart TV (2009 and 2013)
Re: Reducing number of twonky processes
It depends a bit on the version of Linux, and the accompanying tools. For me "ps -ef" shows the processes (one twonkymediaserver) and "ps -efL" shows the threads (28 threads).
No longer running Twonky
-
- Posts:3
- Joined:Wed Mar 09, 2011 9:36 pm
- AV Hardware:Noxon
Re: Reducing number of twonky processes
It seems to be that you're right. They are only threads but why the number of threads increases continuously?
- DaemonBeetle
- Posts:305
- Joined:Mon Dec 28, 2009 11:05 am
- AV Hardware:Plex Media Server, Samsung Smart TV (2009 and 2013)
Re: Reducing number of twonky processes
I've no idea - but given that they share memory space etc it shouldn't matter.
No longer running Twonky