I've found that when I experience that issue, "ps aux | grep mono" will find a mono still running, and I just kill that process. Doesn't solve the underlying problem, but stops me from having to reboot. Although, I haven't had this issue in a while, so I'm not sure if it still holds true.<div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, Dec 6, 2012 at 6:12 AM, Tom <span dir="ltr"><<a href="mailto:tom.willans@bessacarr.com" target="_blank">tom.willans@bessacarr.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Does anyone know how to a) prevent the error message "Shutting down finalizer thread timed out." when shutting down the opensim (grid, standalone, diva). and b) how to locate and kill the, presumably, process that continues to use the port e.g. 9000 for local standalone.<div>
<br></div><div>a) "Shutting down finalizer thread timed out."</div><div>I am on a Mid 2012 Mac Book Pro, OS X 10.7.5, Mono 2.10.9.</div><div>I have tried OS 0.7.3 and OS 0.7.4 (Robust and Standalone) and diva-r20232-b (standalone).</div>
<div><br></div><div>When a try to start the OpenSim again I get I get the error message "Exception: System.Net.Sockets.SocketException: Address already in use" ( see full output below). leading me to suspect that there is a process still using port 9000. I have trued mono OpenSim.32BitLaunch.exe and mono OpenSim.exe ( I understand that OpenSim.32BitLaunch.exe is no longer needed ).</div>
<div><br></div><div>b) If I use lsof -i:9000 ) which should identify the process using port 9000 it detects nothing except when the OpenSim is working correctly. I had hoped to be able to kill the process and then restart OpenSim. Only restarting the computer seem to work.</div>
<div><br></div><div>If you can help I would be really grateful.</div><div>Tom</div><div><br></div><div>The full error message is:</div><div><div>11:00:12 - [APPLICATION]: </div><div>APPLICATION EXCEPTION DETECTED: System.UnhandledExceptionEventArgs</div>
<div><br></div><div>Exception: System.Net.Sockets.SocketException: Address already in use</div><div> at System.Net.Sockets.Socket.Bind (System.Net.EndPoint local_end) [0x00000] in <filename unknown>:0 </div><div> at OpenMetaverse.OpenSimUDPBase.Start (Int32 recvBufferSize, Boolean asyncPacketHandling) [0x00000] in <filename unknown>:0 </div>
<div> at OpenSim.Region.ClientStack.LindenUDP.LLUDPServer.Start () [0x00000] in <filename unknown>:0 </div><div> at OpenSim.Region.ClientStack.LindenUDP.LLUDPServerShim.Start () [0x00000] in <filename unknown>:0 </div>
<div> at OpenSim.OpenSimBase.CreateRegion (OpenSim.Framework.RegionInfo regionInfo, Boolean portadd_flag, Boolean do_post_init, IScene& mscene) [0x00000] in <filename unknown>:0 </div><div> at OpenSim.OpenSimBase.CreateRegion (OpenSim.Framework.RegionInfo regionInfo, Boolean portadd_flag, IScene& scene) [0x00000] in <filename unknown>:0 </div>
<div> at OpenSim.ApplicationPlugins.LoadRegions.LoadRegionsPlugin.PostInitialise () [0x00000] in <filename unknown>:0 </div><div> at OpenSim.OpenSimBase.StartupSpecific () [0x00000] in <filename unknown>:0 </div>
<div> at OpenSim.OpenSim.StartupSpecific () [0x00000] in <filename unknown>:0 </div><div> at OpenSim.Framework.Servers.BaseOpenSimServer.Startup () [0x00000] in <filename unknown>:0 </div><div> at OpenSim.Application.Main (System.String[] args) [0x00000] in <filename unknown>:0 </div>
<div><br></div><div>Application is terminating: True</div><div>[ERROR] FATAL UNHANDLED EXCEPTION: System.Net.Sockets.SocketException: Address already in use</div><div> at System.Net.Sockets.Socket.Bind (System.Net.EndPoint local_end) [0x00000] in <filename unknown>:0 </div>
<div> at OpenMetaverse.OpenSimUDPBase.Start (Int32 recvBufferSize, Boolean asyncPacketHandling) [0x00000] in <filename unknown>:0 </div><div> at OpenSim.Region.ClientStack.LindenUDP.LLUDPServer.Start () [0x00000] in <filename unknown>:0 </div>
<div> at OpenSim.Region.ClientStack.LindenUDP.LLUDPServerShim.Start () [0x00000] in <filename unknown>:0 </div><div> at OpenSim.OpenSimBase.CreateRegion (OpenSim.Framework.RegionInfo regionInfo, Boolean portadd_flag, Boolean do_post_init, IScene& mscene) [0x00000] in <filename unknown>:0 </div>
<div> at OpenSim.OpenSimBase.CreateRegion (OpenSim.Framework.RegionInfo regionInfo, Boolean portadd_flag, IScene& scene) [0x00000] in <filename unknown>:0 </div><div> at OpenSim.ApplicationPlugins.LoadRegions.LoadRegionsPlugin.PostInitialise () [0x00000] in <filename unknown>:0 </div>
<div> at OpenSim.OpenSimBase.StartupSpecific () [0x00000] in <filename unknown>:0 </div><div> at OpenSim.OpenSim.StartupSpecific () [0x00000] in <filename unknown>:0 </div><div> at OpenSim.Framework.Servers.BaseOpenSimServer.Startup () [0x00000] in <filename unknown>:0 </div>
<div> at OpenSim.Application.Main (System.String[] args) [0x00000] in <filename unknown>:0 </div></div><div> </div><div><div>
<div style="word-wrap:break-word"><div style="word-wrap:break-word"><span style="text-align:-webkit-auto;text-indent:0px"><div style="word-wrap:break-word"><span style="text-align:-webkit-auto;text-indent:0px"><div style="word-wrap:break-word">
<span style="text-align:-webkit-auto;text-indent:0px"><div style="word-wrap:break-word"><span style="text-align:-webkit-auto;text-indent:0px"><div style="word-wrap:break-word"><span style="text-align:-webkit-auto;text-indent:0px"><div style="word-wrap:break-word">
<span style="text-indent:0px"><div style="word-wrap:break-word"><span style="text-indent:0px"><div style="word-wrap:break-word"><span style="text-indent:0px"><div style="word-wrap:break-word"><span style="text-indent:0px"><div style="word-wrap:break-word">
<div><div><span style="text-indent:0px"><span style="text-indent:0px"><div style="word-wrap:break-word"><span style="text-indent:0px"><div style="word-wrap:break-word"><span style="text-indent:0px"><div style="word-wrap:break-word">
<div><div>Tom Willans BSc(Hons) MBCS CITP</div><div>PhD Student</div><div>Serious Games Institute, Coventry University</div><div>United Kingdom</div><div><br></div><div>Senior Research Representative: Faculty of Engineering and Computing</div>
<div>Managing Director Bessacarr Publications Ltd</div><div><a href="tel:%2B44%20%280%29121%20288%200281" value="+441212880281" target="_blank">+44 (0)121 288 0281</a></div><div>email: <a href="mailto:tom.willans@bessacarr.com" target="_blank">tom.willans@bessacarr.com</a></div>
<div>skype: tom.willans</div><div>Second Life and OSGrid: Tom Tiros</div></div></div></span></div></span></div></span></span></div></div></div></span></div></span></div></span></div></span></div></span></div></span></div>
</span></div></span></div></span></div></div>
</div>
<br></div></div><br>_______________________________________________<br>
Opensim-users mailing list<br>
<a href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-users" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a><br></blockquote></div><br></div>