• All submissions to this site are governed by Second Life Project Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.
Issue Details (XML | Word | Printable)

Key: SVC-2041
Type: Bug Bug
Status: Resolved Resolved
Resolution: Under Advisement
Priority: Critical Critical
Assignee: Unassigned
Reporter: Funk Schnook
Votes: 6
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
2. Second Life Service - SVC

Simulator pending upload/download handling needs a rewrite

Created: 03/Apr/08 05:45 PM   Updated: 11/May/09 01:52 PM
Return to search
Component/s: Performance
Affects Version/s: 1.20.0 Server
Fix Version/s: None

File Attachments: None
Image Attachments:

1. pending downloads.jpg
(117 kB)
Environment:
Second Life 1.19.0 (5) Feb 28 2008 17:18:12 (Second Life Release)

You are at 240528.7, 242445.4, 425.1 in FNKY Cake located at sim3442.agni.lindenlab.com (216.82.21.177:13004)
Second Life Server 1.20.0.83892

CPU: Intel Core 2 Series Processor (2405 MHz)
Memory: 2048 MB
OS Version: Microsoft Windows XP Service Pack 2 (Build 2600)
Graphics Card Vendor: NVIDIA Corporation
Graphics Card: GeForce 8800 GTS/PCI/SSE2
OpenGL Version: 2.1.1
LLMozLib Version: 1.1.0 (Mozilla GRE:1.8.0.12_0000000000)
Packets Lost: 0/14312 (0.0%)
Viewer Digest: 6b1bac12-2a86-e1f2-aa5e-3108db5c8eeb
Issue Links:
Relates
 

Last Triaged: 11/May/09 01:52 PM


 Description  « Hide
I have been having major issues with the sim's pending downloads getting "stuck", due to an asset being retrieved timing out. The asset can be anything from an animation to a small 32x32 pixel texture (as shown by the support staff who clears the queue for me all too regularly). This can happen whether the sim has 2 people or 30 people on it. The size of the asset and the simulator traffic doesnt seem to matter.

The problem is the sim cant retrieve the asset fast enough or the asset times out and is never fully received by the sim due to a possible network error between the asset server and the sim (guess?). When an asset times out, the simulator keeps trying for 15 minutes. That means each time an asset times out, my sim is useless for 15 minutes. This happens multiple times a day, but recently it is happening multiple times an HOUR.

When the simulator is in this state, purchases fail, rezzing fails etc. I am wasting several hours each day resending failed purchases to customers because of this problem.

I think its time to rewrite this sim code so more than 1 upload/download can be handled by the sim at the same time. Assets will always time out due to reasons out of everyones control (dropped network connection, overloaded asset server etc) so the sim needs to handle this gracefully instead of sitting there for 15 minutes stalling all other activity. Why is the sim limited to handing only ONE asset at a time?

You have rewritten the physics code (h4) and client renderer (windlight). Now its time to rewrite asset handling by the simulator. Please devs, look into a better solution.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
sarah showboat added a comment - 04/Apr/08 03:42 PM
My region Avaron has the same issue. Almost daily pending downloads creep up to over 100 and business comes to a halt. I've tried resetting the region only to see the queue fill up again.

sarah showboat added a comment - 04/Apr/08 04:58 PM
I never thought i'd see them this high. When logging in today it reached 684 pending downloads. I immediately snapped a photo, and restarted my sim.
=(

Lex Neva added a comment - 05/Apr/08 11:36 AM
I see this problem often in my region. Pending downloads and/or pending uploads get stuck. I remember hearing from a linden at one point that it's exactly as you say: the pending items are processed one at a time, in order, and if one fails for whatever reason, everything else waits until it succeeds.

Last night saw this problem in spades... but then again, as we're seeing on the blog now (http://blog.secondlife.com/2008/04/05/logins-disabled-until-further-notice/), this was due to an internet-wide routing problem. Even still, the system ought to be resilient in less disastrous situations.


Cubey Terra added a comment - 16/May/08 09:09 AM
This problem happens very often in Abbotts. Pending downloads get stuck and prevents anything from rezzing, leading to timeouts.