Linode is cheaper than many of the other big names in VPS and they offer plenty of storage and bandwidth too. Monitoring their status page for a few days/weeks should give you a good idea of the kind of downtime you’ll be looking at.
Object creation and deletion is handled for you, but have you ever thought about how it works, when is memory freed, etc.? Think of everything in python as an object. Even something as simple as this, and since’s its a string, you can invoke any string method. When you lose access to some object, that memory is freed on its own. If you assign a string to a variable, you will find the memory locations are the same. Calling __del__ only removes access to the object from the local or global namespace. It does not mean the memory location has been freed.
The problem is, hexdump will give you 16 ascii characters surrounded by pipes and then a newline before printing the next 16. You can’t search for long strings that way…
Here’s my notes from trimming a little off the top of an apache server. This was just a quick chop at the default install. I haven’t looked at how the webapps are used or how many connections or the length of time per connection or anything… I’ll go back later and tweak how many threads and processes are started and used.
Eclipse and gnu’s crappy java, otherwise known as gij, don’t seem to get along. Even when you give gij tons of memory using vargs -Xmx1024m when launching eclipse, it still just seems flaky. So I tried java’s Icedtea 1.7.0 and my memory crisis went away.
To see which jvm …
Lets get a running start… Make sure KeepAlive is set to ‘On’, HostnameLookups is ‘Off’ and comment out most of the modules loaded in your default Fedora, Ubuntu, Suse, other bloated distribution’s choice for default modules. Most of them you won’t need or want to have available. You’ll probably need rewrite and php, …