[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensim-users
Subject:    Re: [Opensim-users] Slow handling of POST -
From:       Justin Clark-Casey <jjustincc () googlemail ! com>
Date:       2012-10-24 3:03:24
Message-ID: 50875A7C.4000208 () googlemail ! com
[Download RAW message or body]

OSgrid services architecture has an nginx instance that is acting as a load balancer \
before requests are passed on to  SRAS instances which implement the asset service.

The 504 gateway timeouts you are seeing are because SRAS instances are not responding \
with data before the nginx 60  second timeout, unless you have another proxy between \
your simulator and osgrid.

Making enquiries today, I now know that osgrid has been doing an asset service \
migration since the start of October.  In  the medium term this will result in a more \
responsive asset service.  However, right now it's possible that for periods  the \
asset service is slow to respond.  This is due to continue for at least another \
couple of weeks.

Changes have now been made to cache data on nginx rather than always hit SRAS.  This \
may help.

I'm not sure whether this might be the underlying cause of your earlier problems or \
not.  Either way, while it exists  it's hard to debug anything else.

This might also be the cause of recent white texture problems on osgrid.

Unfortunately, this is pegging the disk
On 23/10/12 09:28, Ai Austin wrote:
> Just to report a bit more on this from my testing in recent weeks.  I have used \
> various OpenSim 0.7.5 dev master copies in between the last OSGrid packaged release \
> 3 weeks ago and one released just a few hours ago. 
> I tried the changes that Diva Canto made for proxy handling just prior to reverting \
> the changes so people could test, and I did not observe any change in the slow post \
> issues in the week I ran that version. 
> I also installed a version after some changes by Melanie to increase the number of \
> concurrent connections from the original 2... I was still seeing the slow post \
> issues. 
> More to the point, I just installed the r/20777 today from the OSGridfpackaged \
> reelase of 0.7.5 dev master and on startup I still see a lot of VERY slow responses \
> - can they really be taking 69 seconds? -   even before any avatar has logged into \
> the region. 
> Here is one extract from the startup log just now on first run of the OpernSim.exe \
> instance of some regions with relatively little content as add-on region to \
> OSGrid... 
> 09:17:02 - [SynchronousRestObjectRequester]: WebException for GET http://assets.
> osgrid.org/assets/7c2ee836-dc42-4100-be85-ff983385d78b OpenSim.Framework.AssetBa
> se: The remote server returned an error: (504) Gateway Timeout.    at System.Net
> .HttpWebRequest.GetResponse()
> at OpenSim.Framework.SynchronousRestObjectRequester.MakeRequest[TRequest,TRes
> ponse](String verb, String requestUrl, TRequest obj, Int32 pTimeout, Int32 maxCo
> nnections) in d:\OSGRID\OSGRID 0.7 RELEASES\osgrid.opensim-10232012.v0.7.5-36bfd
> 3667c44f7cd4e66e880c45c34903ed34842\OpenSim\Framework\WebUtil.cs:line 1126
> 
> 09:17:02 - [SynchronousRestObjectRequester]: Slow request 113 GET http://assets.
> osgrid.org/assets/7c2ee836-dc42-4100-be85-ff983385d78b took 60139ms, 0ms writing,
> 
> [WARNING]: EOC marker not found. Codestream is corrupted.
> 
> 09:18:49 - [SynchronousRestObjectRequester]: WebException for GET http://assets.
> osgrid.org/assets/783f8b90-c2e9-4555-a16f-8a57185c3069 OpenSim.Framework.AssetBa
> se: The remote server returned an error: (504) Gateway Timeout.    at System.Net
> .HttpWebRequest.GetResponse()
> at OpenSim.Framework.SynchronousRestObjectRequester.MakeRequest[TRequest,TRes
> ponse](String verb, String requestUrl, TRequest obj, Int32 pTimeout, Int32 maxCo
> nnections) in d:\OSGRID\OSGRID 0.7 RELEASES\osgrid.opensim-10232012.v0.7.5-36bfd
> 3667c44f7cd4e66e880c45c34903ed34842\OpenSim\Framework\WebUtil.cs:line 1126
> 
> 09:18:49 - [SynchronousRestObjectRequester]: Slow request 175 GET http://assets.
> osgrid.org/assets/783f8b90-c2e9-4555-a16f-8a57185c3069 took 63133ms, 0ms writing,
> 
> 09:20:09 - [SynchronousRestObjectRequester]: WebException for GET http://assets.
> osgrid.org/assets/dd2854dd-314b-4118-a8b7-2c33794e6c9f OpenSim.Framework.AssetBa
> se: The remote server returned an error: (504) Gateway Timeout.    at System.Net
> .HttpWebRequest.GetResponse()
> at OpenSim.Framework.SynchronousRestObjectRequester.MakeRequest[TRequest,TRes
> ponse](String verb, String requestUrl, TRequest obj, Int32 pTimeout, Int32 maxCo
> nnections) in d:\OSGRID\OSGRID 0.7 RELEASES\osgrid.opensim-10232012.v0.7.5-36bfd
> 3667c44f7cd4e66e880c45c34903ed34842\OpenSim\Framework\WebUtil.cs:line 1126
> 
> 09:20:09 - [SynchronousRestObjectRequester]: Slow request 185 GET http://assets.
> osgrid.org/assets/dd2854dd-314b-4118-a8b7-2c33794e6c9f took 69451ms, 0ms writing,
> 
> _______________________________________________
> Opensim-users mailing list
> Opensim-users@lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-users
> 


-- 
Justin Clark-Casey (justincc)
OSVW Consulting
http://justincc.org
http://twitter.com/justincc
_______________________________________________
Opensim-users mailing list
Opensim-users@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic