Tom,  Thanks for this great progress. I sometimes need to use ps -Al | grep 
mono, rather than ps -aux. There is a child mono process left orphaned and 
adopted by PPID 1. The main problem is that it will not die. Neither kill nor 
kill -9 works and kill a PPID of 1 is not a good idea! 

Thanks
Tom

On 6 Dec 2012, at 13:28, Tom Haines wrote:

> 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.
> 
> 
> On Thu, Dec 6, 2012 at 6:12 AM, Tom <[email protected]> wrote:
> 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.
> 
> a) "Shutting down finalizer thread timed out."
> I am on a Mid 2012 Mac Book Pro, OS X 10.7.5, Mono 2.10.9.
> I have tried OS 0.7.3 and OS 0.7.4 (Robust and Standalone) and diva-r20232-b 
> (standalone).
> 
> 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 ).
> 
> 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.
> 
> If you can help I would be really grateful.
> Tom
> 
> The full error message is:
> 11:00:12 - [APPLICATION]: 
> APPLICATION EXCEPTION DETECTED: System.UnhandledExceptionEventArgs
> 
> Exception: System.Net.Sockets.SocketException: Address already in use
>   at System.Net.Sockets.Socket.Bind (System.Net.EndPoint local_end) [0x00000] 
> in <filename unknown>:0 
>   at OpenMetaverse.OpenSimUDPBase.Start (Int32 recvBufferSize, Boolean 
> asyncPacketHandling) [0x00000] in <filename unknown>:0 
>   at OpenSim.Region.ClientStack.LindenUDP.LLUDPServer.Start () [0x00000] in 
> <filename unknown>:0 
>   at OpenSim.Region.ClientStack.LindenUDP.LLUDPServerShim.Start () [0x00000] 
> in <filename unknown>:0 
>   at OpenSim.OpenSimBase.CreateRegion (OpenSim.Framework.RegionInfo 
> regionInfo, Boolean portadd_flag, Boolean do_post_init, IScene& mscene) 
> [0x00000] in <filename unknown>:0 
>   at OpenSim.OpenSimBase.CreateRegion (OpenSim.Framework.RegionInfo 
> regionInfo, Boolean portadd_flag, IScene& scene) [0x00000] in <filename 
> unknown>:0 
>   at OpenSim.ApplicationPlugins.LoadRegions.LoadRegionsPlugin.PostInitialise 
> () [0x00000] in <filename unknown>:0 
>   at OpenSim.OpenSimBase.StartupSpecific () [0x00000] in <filename unknown>:0 
>   at OpenSim.OpenSim.StartupSpecific () [0x00000] in <filename unknown>:0 
>   at OpenSim.Framework.Servers.BaseOpenSimServer.Startup () [0x00000] in 
> <filename unknown>:0 
>   at OpenSim.Application.Main (System.String[] args) [0x00000] in <filename 
> unknown>:0 
> 
> Application is terminating: True
> [ERROR] FATAL UNHANDLED EXCEPTION: System.Net.Sockets.SocketException: 
> Address already in use
>   at System.Net.Sockets.Socket.Bind (System.Net.EndPoint local_end) [0x00000] 
> in <filename unknown>:0 
>   at OpenMetaverse.OpenSimUDPBase.Start (Int32 recvBufferSize, Boolean 
> asyncPacketHandling) [0x00000] in <filename unknown>:0 
>   at OpenSim.Region.ClientStack.LindenUDP.LLUDPServer.Start () [0x00000] in 
> <filename unknown>:0 
>   at OpenSim.Region.ClientStack.LindenUDP.LLUDPServerShim.Start () [0x00000] 
> in <filename unknown>:0 
>   at OpenSim.OpenSimBase.CreateRegion (OpenSim.Framework.RegionInfo 
> regionInfo, Boolean portadd_flag, Boolean do_post_init, IScene& mscene) 
> [0x00000] in <filename unknown>:0 
>   at OpenSim.OpenSimBase.CreateRegion (OpenSim.Framework.RegionInfo 
> regionInfo, Boolean portadd_flag, IScene& scene) [0x00000] in <filename 
> unknown>:0 
>   at OpenSim.ApplicationPlugins.LoadRegions.LoadRegionsPlugin.PostInitialise 
> () [0x00000] in <filename unknown>:0 
>   at OpenSim.OpenSimBase.StartupSpecific () [0x00000] in <filename unknown>:0 
>   at OpenSim.OpenSim.StartupSpecific () [0x00000] in <filename unknown>:0 
>   at OpenSim.Framework.Servers.BaseOpenSimServer.Startup () [0x00000] in 
> <filename unknown>:0 
>   at OpenSim.Application.Main (System.String[] args) [0x00000] in <filename 
> unknown>:0 
>  
> Tom Willans  BSc(Hons)  MBCS  CITP
> PhD Student
> Serious Games Institute, Coventry University
> United Kingdom
> 
> Senior Research Representative: Faculty of Engineering and Computing
> Managing Director Bessacarr Publications Ltd
> +44 (0)121 288 0281
> email: [email protected]
> skype: tom.willans
> Second Life and OSGrid: Tom Tiros
> 
> 
> _______________________________________________
> Opensim-users mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/opensim-users
> 
> _______________________________________________
> Opensim-users mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/opensim-users

Tom Willans  BSc(Hons)  MBCS  CITP
PhD Student
Serious Games Institute, Coventry University
United Kingdom

Senior Research Representative: Faculty of Engineering and Computing
Managing Director Bessacarr Publications Ltd
+44 (0)121 288 0281
email: [email protected]
skype: tom.willans
Second Life and OSGrid: Tom Tiros

_______________________________________________
Opensim-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-users

Reply via email to