Community


All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: nrclientcmd linux daemonize howto?
PostPosted: Tue Jan 03, 2012 11:04 am 
Offline

Joined: Tue Jan 03, 2012 10:58 am
Posts: 6
Anyone have tips on how to daemonize nrclientcmd?
When i just put a "&" at the end I get 100% CPU utilization.

This is with 1.6.3 Pro client/server both on the same machine.
If I omit the "&" then it doesn't go 100% CPU.

64bit server, I've tried both 64/32bit clients (only one installed at a time)

Both seem to work commands seem to work but I get high CPU usage if I daemonize.

e.g.
nrclientcmd -d 127.0.0.1 -u <user> -p <pass> &

I want to log in at startup from the rc.local script

This is on fedora 15.

Also, once I exit the client I have to restart nrservice.sh before I can reconnect with nrclientcmd.


Top
 Profile  
 
 Post subject: Re: nrclientcmd linux daemonize howto?
PostPosted: Wed Jan 04, 2012 12:28 pm 
Offline

Joined: Sun Nov 16, 2008 6:41 am
Posts: 1878
Hi mightypenguinorg,

Thanks for your report. We will investigate it and improve it in the next build.

If you do need to run nrclientcmd as a daemon, the stdin will be redirected to /dev/null by OS, and may cause it busy.

Thanks,
KevinZ - NeoRouter team


Top
 Profile  
 
 Post subject: Re: nrclientcmd linux daemonize howto?
PostPosted: Mon Jan 09, 2012 3:08 pm 
Offline

Joined: Tue Jan 03, 2012 10:58 am
Posts: 6
Probably should have a "-d" / "--daemon" option.


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 18 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: