It was a bad day. A lot of bad stuff happened. And I'd love to forget it all. But I don't. Not ever. Because this is what I do. Every time, every day, every second, this: On five, we're bringing down the government.

Friday, October 28

Geek

This Always Happens

I popped for the new servers last week, when they had a special offer to waive the $99.95 setup fee.

I got them, confirmed set up properly, today.

Today they have a special offer to double the memory for free. That would save me $500 in the first year. (I decided to only go with 1GB of memory per server because of the upgrade price. If it turns out we need 2GB, that's how much difference it will make.)

I've sent off an email asking if they're willing to do anything for me. Apple were a bunch of doody-heads, but hosting companies rely on continued business, so maybe...

Bumped to the top: THEY SAID YES!!!

Yay! 2x2GB = Munuden!

Update: Memory installed! All systems go! DedicatedNOW rocks my world!

Now I just have to make the application-type stuff work.

Posted by: Pixy Misa at 08:16 PM | Comments (3) | Add Comment | Trackbacks (Suck)
Post contains 145 words, total size 1 kb.

Geek

Well, That Should Help

Just doing a spot of benchmarking.

Mew is the current server. Comparing it with Kei. The Lovely Angels are equivalent in brainpower* so it doesn't matter which one I test.

MewKei% Improvement
Compress MySQL Backup25m15.65s13m9.937s91.8%
Uncompress MySQL Backup4m27.88s2m41.47s65.7%
Compress Trackback Log**53.87s26.15s106%
Uncompress Trackback Log**3.65s2.62s39.3%
Python Loop Test**5.9s4.72s 3.092s25.5% 90.8%***

The problem with this is hyperthreading. Hyperthreading splits each CPU in half, but Linux doesn't know about this, so just how reflective of reality these results are is somewhat up in the air. The best approach is to run the test many times and pick the lowest number. Or to shut down every other application... Which the Munuvians may not appreciate.

* In this incarnation. Management makes no representations, etc, etc.
** Best of ten trials.
*** Note to self: RPM distributions tend not to be well-optimised. For anything you'll be using a lot - particularly languages - compile your own. It's just a ./configure; make; make install anyway.

Posted by: Pixy Misa at 01:46 AM | Comments (5) | Add Comment | Trackbacks (Suck)
Post contains 166 words, total size 2 kb.

Thursday, October 27

Geek

Somewhat Better

I got rather annoyed last night when I received an email informing me that the new servers were configured with 64-bit Linux when this was plainly not true.

It turns out that although they offer 64-bit Linux, you won't get it if you ask for CPanel as well becase there are known problems with that combination (which doesn't surprise me - even though CPanel list it as supported). What they do instead is install a 32-bit kernel specifically optimised for 64-bit processors, which is what they meant when they told me it was 64-bit.

Okay.

That means that the new servers are ready... For me to start working on.

Posted by: Pixy Misa at 07:47 PM | Comments (7) | Add Comment | Trackbacks (Suck)
Post contains 113 words, total size 1 kb.

Geek

I Don't Know Why It Swallowed The Fly

The billing system is down.

The billing system is down because the billing database is down.

The billing database is down because the database server will not restart.

The database server will not restart because it thinks the shared memory is in use.

It thinks the shared memory is in use because it has a bug related to releasing shared memory segments.

It needed to release the shared memory because it crashed.

It crashed because a user exited while holding a microtransaction lock.

The user exited while holding a microtransaction lock because an index key on another, federated database could not be deleted.

The key could not be deleted because the index is corrupt.

The index is corrupt because the other database crashed.*

The other database crashed because it ran out of disk space.

It ran out of disk space because the database directory was full of backup files.

The directory was full of backup files because if the backup filesystem is not mounted, the backup script writes its files into the source directory.**

The backup filesystem was not mounted because both disks in the RAID set had failed.

The disks in the RAID set had failed because they timed out during reads.

They timed out during reads because there's a bug in the firmware on WD200JB disks.

I don't know why there's a bug in the firmware, perhaps we'll die.

* Even so, this shouldn't happen.
** That one is my fault.

Posted by: Pixy Misa at 02:36 AM | Comments (1) | Add Comment | Trackbacks (Suck)
Post contains 259 words, total size 2 kb.

Geek

Shiny Happy mod_rewrite

