Community


All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Multiple processes on openwrt
PostPosted: Mon Feb 21, 2011 6:38 pm 
Offline

Joined: Sat Feb 12, 2011 2:18 pm
Posts: 8
I am running Neorouter in-a-box in an openwrt environment. I am running both a server and a client on the same box. I notice that there are several server and client processes being created and I would like to know if this is normal. Even if one server process is forked for each client, the number of processes in my case is way more than the number of clients connected. Also the number of client service processes is unaccounted for.
Any thoughts on why this should be the case?

root@orion:~# ps | grep nr | grep -v grep
430 root 12696 S /usr/bin/nrservice
447 root 12696 S /usr/bin/nrservice
448 root 12696 S /usr/bin/nrservice
449 root 12696 S /usr/bin/nrservice
8631 root 12196 S /usr/bin/nrserver
8652 root 12196 S /usr/bin/nrserver
8656 root 12196 S /usr/bin/nrserver
8657 root 12196 S /usr/bin/nrserver
8658 root 12196 S /usr/bin/nrserver
8659 root 12696 S /usr/bin/nrservice
8660 root 12196 S /usr/bin/nrserver
8668 root 12696 S /usr/bin/nrservice
8669 root 12696 S /usr/bin/nrservice
11265 root 12196 S /usr/bin/nrserver
28796 root 12196 S /usr/bin/nrserver
1234 root 12196 S /usr/bin/nrserver


Top
 Profile  
 
 Post subject: Re: Multiple processes on openwrt
PostPosted: Mon Feb 21, 2011 6:59 pm 
Offline

Joined: Mon Dec 22, 2008 10:19 pm
Posts: 436
hi onebox,

These are threads not processes. There is only one nrserver process and one nrservice process. What you see is fairly normal. nrserver creates new threads to handle new client connections as well as other background tasks. nrservice can create new threads for P2P connections.

On Windows and non-embedded Linux, we support efficient thread pooling using IOCP/EPoll, and can support thousands of concurrent connections. See "NeoRouter Performance Tuning Guide" (http://www.neorouter.com/Documents.html) for more details.

Please let us know if you have more questions.

Thanks,
Luke

_________________
Luke - NeoRouter Team


Top
 Profile  
 
 Post subject: Re: Multiple processes on openwrt
PostPosted: Mon Feb 21, 2011 7:28 pm 
Offline

Joined: Sat Feb 12, 2011 2:18 pm
Posts: 8
Hi Luke
Thanks for the quick reply. Since each one had it's own unique PID, I assumed they are different processes as this was my understanding.
I also read the performance tuning guide, it is interesting but not applicable to me as I have a total of 8 clients and in this instance when I took the process status, there were only 2 clients connected - of which one of them is the server box itself.


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

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 39 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

Search for:
Jump to: