I noticed this a couple times now. After one of my builds times out, any attempt to start a new build queue’s it. No amount of clearing the queue etc seems to fix it. I open the Server Control panel and try to stop the build service but it won’t stop. I tried killing FinalBuilderServer.exe manually which worked. When I try to start it again, it won’t start and I get this in my event log. Reboot fixes it. Note management service is on another machine.
Service cannot be started. System.Runtime.Remoting.RemotingException: Remoting configuration failed with the exception 'System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.Net.Sockets.SocketException: Only one usage of each socket address (protocol/network address/port) is normally permitted
at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Bind(EndPoint localEP)
at System.Net.Sockets.TcpListener.Start(Int32 backlog)
at System.Net.Sockets.TcpListener.Start()
at System.Runtime.Remoting.Channels.ExclusiveTcpListener.Start(Boolean exclusiveAddressUse)
at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.StartListening(Object data)
at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.SetupChannel()
at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel…ctor(IDictionary properties, IServerChannelSinkProvider sinkProvider, IAuthorizeRemotingConnection authorizeCall…
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Hi Nelson,
The above error is usually caused when you’re attempting to start a second instance of the build service when there is already one running and from what you’ve described it sounds like you have a rogue child process of the build still alive that is preventing the build from being terminated and also preventing the service form completely shutting down. Could you download Process Explorer and monitor the processes that are created during the build and make sure that all child process of FBCMD.EXE are terminated when the build times out?
Process Explorer: http://live.sysinternals.com/procexp.exe
Regards,
Paul.