[Opensim-dev] Profiler installed on osgrid plazas server and profiler dump now available

Justin Clark-Casey jjustincc at googlemail.com
Fri Feb 22 22:52:26 UTC 2008


As implied, Wright Plaza is a region running on OSGrid.  As such, the 
memory leak can only occur in OpenSim.exe

Impalah wrote:
> Questions...
>
> The test was on a grid or standalone opensim?
>
> And the memory increases where? In opensim.exe, assetserver.exe...?
>
> (Yes, noob questions, it's only for identifying the "guilty" application).
>
>
>
> 2008/2/22, Justin Clark-Casey <jjustincc at googlemail.com 
> <mailto:jjustincc at googlemail.com>>:
>
>     This afternoon (with a bit of haxoring) I installed the mono heap-shot
>     profiler on the OSGrid plazas server in pursuit of current memory
>     leaks.  heap-shot will take a dump while in operation when it
>     receives a
>     signal.  More details on it can be found here.
>
>     http://www.mono-project.com/HeapShot
>
>     Now that it's installed it's very easy to run, if anyone with
>     access to
>     the plazas wants to take further dumps.
>
>     I started the profile on Wright Plaza with just me on it.
>     Interestingly, that was enough to cause memory to continuously grow.
>     This was associated with continuous requests for the same assets
>     (which
>     do not exist) on the console.  This in itself, though bad, should
>     not be
>     enough to cause the memory leak.  I took several dumps, the
>     smallest of
>     which (along with the log file) can be downloaded from
>
>     http://opensimulator.org/dump/OpenSim-at-595mb-one-avatar-with-scripts-wright.zip
>
>     On a very preliminary analysis of the dump, it looked like the major
>     problem is data building up in the outgoing texture packet
>     queue.  This
>     is why I created extra statistical information which prints out the
>     number of packets in the different queue types for each agent
>     (which can
>     be seen by typing 'show stats' on the console).  Hopefully this should
>     reveal whether this is really where the issue is (I'm not yet
>     convinced
>     I'm interpreting the dump information correctly).
>
>     I very probably won't have any time now to work on this until next
>     week
>     - I thought I would make the data available for general interest
>     and in
>     case anyone wanted to take a shot at it.
>
>
>     --
>     justincc
>     _______________________________________________
>     Opensim-dev mailing list
>     Opensim-dev at lists.berlios.de <mailto:Opensim-dev at lists.berlios.de>
>     https://lists.berlios.de/mailman/listinfo/opensim-dev
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
>   




More information about the Opensim-dev mailing list