Server Bugs

• Use concise, precise descriptions
• Do not include sensitive information.
• Create a support ticket at https://support.secondlife.com for individual account issues or sensitive information.
Server keeps pushing conference chat messages after you left the chat
Before any of you who are not great with reading comprehension skills want to merge this into one of the poorly reported issues, read this carefully and ask your supervisor to read it as well. Others have reported conference chat issues recently and they got some of the symptoms in those reports, but they hadn't recognized the problem itself, so those bug reports are incorrect. One is focusing on blocked people still being able to send invitations, others focus on busy venues or regions and there are some really poorly written reports, too. Here is the issue very simply put: If someone invites hundreds of people to a conference chat at the same time, no matter the participants leave the chat, the server doesn't recognize that they had left and it keeps sending them new messages from the conference chat session. In more detail, this goes like this: 1: A well-known troll (for example Hillary Davi) collects hundreds (or thousands, I suppose) of names on their contact sets over time 2: They select all these names at once and select Send IM 3: This will attempt to open a conference chat with every target that is online at the time. Those who are online and are not in unavailable mode will be added to the conference chat participants. 4: Many people start replying to the random chat and it gets chaotic with multiple replies per second. 5: Many people leave the conference chat by closing it or automatically if they enabled Firestorm's "Automatically ignore and leave all conference (ad-hoc) chats" option 6: The issue: Due to the unusually high numbers of participants, the IM server doesn't disconnect the participants that had left the conference chat and it keeps sending them new messages. 7: This results in entirely new conference chat sessions for those who don't use the "Automatically ignore and leave all conference (ad-hoc) chats" option, starting with any new random message from a participant that keeps replying, and with a notification from the viewer for those who enabled this feature, which looks like this: You've been invited to a conference (ad-hoc) chat by Hillary Davi , but viewer automatically ignored it because of your settings. 8: This keeps going on as long as the conference chat session dies on its own or if you log out. Want to reproduce this? 1: Hang out with Hillary Davi - the best bet where to find them is Blake Sea - Sirens Isle 2: Use an account that has access to LL's internal logging tools but one that is NOT named Linden or Mole or Tester - Hillary isn't that dumb. 3: Repeat step 1 a few times. You will be added to the conference chat target contact list sooner or later. 4: Keep that account online a lot. Eventually you will receive the conference chat. 5: Close the conference chat. 6: You will receive a new one right away, showing as if the first new message's sender invited you to it. OTHERWISE you can try to reproduce this issue only using LL and test accounts, but you'll need more than 200 of them or even more, so unless you can have a huge test party at the Lab, go with the first option. I know your first question will be if I can give you chat logs, where and when exactly I received the conference messages, etcetc. The ones I have are quite outdated right now and I use the conference auto-block feature lately, but if you reply to this ticket and would like to receive such info, I'll be happy to disable it and collect some of the data for you. :)
0
Intermittent timing race with event poller
There are some delicate relationships between the event poller server side timeout, the event poller viewer side timeout and the child agent inactivity server side timeout. Problems in this area have been discovered before. I think I just got to the bottom of another one. This is not something that needs an urgent fix, but if any work is done on the event poller, this issue needs to be considered. Pepper Linden has told me that there's a 50-secoind timer which causes the server to disconnect a child agent for inactivity. I've seen that happening. If the viewer's long poll timeout is longer than 50 seconds, there is a possibiilty of child agents timing out and a DisableSimulator being sent. I've done some tests in Sharpview. A 90 second timeout causes an unexpected DisableSimulator for an active child region followed by a viewer disconnect about once every hour. With a 15 second timeout, that does not happen in 24 hours. So I now have a workaround inside Sharpview. Here is what I think is happening. I can only see viewer side, of course. Pepper set up an island atop a region corner at Blake Sea - Nelson on aditi. I set up a train track loop which goes right through the region corner, and a small train which endlessly circles the loop. We put avatars on the train and run unattended region crossing tests for hours or days. This is a useful stress test and has brought out some region crossing bugs, which have been fixed. By now, the LL and Firestorm viewers can run that test for a full day without error. But when I run one of the avatars from my Sharpview viewer, it was failing in 1-3 hours. I was using a long HTTPS poll with a 90 second timeout. That works fine until you start running multi-hour tests. Why would the timeout matter? Because, apparently, no activity on the event channel for 50 seconds causes a DisableSimulator. An event channel timeout seems to count as "activity". So if the event channel timeout is longer than the DisableSimulator timeout, and there's no real traffic on the event channel, and it's a child region, and the timers line up, the region disables itself for that viewer for inactivity. Henri Beauchamp has experimented with various timeouts in his viewer, and notes that behavior changes with the timeout value. Since both server and viewer can time out, whomeever has the shorter timeout times out first. If both have the same timeout, there's a race. We're still not sure about all the possible race conditions. I'd suggest a solid fix that gets rid of HTTPS timeouts. When there are no events to send, the servers should send an empty array of events over the event channel every 15-20 seconds to keep the connection alive. Existing viewers should ignore such an empty array. so this should not affect existing viewers. All HTTPS transactions on the event channel then become OK 200 transactions, the happy path. Overhead drops, because re-establishing the HTTPS connection several times a minute means a full cryptographic handshake, while sending a short message over an existing persistent connection is much cheaper. If there are any remaining unexplained event poll problems, this is probably worth doing. It's so easy to create intermittent problems by changing one of those numbers. Changes to libcurl, Apache (which, I think, front-ends the HTTPS caps on sim servers), the sim servers themselves, or viewers can affect this. It's a huge pain to diagnose such problems, because the failure rate is so low and you need a test fixture like the little train on its track loop. This took weeks of work, because the test is so slow.
5
Load More
→