Scott Dowdle's blog
You may or may not have noticed but this site was down some since late Sunday evening until right before I wrote this. I'm not exacly sure what happened but I have some sense of it so I thought I'd jot it down here. I also cover the hardware that runs this system as well as a little about the hosting company we are using. If you are interested, read the rest of the story.
The problem: A webserver with a lot of files that are to be public... and the public is downloading too much, too fast, too often... in what seems to be a malicious fashion... especially since everyone seems to be using multi-threaded download accelerators.
Read more for a better explanation of the problem and the steps needed to install
Have you tried QEMU? I must admit that I hadn't really tried it until recently... although I have used VMware and Parallels. Supposedly Xen and the new KVM both draw from QEMU code. What is QEMU? Obligatory quote from the QEMU wikipedia entry:
QEMU is free software written by Fabrice Bellard that implements a fast processor emulator, allowing a user to simulate a complete computer system within another one. It is similar to projects such as Bochs, VMware Workstation and PearPC, but has several features these lack, including increased speed on x86, and support for multiple architectures in-progress. By using dynamic translation it achieves a reasonable speed while being easy to port on new host CPUs.
I'm not sure why that says that QEMU is faster than VMware, because it isn't... but QEMU can emulate several different CPU families other than just x86. Read on if you want to hear about my experience installing Windows XP SP2 from an .iso file.
I've been keeping my eye on SoftMaker (I've been on their mailing list for a couple of years now) and their products TextMaker (a word processor) and PlanMaker (a spreadsheet). I'm not usually a fan of closed source, proprietary, pay software but the reviews I have read of Textmaker and PlanMaker have said that they are extremely fast, lean, and offer the highest degree of compatibility with Microsoft Office .doc and .xls files. While OpenOffice.org has really progressed over the last few years, it still has a ways to go when it comes to bloat, speed, and Microsoft Office document compatibility.
On December 22nd, SoftMaker came out with new Linux and FreeBSD releases with the two products merged together and called SoftMaker Office. The MSRP is $69.95, which is fairly reasonable. The academic pricing is amazing... as most institutions can get can get a site license for $13 for the Linux version and $13 for the Windows version. It also includes compatibility with OpenDocument files, can export to PDF, and can be run from a USB stick.
So, I'm curious... What do you think? Should I consider the "dark side"? I would like anyone who answers to have actually downloaded the 23MB trial version (Linux, FreeBSD, or Windows) and given it a try.
Now if SoftMaker Office only included a presentation program and a GUI database, there would be more to consider.
It seems that a sort of hypervisor is going to be added to the mainline Linux kernel. It has been dubbed KVM... as if KVM weren't already taken by "Keyboard, Video Mouse". In this case, KVM stands for Kernel-based Virtual Machine... and it only works in CPUs that have VT (Intel) or AMD-V/SVM (AMD) extensions via a module named kvm.ko... and will available upon the release of the 2.6.20 kernel.
How does it differ from other virtualization schemes? From the FAQ:
What is the difference between kvm and Xen?
Xen is an external hypervisor; it assumes control of the machine and divides resources among guests. On the other hand, kvm is part of Linux and uses the regular Linux scheduler and memory management. This means that kvm is much smaller and simpler to use.
On the other hand, Xen supports both full virtualization and a technique called paravirtualization, which allows better performance for modified guests. kvm does not at present support paravirtualization.
What is the difference between kvm and VMWare?
VMware is a proprietary product. kvm is Free Software released under the GPL.
What is the difference between kvm and QEMU?
Qemu uses emulation; kvm uses processor extensions for virtualization.
And now for the question everyone wants to ask:
What OSs can I run inside kvm VM?
We have tested Linux (32/64 bit) and Windows (32 bit). Others may or may not work. 64-bit Windows is known not to work. This will be fixed once qemu-0.8.3 is released and merged. Several Linux flavors are known to hang on Intel processors during startup. Workaround is to disable splashscreens in grub.
I wonder how long before this becomes part of all of the distributions... and how it might conflict with Xen???
I have an old server at work. It hasn't been used since last Spring. It lasted a fair amount of time (4 years)... yet it is still a fairly capable machine: 1.1GHz Xeon CPU, 2GB of RAM, 1 IDE system disk, a 3ware ATA RAID controller with 8ea 80GB drives (RAID5) and redundant power. I believe it was purchased in late 2001.
One of the RAID drives died and I put in a replacement today. I didn't need to rebuild the existing RAID because I wanted to do a new install anyway... but it makes me wonder if I should even bother. I mean, the drives that are in it now are at least 4 years old. They are an accident waiting to happen. So, I have a few options... I can retire the machine and scrap it... or I could spend around $800 and buy some new ATA drives. I figure that the hard drives are the most vulnerable piece in the system... other than say... the fans... that I'll replace if they are showing some wear.
Let comments be your answer!
Warren is the guy who has been running Gallery for a few years now. Me? I ran it at my previous job but I didn't get into it much.
Now I'm running Drupal and on the default Apache/PHP install, PHP is limited to 8MB of RAM. That works fine for most everything... but when you get into graphics processing, it isn't even close. Graphics Processing? The image upload (and photo gallery) module for Drupal take an uploaded image file and then generates a preview size (640x480) image and a thumbnail (125x125?) image. It can use ImageMagick or the GD image processing packages.
Over the 2006 Thanksgiving holiday I stumbled upon a series of video presentations that were given at the Beyond Belief 2006 conference. "What's that?", you might ask? From the description on the website:
Just 40 years after a famous TIME magazine cover asked "Is God Dead?" the answer appears to be a resounding "No!" According to a survey by the Pew Forum on Religion & Public Life in a recent issue of Foreign Policy magazine, "God is Winning". Religions are increasingly a geopolitical force to be reckoned with. Fundamentalist movements - some violent in the extreme - are growing. Science and religion are at odds in the classrooms and courtrooms. And a return to religious values is widely touted as an antidote to the alleged decline in public morality. After two centuries, could this be twilight for the Enlightenment project and the beginning of a new age of unreason? Will faith and dogma trump rational inquiry, or will it be possible to reconcile religious and scientific worldviews? Can evolutionary biology, anthropology and neuroscience help us to better understand how we construct beliefs, and experience empathy, fear and awe? Can science help us create a new rational narrative as poetic and powerful as those that have traditionally sustained societies? Can we treat religion as a natural phenomenon? Can we be good without God? And if not God, then what?
Ok, with blog entries... I *BELIEVE* I can have a personal blog that isn't tied to the main content of the site. In fact, all registered users will be able to have their own blog... which is quite useful.