Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007053opensim[REGION] OpenSim Corepublic2014-03-10 10:152014-03-11 18:02
ReporterArielle 
Assigned ToRobert Adams 
PriorityurgentSeveritymajorReproducibilityalways
StatusassignedResolutionopen 
PlatformDuo Core 4GBOSWindowsOS VersionWin 7
Product Versionmaster (dev code) 
Target VersionFixed in Version 
Summary0007053: Terrain editing causes high cpu usage for several minutes on minor editing.
DescriptionTerra forming on a varregion is almost impossible as ram usage doubles and Cpu is 100% during even minor editing. Edits take several minutes to become visible to inworld avatars which are frozen while the terrain is adjusting.

Size and strength sliders are set to about 50% each. Some of the editing options have unpredictable behaviours ie Roughen.
Steps To ReproduceCreate a Varregion with dimensions of x=2560 y=2560 z=256. Terrain fill 21. With inworld avatar, edit terrain.
Additional InformationThe server and viewer machines are on the same internal network.

Sim console produces a great deal of red errors during terra forming operations. A snippet is included below.

09:49:16 - [REGION DB MYSQL]: Storing terrain. X=2560, Y=2560, rev=27
09:49:17 - [BULLETSIM TERRAIN MANAGER]: Terrain for Ari9/<0, 0, 0> created with
Heightmap
09:49:27 - [WATCHDOG]: Timeout detected for thread "Heartbeat (Ari9)". ThreadSta
te=Running. Last tick was 5008ms ago.
09:49:29 - [REGION DB MYSQL]: Storing terrain. X=2560, Y=2560, rev=27
09:49:31 - [BULLETSIM TERRAIN MANAGER]: Terrain for Ari9/<0, 0, 0> created with
Heightmap
09:51:36 - [WATCHDOG]: Timeout detected for thread "Heartbeat (Ari9)". ThreadSta
te=Running. Last tick was 7691ms ago.
09:51:40 - [EVENT MANAGER]: Delegate for TriggerTerrainTick failed - continuing.
  Exception of type 'System.OutOfMemoryException' was thrown. at OpenSim.Regi
on.Framework.Scenes.TerrainChannel.GetDoubles() in C:\Users\jo\Documents\GitHub\
opensim\OpenSim\Region\Framework\Scenes\TerrainChannel.cs:line 143
09:51:41 - [BULLETSIM TERRAIN MANAGER]: Terrain for Ari9/<0, 0, 0> created with
Heightmap
09:51:43 - [WATCHDOG]: Timeout detected for thread "AsyncLSLCmdHandlerThread". T
hreadState=Background, WaitSleepJoin. Last tick was 5148ms ago.
09:52:11 - [WATCHDOG]: Timeout detected for thread "Heartbeat (Ari9)". ThreadSta
te=Running. Last tick was 7644ms ago.
09:52:21 - [EVENT MANAGER]: Delegate for TriggerTerrainTick failed - continuing.
  Exception of type 'System.OutOfMemoryException' was thrown. at OpenSim.Regi
on.Framework.Scenes.TerrainChannel.GetDoubles() in C:\Users\jo\Documents\GitHub\
opensim\OpenSim\Region\Framework\Scenes\TerrainChannel.cs:line 143
09:52:22 - [BULLETSIM TERRAIN MANAGER]: Terrain for Ari9/<0, 0, 0> created with
Heightmap
09:52:51 - [WATCHDOG]: Timeout detected for thread "Heartbeat (Ari9)". ThreadSta
te=Running. Last tick was 7316ms ago.
09:52:57 - [WATCHDOG]: 5522 ms since Watchdog last ran. Interval should be appr
oximately 2500 ms
09:53:06 - [SCRIPT INSTANCE]: Aborting unstopped script eye 76515489-769e-4671-8
611-8b970d0bf042 in prim Dream Horse, localID 1397524167, timeout was 100 ms
09:53:26 - [REGION DB MYSQL]: Storing terrain. X=2560, Y=2560, rev=27
09:53:36 - [BULLETSIM TERRAIN MANAGER]: Terrain for Ari9/<0, 0, 0> created with
Heightmap
09:54:03 - [WATCHDOG]: Timeout detected for thread "AsyncLSLCmdHandlerThread". T
hreadState=Background, WaitSleepJoin. Last tick was 8361ms ago.
09:54:10 - [WATCHDOG]: Timeout detected for thread "Heartbeat (Ari9)". ThreadSta
te=Running. Last tick was 5834ms ago.
09:54:12 - [WATCHDOG]: Timeout detected for thread "AsyncLSLCmdHandlerThread". T
hreadState=Background, WaitSleepJoin. Last tick was 6942ms ago.
09:54:29 - [WATCHDOG]: Timeout detected for thread "Incoming Packets (Ari9)". Th
readState=Running. Last tick was 6754ms ago. Data: Client is none
09:54:29 - [WATCHDOG]: Timeout detected for thread "Outgoing Packets (Ari9)". Th
readState=Running. Last tick was 6973ms ago. Data: Client is none
09:54:34 - [WATCHDOG]: 5055 ms since Watchdog last ran. Interval should be appr
oximately 2500 ms
09:54:38 - [WATCHDOG]: Timeout detected for thread "Incoming Packets (Ari9)". Th
readState=Running. Last tick was 6770ms ago. Data: Client is none
09:54:38 - [WATCHDOG]: Timeout detected for thread "Outgoing Packets (Ari9)". Th
readState=Running. Last tick was 7020ms ago. Data: Client is none
Region (Ari9) #
TagsNo tags attached.
Git Revision or version number
Run Mode Grid (1 Region per Sim)
Physics EngineBulletSim
Script Engine
Environment.NET / Windows32
Mono VersionNone
ViewerSingularity 1.8.5 (5617)
Attached Files

- Relationships

-  Notes
(0025416)
Robert Adams (administrator)
2014-03-11 07:17

I removed a bunch of memory thrashing and CPU usage when creating and sending terrain patches. See if the latest master makes this problem better.
(0025426)
Arielle (reporter)
2014-03-11 18:02
edited on: 2014-03-11 18:20

Tested the terrain editing on the current master r/24425 and it is much better now.
Thank you Robert :)

ps: for me at least the terrain loads almost immediately now when I login. That is on a x=2560 y=2560


- Issue History
Date Modified Username Field Change
2014-03-10 10:15 Arielle New Issue
2014-03-10 20:51 Robert Adams Assigned To => Robert Adams
2014-03-10 20:51 Robert Adams Status new => assigned
2014-03-11 07:17 Robert Adams Note Added: 0025416
2014-03-11 08:28 kenvc Note Added: 0025417
2014-03-11 18:02 Arielle Note Added: 0025426
2014-03-11 18:20 Arielle Note Edited: 0025426 View Revisions
2014-03-11 20:23 kenvc Note Deleted: 0025417


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker