[Opensim-dev] Region server timeout crash bug?

Bin Chen chbpku at gmail.com
Tue Sep 2 16:25:25 UTC 2008


Maybe a bug found in OpenSim.Region.Communications.OGS1.OGS1GridServices.cs
Line#145:
  GridResp = GridReq.Send(serversInfo.GridURL, 90000);
This is a 90 seconds hard-coded timeout.
when my region includes more than 7000prims, this 90sec timeout crashed the
region server while register region to grid. Then I changed 90000 to 180000,
region server go through and forward without crash.

following is my report to opensim-user:
=================
Our grid includes 9 regions, and they were normal till this afternoon.

UGAIM servers are all running smoothly. when region server successfully
started the first 3 regions, when the 4th region was starting, we
encountered following error:

-----------------
16:16:37 - [MAPTILE
]: Generating Maptile Step 1: Terrain
16:16:37 - Fetched texture b8d3965a-ad78-bf43-699b-bff8eca6c975, found:
False
16:16:37 - Fetched texture abb783e6-3e93-26c0-248a-247666855da3, found:
False
16:16:37 - Fetched texture 179cdabd-398a-9b6b-1391-4dc333ba321f, found:
False
16:16:37 - Fetched texture beb169c7-11ea-fff2-efe5-0f24dc881df2, found:
False
16:16:37 - [MAPTILE
]: Generating Maptile Step 1: Done in 332 ms
16:16:38 - [MAPTILE
]: STORING MAPTILE IMAGE

16:16:38 - [GRID ASSET CLIENT
]: Sending store request for asset ea0ce59a-b1ce-4c4b-b8c6-6258c38071f5

16:18:18 - [GRID ASSET CLIENT]: System.Net.WebException: The request timed
out
  at System.Net.HttpWebRequest.GetRequestStream () [0x00000]
  at OpenSim.Framework.Servers.RestObjectPoster.BeginPostObject[AssetBase]
(System.String verb, System.String requestUrl, OpenSim.Framework.AssetBase
obj) [0x00000]
  at OpenSim.Framework.Servers.RestObjectPoster.BeginPostObject[AssetBase]
(System.String requestUrl, OpenSim.Framework.AssetBase obj) [0x00000]
  at OpenSim.Framework.Communications.Cache.GridAssetClient.StoreAsset
(OpenSim.Framework.AssetBase asset) [0x00000]

16:18:18 - [OGS1 GRID SERVICES
]: Attempting to register region pku4-1 with grid at
http://222.35.32.76:8001

16:19:48 - [STARTUP]: Registration of region with grid failed, aborting
startup - System.Exception: Unable to connect to grid at
http://222.35.32.76:8001. Grid service not running? --->
System.Net.WebException: The request timed out
  at System.Net.HttpWebRequest.GetRequestStream () [0x00000]
  at Nwc.XmlRpc.XmlRpcRequest.Send (System.String url, Int32 timeout)
[0x00000]
  at OpenSim.Region.Communications.OGS1.OGS1GridServices.RegisterRegion
(OpenSim.Framework.RegionInfo regionInfo) [0x00000] --- End of inner
exception stack trace ---

  at OpenSim.Region.Communications.OGS1.OGS1GridServices.RegisterRegion
(OpenSim.Framework.RegionInfo regionInfo) [0x00000]
  at
OpenSim.Region.Environment.Scenes.SceneCommunicationService.RegisterRegion
(OpenSim.Framework.RegionInfo regionInfos) [0x00000]
  at OpenSim.Region.Environment.Scenes.Scene.RegisterRegionWithGrid ()
[0x00000]
  at OpenSim.OpenSimBase.CreateRegion (OpenSim.Framework.RegionInfo
regionInfo, Boolean portadd_flag, Boolean do_post_init) [0x00000]
---------------------------------

This situation is totally confusing, How can I deal with it?

Thanks!

=================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20080903/66a65eec/attachment-0001.html>


More information about the Opensim-dev mailing list