Hi It seems that one particular remote client is causing OpenSim to open new connections over and over again.
Is it possible a firewall setting on the client could be causing the number of open connections to spiral out of control? Anyone else have experience of this? Thanks very much Clive > ------------------------------ > > Message: 4 > Date: Tue, 4 May 2010 08:56:37 +0100 > From: Clive Gould <cli...@gmail.com> > To: opensim-users@lists.berlios.de > Cc: t...@konge.net > Subject: Re: [Opensim-users] OpenSim crashing why? > Message-ID: > <h2h62a72a691005040056z1951e9b3ra4917cfac0e8e...@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > Hi > > The Linux command that finally did the trick was: > > netstat -anput > > Hi > > This showed that OpenSim was maintaining over 900 connections to the > remote IP 94.169.170.24 > > [open...@vleinternal ~]$ host 94.169.170.24 > 24.170.169.94.in-addr.arpa domain name pointer > cpc3-croy18-2-0-cust535.croy.cable.virginmedia.com. > > By restarting OpenSim and blocking 94.169.170.24 in /etc/hosts.deny > these connections, which I suspect were crashing the simulator > periodically, have gone away. > > Does anyone know what could cause all these open connections??? > > Thanks for all the help and advice > > Clive > > > > > On Mon, May 3, 2010 at 8:25 PM, <opensim-users-requ...@lists.berlios.de> > wrote: >> Send Opensim-users mailing list submissions to >> ? ? ? ?opensim-us...@lists.berlios.de >> ------------------------------ >> >> Message: 4 >> Date: Mon, 3 May 2010 21:25:34 +0200 >> From: "Tedd Hansen" <t...@konge.net> >> To: <opensim-users@lists.berlios.de> >> Subject: Re: [Opensim-users] OpenSim crashing why? >> Message-ID: <004901caeaf6$691ea1b0$3b5be5...@net> >> Content-Type: text/plain; ? ? ? charset="us-ascii" >> >> Hi >> >> netstat command will do that for you. >> Linux: netstat -nlap | less >> Windows: netstat -anb | more >> >> debian5:~# netstat -nlap | grep tcp | grep :8002 >> tcp ? ? ? ?0 ? ? ?0 0.0.0.0:8002 ? ? ? ? ? ?0.0.0.0:* ? ? ? ? ? ? ? LISTEN >> 13841/mono >> >> Br, >> ?Tedd >> >> -----Original Message----- >> From: opensim-users-boun...@lists.berlios.de >> [mailto:opensim-users-boun...@lists.berlios.de] On Behalf Of Clive Gould >> Sent: 3. mai 2010 21:22 >> To: opensim-users@lists.berlios.de >> Subject: Re: [Opensim-users] OpenSim crashing why? >> >> Hi >> >> Justin wrote: "By the look of it, something in OpenSim is failing to >> close connections. ?After 24 hours, the HttpServer embedded in OpenSim >> eventually finds that it runs out of sockets to play with." >> >> OpenSim is still crashing periodically. >> >> Any idea how I can find out how many connections the HTTP Server >> embedded in OpenSim thinks it has open at any one time? >> >> Is there a command from the Linux command line that will show this? >> (I've tried ps and netstat without success) >> >> Thanks very much >> >> Clive >> >> >>> Message: 2 >>> Date: Thu, 29 Apr 2010 23:38:49 +0100 >>> From: Justin Clark-Casey <jjusti...@googlemail.com> >>> Cc: opensim-users@lists.berlios.de >>> Subject: Re: [Opensim-users] OpenSim crashing why? >>> Message-ID: <4bda0a79.5020...@googlemail.com> >>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed >>> >>> Clive Gould wrote: >>>> Hi >>>> >>>> We're successfully using OpenSim for student project work at Bromley >> College. >>>> >>>> OpenSim 0.6.8 standalone has just started crashing on us every 24 hours >> or so. >>>> >>>> Logins are disabled and the OpenSim.log file fills up the CentOS home >>>> partition very quickly with error messages. >>>> >>>> Killing all processes owned by the opensim user, deleting the >>>> OpenSim.log file, restarting the vnc session and the opensim >>>> application cures the problem, until the next time. >>>> >>>> I append relevent excerpts from the error log to this message. >>>> >>>> Does anyone have any idea what may be causing this?? >>> >>> By the look of it, something in OpenSim is failing to close connections. >> After 24 hours, the HttpServer embedded in OpenSim eventually finds that it >> runs out of sockets to play with. >>> >>> I'm surprised to see this in standalone mode. ?Are you doing something >> with OpenSim in standalone mode that requires outbound connections (e.g. >> remote database, groups, etc.), or perhaps a script that regularly >> establishes an outbound connection? >>> >>> If this has just started crashing after being fine before then it suggests >> that something has changed locally to reveal a bug in OpenSim. >>> >>> -- Justin >>> >>>> >>>> Thanks >>>> >>>> Clive >>>> >>>> 2010-04-29 16:55:47,776 DEBUG - OpenSim.Region.Framework.Scenes.Scene >>>> [Scene] Adding new agent India Airie to scene Rookery_NW >>>> 2010-04-29 16:55:47,777 DEBUG - OpenSim.Region.Framework.Scenes.Scene >>>> [APPEARANCE]: Appearance not found in Rookery_NW, returning default >>>> >>>> 2010-04-29 16:55:55,132 DEBUG - >>>> OpenSim.Region.Framework.Scenes.SceneObjectGroup [SCENE]: Storing >>>> Primitive, 204f5d0d-a994-4d61-8fb1-4b8d3af433fd in Rookery_ >>>> SW >>>> 2010-04-29 16:56:14,262 DEBUG - >>>> OpenSim.Region.Framework.Scenes.SceneObjectGroup [SCENE]: Storing >>>> Primitive, 9b4c39ad-eebe-4417-9fd9-12a3994f17bc in Rookery_ >>>> SW >>>> 2010-04-29 16:57:30,449 DEBUG - >>>> OpenSim.Region.Framework.Scenes.SceneObjectGroup [SCENE]: Storing >>>> Primitive, 88551bb8-3fa2-4bd9-a2fb-78c74bf45f55 in Rookery_ >>>> SW >>>> >>>> 2010-04-29 17:16:15,070 DEBUG - >>>> OpenSim.Region.Framework.Scenes.SceneObjectGroup [SCENE]: Storing >>>> Primitive, 9b4c39ad-eebe-4417-9fd9-12a3994f17bc in Rookery SW >>>> >>>> 2010-04-29 17:17:11,209 ERROR - >>>> OpenSim.Framework.Servers.HttpServer.BaseHttpServer [BASE HTTP >>>> SERVER]: HttpServer.HttpListener had an exception >>>> System.Net.Sockets.SocketException: Too many open files >>>> ? at System.Net.Sockets.Socket.Accept () [0x00000] >>>> ? at System.Net.Sockets.Socket+Worker.Accept () [0x00000] >>>> 2010-04-29 17:17:11,255 ERROR - >>>> OpenSim.Framework.Servers.HttpServer.BaseHttpServer [BASE HTTP >>>> SERVER]: HttpServer.HttpListener had an exception >>>> System.Net.Sockets.SocketException: Too many open files >>>> ? at System.Net.Sockets.Socket.Accept () [0x00000] >>>> ? at System.Net.Sockets.Socket+Worker.Accept () [0x00000] >>>> 2010-04-29 17:17:11,273 ERROR - >>>> OpenSim.Framework.Servers.HttpServer.BaseHttpServer [BASE HTTP >>>> SERVER]: HttpServer.HttpListener had an exception >>>> System.Net.Sockets.SocketException: Too many open files >>>> ? at System.Net.Sockets.Socket.Accept () [0x00000] >>>> ? at System.Net.Sockets.Socket+Worker.Accept () [0x00000] >>>> ockets.SocketException: Too many open files >>>> ? at System.Net.Sockets.Socket.Accept () [0x00000] >>>> ? at System.Net.Sockets.Socket+Worker.Accept () [0x00000] >>>> >>> >>> >>> -- >>> Justin Clark-Casey (justincc) >>> http://justincc.org >>> http://twitter.com/justincc > > > ------------------------------ > > _______________________________________________ > Opensim-users mailing list > Opensim-users@lists.berlios.de > https://lists.berlios.de/mailman/listinfo/opensim-users > > > End of Opensim-users Digest, Vol 33, Issue 5 > ******************************************** > _______________________________________________ Opensim-users mailing list Opensim-users@lists.berlios.de https://lists.berlios.de/mailman/listinfo/opensim-users