if n2hell start rtorrent it goes to 100% CPUW

2 views
Skip to first unread message

zsid...@gmail.com

unread,
Feb 26, 2008, 12:27:47 AM2/26/08
to n2hell
Hey
I have an intresting issue. If i start n2hell and let it start
rtorrent my CPU shoots right up to 125%. But if i start it via
command line (and then run n2hell) it works as expected. The issue
seems to be the way n2hell starts rtorrent.

Here is rtorrent started with n2hell:
PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU
COMMAND

1531 zuhaib 1 139 0 6872K 5204K RUN 0:23 112.99%
rtorrent


and here is rtorrent started via command line
PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU
COMMAND

1539 zuhaib 1 4 0 6872K 5168K kqread 0:00 0.00%
rtorrent

Any idea on how to fix this.
Thanks

vovasty

unread,
Feb 26, 2008, 12:57:33 AM2/26/08
to n2hell
Hi,

Its very strange - n2hell starts rtorrent in common way, no magic.
which version if rtorrent do you use?
your command line for rtorrent (may be "nice" or something like it)?

zsid...@gmail.com

unread,
Feb 26, 2008, 1:09:07 AM2/26/08
to n2hell
Hi,
rtorrent version is rtorrent-0.7.9_1 .
to start rtorrent via command line i just use "rtorrent".

I forget to mention that this is installed on a FreeNAS system (which
is bases on FreeBSD).

vovasty

unread,
Feb 26, 2008, 1:15:04 AM2/26/08
to n2hell
try to start rtorrent from n2hell with shell script
something like this
---------/usr/local/bin/rtorrent.sh---------
#!/bin/sh
/usr/local/bn/rtorrent &
---------/usr/local/bin/rtorrent.sh---------

and in n2hell's settings set "command" option to /usr/local/bin/
rtorrent.sh

zsid...@gmail.com

unread,
Feb 26, 2008, 1:53:51 AM2/26/08
to n2hell
I tried that, but i get an error on the command line
"rtorrent: PollKQueue::perform() error: Operation not supported by
device "
and rtorrent does not start.

vovasty

unread,
Feb 26, 2008, 2:22:19 AM2/26/08
to n2hell
permissions for n2hell's process owner or jail settings (if you use
it)?

zsid...@gmail.com

unread,
Feb 26, 2008, 2:30:47 AM2/26/08
to n2hell
Umm, err i dont get your question. BTW n2hell is installed not on the
same machine as rtorrent (i am now thinking i should try that)

vovasty

unread,
Feb 26, 2008, 3:12:58 AM2/26/08
to n2hell
No matter where n2hell is installed, it spawnes rtorrent process via
ssh. You should test rtorrent under user, which uses n2hell for
connecting to rtorrent's machine

On Feb 26, 10:30 am, "zsiddi...@gmail.com" <zsiddi...@gmail.com>
wrote:
Reply all
Reply to author
Forward
0 new messages