memCron 0.6

by Yaosan on March 22, 2010

First of all, I want to say thanks to Ben for his relentless support helping other users with their issues and constantly providing updates to the memCron code base due to some of the recent DreamHost PS changes. After spending the weekend polishing up the improvements contributed by Ben and Bret, memCron 0.6 is finally here.

Here’s a list of notable changes:

  • Removed dependency on modules with built-ins and system utilities, including SendMail, LWP etc.
  • Get memory info from /proc/meminfo
  • Get current memory size from API rather than OS
  • New option to disable updates
  • New options to send out notification when changing memory setting or getting API errors
  • New chart formatting options: target memory, cached memory
  • Now display http server name instead of actual PS name on the graph page for extra security

Download: memCron 0.6 (34.12 KB)

Please give this new version a try if you’re having issues with the older versions.

To upgrade, follow step 1-3 listed here. FYI, the old “zscore.pl” is no longer used and can be safely removed.

{ 71 comments }

memCron 0.4.1 fixes memory issues

by Yaosan on August 10, 2009

memCron has been updated to address the 2x increase of swap memory recently implemented by DreamHost. So far, there hasn’t been any official confirmation of this change. I’m guessing DreamHost is still experimenting with this new change and doesn’t want to make any commitment to support these extra swap memory just yet.

Here are the changes I’ve made in this minor update:

  • Added: favicon for easier recognition of memCron tab in browser
  • Fixed: Memory calculation due to the 2x increase of swap memory by DreamHost
  • Fixed: Proper max axis value for “Used + Total Memory”

Download: memCron 0.4.1 (32.57 KB)

Please give this update a try and let me know if there’s any issue. I have tested this on my own PS server and it seems to work just fine.

{ 193 comments }

DreamHost updating their PS memory settings?

July 31, 2009

You might have noticed it from your own memCron graphs, if not, check the demo out. I believe DreamHost is rolling out a new update that gives extra swap memory to your PS server. This is the reason why you see the jump right after memCron changes your memory setting, signifying more memory is available [...]

Read the full article →

Winner of DreamHost API Contest + memCron 0.4!

June 28, 2009

First of all, I want to thank DreamHost for announcing memCron as one of the two grand prize winner for its first ever API contest (congrats to Dreambot for tying the grand prize!). This is the first time I actually won something for a program I wrote, so thank you for recognizing the quality of [...]

Read the full article →

memCron 0.3

May 31, 2009

memCron 0.3 is finally ready and there are several new features added to this new version:

Customizable chart formatting — pick the data you want to plot! (see demo)
New parameter “$downsize_resistance” introduced to prevent multiple resizes during short-term, rapid memory fluctuations

With the addition of this new parameter, memCron is now more stable than ever. If you [...]

Read the full article →

memCron 0.2

May 3, 2009

memCron 0.2 fixes an issue related to number of data to be included in memory calculations not being accounted for in the z-score function. What this means is memCron might use up daily limits faster than it should.
A new $debug config value is also added to replace the previous $use_api variable. When set to 1, [...]

Read the full article →

memCron 0.1 released

April 30, 2009

memCron is a memory manager for DreamHost PS, which optimize the memory size to ensure your site scale nicely to accommodate any traffic at any given time. memCron is written in Perl and relies on cron jobs to perform scheduled memory inspections.

Read the full article →