Pick a stylesheet that suites you: left, sleft, mright, sright, mno menus, sno menus, m
cyberSaps business: blogging news, internet biz, communities, UK angle
A pure blogging company. With history (3 years 344 days ) in hosting Manila weblogging communities and building customised blogging environments for a range of companies and Government quangos. The latest project: building the intranet for the Government Office for the West Midlands, based entirely on Manila. Next project: their internet and extranet. See more details on services and history.

Fat, bloated files? Squish them with this

22 January 2004   

 

Fat, bloated files! Squish them with this

I posted about this last Summer. Some one asked me if it were safe. You'll need the script itself and there's a dependency bug in my squish script, you'll need to get the extensions.frontierMath.fttb, which is handy anyway.

This script runs on four Frontier servers automatically, without error or incidence and has done for three or four years. I run it because it makes Frontier serve pages much quicker. It's based on a legitimate Userland script, and I've just made it report better and run faster.

I like to squish out bloated aggregator, radio and weblogData most. Saving up to 50% off disk space. But that's not the important aspect, it's the speed!!!!! I'm sure upstreaming is faster, because the bloat in user.radio.settings.files can be considerable. I have over 13,000 items in that table, believe me, I NEED to squish that regularly!

The script initially switches off all your threads and agents, does a save as of each open root, then swaps the old one for the new one. It can't swap the Radio root, because that's where it's working from. So you'll need to quit Radio and swap them manually.

After swapping the Radiox.root (freshly squished) for the Radio.root (old and bloated) in your Radio Userland application folder, by deleting the old one and renaming the new one as Radio.root, you'll also need to add this line to your radioStartupCommands.txt which is also in the same folder:
user.scheduler.prefs.runThreads = true;
Then, restart your Radio application. You'll find things are back to normal, your roots a freshly squished, things will be quicker and likely you'll have no root corruption.

Squished report window
Click for bigger
If you get this report and then there's an error in the last part of the script which is trying to send you mail regarding this report, read this message for how to edit the script either to switch off the emailing, which isn't necessary, or how to edit your email server, email address etc. Or, you can just carry on ignoring the error. The squish worked perfectly (if you get this report window up).
 

 Source: Radio UserLand Messages; 22/01/2004; 11:45:29.
1589 Also posted to: Home page . At: 12:15:06 PM  . .
Permalink  Top  Search Google  Technorati
Other title(s) for this story: Fat, bloated files! Squish them with this