<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
There are some diagnostics commands like<BR>
 <BR>
show statistics<BR>
and<BR>
show queues<BR>
 <BR>
that could sometimes be instructional.<BR><BR>
Also, you can monitor the regions with the Statistics module that resides on /SStats on the region http server (if my memory serve me right)<BR><BR>Best regards,<BR>Stefan Andersson<BR>Tribal Media AB<BR><BR><BR><BR> <BR>> To: opensim-users@lists.berlios.de<BR>> From: opensim@jfhopkin.karoo.co.uk<BR>> Date: Thu, 12 Feb 2009 19:07:21 +0000<BR>> Subject: [Opensim-users] Help in CPU usage diagnosis, please<BR>> <BR>> I've noticed the past couple of builds I've used have sometimes make<BR>> heavy use of the CPU even when idle. For example, today, after<BR>> leaving the system idle overnight, the two virtual CPUs (a single-core<BR>> Pentium 4) were running constantly at 96-99% each, whereas normally<BR>> I'd expect 35-40% and 12-15% during idle running, most of that<BR>> non-Opensim overhead.<BR>> <BR>> When this happens, sometimes - but not always - a reload of the server<BR>> fixes it. I'm only running a single OpenSim.exe, and using OSGrid's<BR>> UGAIM.<BR>> <BR>> This is noticeable in-world as lag, and I'd like to find out what's<BR>> causing it, but I don't know how to narrow it down, other than by<BR>> eliminating various regions and also disabling services such as<BR>> scripting and prim physics. With five regions, and more on the way,<BR>> it's pretty difficult to eliminate anything that way, especially with<BR>> something that's intermittent like this.<BR>> <BR>> It strikes me that I know very little of what I, as a user, can do to<BR>> try to diagnose something like this. I'd like to have more details<BR>> before I file a Mantis, since a description alone can't really be much<BR>> use to the devs. The steps I could take with what knowledge I have<BR>> are:<BR>> <BR>> 1. Examine OpenSim.log and look for anything suspicious-looking,<BR>> especially if it's happening repeatedly. Do the same with the<BR>> on-screen messages (difficult, since the virtual console only scrolls<BR>> back so far).<BR>> <BR>> 2. Look at other vital signs, such as network use and free memory -<BR>> in this case, these are normal. In fact, at 33-38% user memory used<BR>> of 2GB for four regions, that's better lately than it's been for a<BR>> long time.<BR>> <BR>> 3. Selectively disable various regions and services, as mentioned<BR>> above, and monitor the situation over time. This is difficult, as it<BR>> naturally affects our use of the sim in the meantime.<BR>> <BR>> 4. Make sure that it is the OpenSim.exe process that's causing it by<BR>> using "ps" (in *nix) and similar tools to examine the process. (It<BR>> is).<BR>> <BR>> What else can I do, in general terms? What debugging tools and<BR>> techniques can a user with little direct experience of OS's internal<BR>> machinations use to help pinpoint a problem? Is there any way of<BR>> finding out the resource usage of, say, individual modules? Of<BR>> getting more detailed logs? Anything?<BR>> <BR>> Please note that the actual problem I'm having at the moment is only<BR>> an example - I'm interested in general in being able to be more<BR>> proactive in diagnosing Opensim problems, knowing as a developer<BR>> myself (though not in this project) how valuable more detail from<BR>> users can be in tacking a problem.<BR>> -- <BR>> John Hopkin<BR>> <BR>> _______________________________________________<BR>> Opensim-users mailing list<BR>> Opensim-users@lists.berlios.de<BR>> https://lists.berlios.de/mailman/listinfo/opensim-users<BR></body>
</html>