Two thoughts.

1)      When running Jenkins as a service, can you run as a user, instead of 
local system? And can you give that user permissions to your share?

2)      From a command window, “shutdown /r /t 0” will restart the machine. If 
you’re not running as a service you’ll need to log in before the slave 
reconnects.

Terry

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of pra...@gmail.com
Sent: Wednesday, April 22, 2015 5:09 AM
To: jenkinsci-users@googlegroups.com
Subject: Jenkins slave restart

Hi,

We have recently adopted Jenkins to manage performance testing lab which 
comprises of many performance testing servers.

A little background of the problem we have:

Lately we have been observing some discrepancy in the readings due to memory 
consumption of Jenkins slave - memory usage goes up and down.

For reliability we need same readings when a single test is executed multiple 
times. But that doesn't seem to happen now after adopting Jenkins.

We have observed that Jenkins slave memory usage increases gradually over a 
period of time and suspecting that this could be affecting the stability of the 
performance tests.

Question:

So now we want to figure out a way to restart Jenkins slave after every 
performance test we perform on the server. Using Jenkins slave as a service is 
preventing us to access some network shares so we were forced to start Jenkins 
slave using the java -jar option.
Is there a way we can restart Jenkins slaves after every test run on the slave?

I have also attached herewith the list of plugins I have installed. Please 
advise if any of these plugins could be causing the increasing memory usage of 
Jenkins slave.
I can share more details about my setup if it helps.

Thank you for your time and advice.

Regards,
Praneeth





--
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
jenkinsci-users+unsubscr...@googlegroups.com<mailto:jenkinsci-users+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/799ea334-37b4-4475-b317-37e8f4d6952c%40googlegroups.com<https://groups.google.com/d/msgid/jenkinsci-users/799ea334-37b4-4475-b317-37e8f4d6952c%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/9AD8B655B5126D4FAE1397203CDDBF2D16A820%40XCH-PHX-205.sw.nos.boeing.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to