mod_rewrite is your friend. It is not that confusing (once you've spent an hour or two reading the documentation and the examples... twice) and it is very powerful.

For example, if your software only lets you set up blogs as mu.nu/blogname and you really want it to appear at blogname.mu.nu, mod_rewrite will do that for you. You can stick it in an htaccess file, and it will still work (it does this by magic). It works even if blogname.mu.nu is on a different server to mu.nu/blogname. (And if you happen to have a cluster, this means you can effectively use the bandwidth of all of the servers.) You can redirect this but not that if that's what you need. You can even, with a little tweaking, automate the creation of the rulesets.

This may mean that I can use an existing CMS rather than having to write one myself. Further research is definitely indicated.

Posted by: Pixy Misa at 02:28 AM | Comments (2) | Add Comment | Trackbacks (Suck)
Post contains 160 words, total size 1 kb.

Wednesday, October 26

Geek

Urk

The nice people at our new hosting provider have sorted out the clustering and reinstalled the operating system on our new servers.

Only they seem to have reinstalled the 32-bit version.

So it will be another day before I can get started.

On the plus side, we get another freebie: XController, which I was planning to buy. It makes CPanel much simpler and less cluttered. Try the online demo... While we wait for the OS to be reinstalled.

Posted by: Pixy Misa at 07:59 PM | No Comments | Add Comment | Trackbacks (Suck)
Post contains 80 words, total size 1 kb.

Geek

Lovely Angels To The Rescue

The two new MuNuServers, Kei and Yuri, are almost here. There was a slight mix-up with the operating system (the 32-bit version of CentOS was installed instead of the 64-bit version), and the clustering is waiting on parts... Well, a crossover cable, to be exact.

One bonus: They ran out of 160GB drives, so we got a couple of 200GB drives instead.

It will take a couple of weeks for me to configure and test everything, and then we'll move everything across. This should result in a shinier, happier, more responsive munu for everyone.

Posted by: Pixy Misa at 12:09 AM | Comments (2) | Add Comment | Trackbacks (Suck)
Post contains 104 words, total size 1 kb.

Wednesday, October 19

Geek

OMG LOL

The Daily WTF. It's sort of a funny version of comp.risks:
The Dexia Bank ATM machines are expiriencing a curious problem. The machines stop functioning when someone enters the number 7, making it impossible for people with a 7 in their pin (personal identification number) code to perform a cash withdrawal.

The problem has been occuring for a month. To prevent people from running out of cash, they are able to perform cash withdrawals inside. "We are expiriencing a problem with the software", a Dexia spokesman admitted last wednesday in the daily journal Het Laatste Nieuws, "the problems should be solved within three weeks."

I think I know the programmer.

Posted by: Pixy Misa at 11:13 AM | Comments (4) | Add Comment | Trackbacks (Suck)
Post contains 113 words, total size 1 kb.

Tuesday, October 18

Geek

How Cute

There's a bug in the firmware of the Western Digital 200JB (also the 200BB, 180JB and 180BB) such that if you use them with a 3Ware 7000 or 8000 series RAID controller, after a certain amount of time (days or weeks) they will cause a spurious timeout and the controller will consider them to have failed.

Mirroring these drives merely gives you a longer window before they disappear.

Well, at least now I know why half a million files just disappeared.

There's a patch. A patch. For a hard disk. Oh, joy.

Posted by: Pixy Misa at 03:24 AM | Comments (3) | Add Comment | Trackbacks (Suck)
Post contains 96 words, total size 1 kb.

Sunday, October 16

Geek

Preconditioning

Weird. I was going to cleam up my blogroll, and I started clicking on some of the links to check them, and a number of them came up with error 412:
Precondition Failed
The precondition on the request for the URL / evaluated to false.
I suspect an overzealous referrer-spam filter, but if that's the case, it's awfully common. Try clicking on any of these links:
A Small Victory
American Digest
Cold Fury
Daily Pundit
Any ideas? Anyone?

Pause.

Oh. Duh. Ambien. I've been cut off from the net. [Sobs.] If I bring up my blog as ai.mu.nu it all works.

Posted by: Pixy Misa at 09:37 AM | No Comments | Add Comment | Trackbacks (Suck)
Post contains 98 words, total size 1 kb.

<< Page 1 of 2 >>
71kb generated in CPU 0.0187, elapsed 0.1781 seconds.
58 queries taking 0.1665 seconds, 371 records returned.
Powered by Minx 1.1.6c-pink.
Using https / https://ai.mee.nu / 369