Hi All We have this irritating problem when restarting jenkins that it hangs with port already in use:
INFO: Winstone shutdown successfully aug 10, 2015 11:57:41 AM winstone.Logger logInternal SEVERE: Container startup failed java.io.IOException: Failed to start Jetty at winstone.Launcher.<init>(Launcher.java:156) at winstone.Launcher.main(Launcher.java:354) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at Main._main(Main.java:293) at Main.main(Main.java:98) Caused by: java.net.BindException: Address already in use: bind I've tailed it to slave communication leaving a lot of sockets in FIN_WAIT_2 state, which will time out after around 120sec unless slave sends again and reset the timer: https://msdn.microsoft.com/en-us/library/windows/hardware/ff550023%28v=vs.85%29.aspx when they are gone it starts fine.We are running latest Jenkins 1.624. But I've not done anything on the slave it just starts a jekins.war file. should this also be updated? $ netstat -nao | grep ":8080" | grep FIN_WAIT_2 TCP 10.11.1.82:8080 10.11.1.75:52425 FIN_WAIT_2 5860 TCP 10.11.1.82:8080 10.11.1.75:52426 FIN_WAIT_2 5860 TCP 10.11.1.82:8080 10.11.1.75:52427 FIN_WAIT_2 5860 TCP 10.11.1.82:8080 10.11.1.75:52428 FIN_WAIT_2 5860 TCP 10.11.1.82:8080 10.11.1.75:52430 FIN_WAIT_2 5860 TCP 10.11.1.82:8080 10.11.1.75:52431 FIN_WAIT_2 5860 TCP 10.11.1.82:8080 10.11.1.75:52432 FIN_WAIT_2 5860 TCP 10.11.1.82:8080 10.11.1.75:52433 FIN_WAIT_2 5860 TCP 10.11.1.82:8080 10.11.1.75:52434 FIN_WAIT_2 5860 TCP 10.11.1.82:8080 10.11.1.75:52435 FIN_WAIT_2 5860 TCP 10.11.1.82:8080 10.11.1.75:52436 FIN_WAIT_2 5860 TCP 10.11.1.82:8080 10.11.1.75:52437 FIN_WAIT_2 5860 -- Morten Bjoernsvik, Oslo, Norway -- 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/ccbb126c-92a7-465b-9f4d-1e40238e27d5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.