TrustNet Server’s PSU Blew Up

January 8, 2008

About an hour ago I noticed the server was off. On looking at it, the power supply was very hot. I thought the problem was that it got clogged with dust and shutdown. So I used some canned air on it, and gave it a good cleaning. Then I plugged it back in. That turned out to have been a bad idea.

The PSU made several loud exploding noises, and bright sparks could be seen inside. Pretty scary stuff since this happened the moment I plugged the cable in, so I had my hand right near the thing. Lights went out.

I unplugged the cable, and turned things back on. Fortunately, the UPS it was connected to survived fine. Inside the server nothing looks obviously burned up, but since this is an ATX case, the PSU provides power even when the computer is supposed to be off, so something might have got fried.

The server will remain down for some hours, as it’s late here and no shops are open. If I’m lucky, and only the PSU died then it’ll go back up as soon as I get a new one, otherwise it could unfortunately take a few days, as I may not be able to get replacement hardware on the same day.

TrustNet won’t be working while the server is broken. If you’re constantly getting errors, reset the scanner. It should fail to login and then shut up. The downtime will be credited towards your subscription when it comes back online.


[Done] Server’s RAID resyncing, please excuse the bad performance

August 6, 2007

My old UPS had a really worn out battery and was due to replacement. I got a new one weeks ago, but I was counting on replacing it during SL downtime. Only power happened to go out before SL went down for maintenance. So I plugged in the new UPS and all is good now.

Well, almost. Due to the unexpected powerdown, the RAID is resyncing and that’s making things very slow. So if you use TrustNet and notice errors or bad performance, this is why. It should be back to normal in about 4 hours (I intentionally slowed the resync so that things are at least usable, but performance will still be impaired meanwhile).

Update: It’s done now, things should be back to normal


Internal Changes In Progress

May 6, 2007

The TrustNet server was originally made to service LSL scripts. This has worked nicely for now, but has a number of inconveniences. For example, the format used to talk to clients is rather ugly and hard to extend. Things had to be sacrificed to make it easier to deal with from LSL. Now that not only the in-world scanners talk to the server, some changes are needed.

I’m reworking the server code to be able to produce output in multiple formats. In fact, a good part of the work is already complete. The new code will be able to produce output both in LSL-friendly and XML formats. The later has vast advantages over the former, such as being able to return data with newlines in it, such as comments. It also allows to get better performance — the server will be able to accept multiple commands in one batch and process them as one transaction. This should result in a better performance on the website.

The reason this is being done is because the website is actually a TrustNet client like any other, and doesn’t have a direct access to the database. The current format puts limits on the data that can be transmitted, and it’s starting to become inconvenient to code website support in the server according to limits that only apply to LSL clients anyway.

These changes shouldn’t affect the server’s functionality. If something breaks, please IM me about it.


In-world TrustNet Shop Opened

April 14, 2007

Now you can get a free TrustNet scanner in-world as well, at the TrustNet place in Sprawler.

For more places where to get it, see the list of locations in the TrustNet page


Where To Get TrustNet

April 13, 2007

I’ve recently been getting IMs from people wondering where to get my TrustNet scanner.

You can get the scanner for free at:

  • SL Exchange
  • SL Boutique
  • In-world
  • From existing users: People who have a scanner already can give free copies to other people by clicking on a name in the avatar list, then clicking “Give copy”.

“Explain” Format Changed

January 22, 2007

In order to accomodate some server-side improvements, the format of the output of the Explain (click on avatar -> rate -> explain) command changed. The previous output looked like this when Alice checked the score for Dave:

Alice
    Bob
        Dave
            behavior 1
    Carol
        Trent
            Dave
                behavior 0.1

This was rather too long and took too much of the valuable and very scarce script memory. The output was changed to make it more compact, so that more useful results can be produced.

  • The avatar being checked doesn’t appear in the output anymore.
  • A header was added to the output.
  • Rating names have been shortened (“bhv” instead of “behavior”)
  • Number of spaces used for indentation reduced from 4 to 2.
  • Added the “+” sign in front of positive scores.
  • Added comments if they exist (in parentheses)
  • Added expiration times if they exist (in square brackets)
  • If the output is too long, it will be cut off to avoid causing a stack/heap collision.

Now the same information looks like this:

=== Ratings for Dave ===
Alice
    Bob: bhv +1 (Dave rules)
    Carol
        Trent: bhv +0.1 [00:35:12]

Server Upgrades Finally Done

January 18, 2007

Today I used the SL downtime to move the server to a new case. The problem with the old one was that it had a non-standard layout, a weird power supply with fans that were failing and cooled hard disks poorly. It also got full of dust quickly due to the layout and lack of an air filter. All those problems have been fixed by moving the hardware to a rack case.

With this change, the server should run very well as it is for a long time, barring disk failure or something else of the sort, and the improved hard disk cooling should make that unlikely.