memCron 0.1 released

by Yaosan on April 30, 2009

memCron graph
Memory graph generated by memCron

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.

Check out the demo!

Features of memCron includes:

  • Automagically adjust memory limit based on previous and current memory usage
  • Improves site’s uptime and saves you money by setting memory limit to where it needs to be under different server loads
  • Generates pretty, customizable memory + cpu usage graphs
  • Simple, one-time installation, no maintenance required
  • Supports different cron job intervals to suit your site needs

Detailed installation instruction can be found here.

To do:

  • Reboot server if CPU load exceeds certain limit for a period of time
  • Integrated cron job management
  • Web admin panel
  • Better time zone support
  • More customizable options on the graph page

Download: memCron 0.1 (22.52 KB)

{ 5 comments… read them below or add one }

Yaosan April 30, 2009 at 8:34 pm

Feel free to ask questions via comments, I’ll try my best to answer all of them.

Reply

James May 26, 2009 at 1:10 pm

Hello, my question is related to this other project:
http://www.7is7.com/software/dreamhost/psmanager.html
What can you tell me about it?
Why don’t you join forces together, your graphic is good, the other send tweets is good too.
It could be a very complete and nice if you combined your talents.

What is your honest opinion about the other app?

Cheers,
James

Reply

Yaosan May 30, 2009 at 11:22 pm

I haven’t tried the PS manager project you mentioned so I really can’t give any comment about it. As far as I can tell, both project uses different approach when it comes to memory scaling algorithm, so you should give both of them a try and see which solution works better for you.

With that said, memCron config file comes with many parameters for you to play around with, and as such should provide more room for you to test different settings up. Using memCron, you can either go aggressive and save some hosting cost or you can be conservative and make uptime your highest priority.

If there’s any feature that you would like memCron to add in the future, feel free to post them here. My primary concern right now is to get the algorithm right so more people can benefit from a reliable, automated server resources manager.

Thanks for the comment!

Reply

Nestor July 27, 2009 at 9:08 pm

I tried dreamhost PS last year but then had to downgrade because I ended up with error 500 too often, and I got tired manually adjusting the PS all the time, does your program avoid those or does the adjustment comes after viewers encounter the errors?

Reply

Yaosan August 16, 2009 at 1:31 pm

Hi Nestor, memCron prevents internal server errors from showing up if configured correctly. The default settings should work for most sites but some tweaking might be necessary, depending on your site’s load.

Overall, memCron increases your memory settings before it even come close to running out of memory (and reduces it when idle to save you money). You can pretty much say goodbye to internal server errors once memCron is running smoothly on your PS.

Reply

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Next post: