Running build agent on linux

I have a few questions about running the build agent on linux boxes.

1. What is the recommended way to start the agent? I started it using
nohup, but that leads to an extremely large nohup.out file. If I just
run it in a shell, then I have to keep that shell alive. Are there
plans to make the agent run as a daemon?

2. What is the recommended way to stop the agent? The only way I could
think to stop it is by finding all the processes it spawned and killing
them (using pkill).

3. My linux agent has been idle since I started it up a few weeks ago,
and yet it had spawned over 50 processes. Why would that be?

Thanks.

--
-- Steve

1 comment
Comment actions Permalink

Hello Steve,

Steve Allan wrote:

I have a few questions about running the build agent on linux boxes.

1. What is the recommended way to start the agent? I started it using
nohup, but that leads to an extremely large nohup.out file. If I just
run it in a shell, then I have to keep that shell alive. Are there
plans to make the agent run as a daemon?


In the nearest EAP we plan to make agent's output much smaller. Currently,
we run it with nohup.


2. What is the recommended way to stop the agent? The only way I could
think to stop it is by finding all the processes it spawned and killing
them (using pkill).


Same here. We should probably use better way to start/stop agent for linux,
probably with a single script. You may also comment on
http://www.jetbrains.net/jira/browse/TW-270


3. My linux agent has been idle since I started it up a few weeks ago,
and yet it had spawned over 50 processes. Why would that be?


There was a leak in agent which lead to thread leak. On 2.4 kernel
each thread is shown as a process, so I guess you see those threads.
In the nearest EAP the leak should be fixed.

Kind regards,
KIR

--
Kirill Maximov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"

0

Please sign in to leave a comment.