22 points · by bradgessler · 17y ago · 34 comments
This is absolutely hilarious! A process monitor leaks memory and crashes the server. Words fail me!
EDIT: Rub my eyes and read again. Ruby leaks memory? The language (interpreter ? VM? ) leaks memory? That can't be right? He must have meant the application (God) leaks memory (perhaps by holding onto objects and not letting the GC collect them)
AFAIK the interpreter has no intrinsic leaks, but many ruby applications keep objects referenced beyond their intended life, preventing GC.
Edit: You extended your edit after I started responding :->
perhaps by holding onto objects and not letting the GC collect them
Yup, that's my understanding.
ok if what you say is true then Brad's blog post is just wrong isn't it?. Either he is right or you are.
Holding onto objects sounds like something user code does so "ruby leaks" is (or should be) not correct usage I think.
I use python I don't use Ruby, but "Python leaks", as a claim, is different from "my program written in python leaks memory".
the blog post seems to imply it is Ruby's fault. At least it reads that way ("Ruby leaks") hence my confusion. Thanks for the clarification
EDIT: I stand corrected. It seems like Tom is right and the ruby interpreter leaks memory! Incredible!
I'm surprised that an article written with that tone made it to the top of HN.
I think anybody who releases open source software is to be commended; without it, most of us wouldn't have businesses. I have great respect for all contributors. That being said, just because you put something out there doesn't give you immunity against negative reviews. And it doesn't justify others, such as yourself, in berating those who give such reviews.
Most free software is forthcoming about its warts and issues. We're generally told when something should not be used for production. Instead, the pitch for god is that, well, it's God. I believe his tone was dead on for someone who felt betrayed by a piece of software that promised the world yet could not even maintain its own running state. After all that fighting, I'd be pissed too.
That's not a negative review, it's a slap in the face.
Also, it is somewhat disgusting to me that a wanna-be blogger would decide (to publicize his blog?) to rip on a guy who has been a great open source contributor AND has managed to bootstrap several successful startups (notably gravatar and github).
Tom is clearly busy and productive and is (in my opinion) a great role model for how to combine excellence in open source and entrepreneurship, and is the LAST person that anyone should be going out of their way to rip on.
For our company we're stuck with thins because of a very specific way we're launching our application. Phusion doesn't have everything we need (yet).
However, EY does use monit.
We used god on FamSpam, currently use it on GitHub, and I've heard at least two massive Facebook apps (Friends for Sale and Rock Legends) use it to manage a large number of processes across a large number of servers.
For intelligently killing runaway processes (different attempts with different kill methods), monit is rather lacking. At CNET we ran into this again and again so I was very excited when Tom started god.
On one of our GitHub app slices, god has been running for 8 days and is using 8 megs of RAM. I can't speak for anyone else's setup, but I haven't seen the famed memory leak.
I would recommend god to anyone running a high trafficked Ruby-based site.
Monit's config is fairly straight forward, but the monit daemon can be quirky and unpredictable at times, and I usually have to hack out a bash script b/c monit is pretty limited on what it can actually do.
So I start with God, then translate that into Monit + scripts when I get to production.
Was this just an attempt to stir the pot or were you just shooting from the hip?
FTR, I use God and its works fine for me.
I've only been disappointed with God mainly because its marketed as being "like monit, only awesome" when its really not.
Jekyll - I managed to access Github's database.yml in cleartext, I'm sure you remember that.
Fuzed - Never ran
Now, albeit, none of these had a 1.0 release and were practically abandoned before they reached it. I'm okay with that, because I really, really like Github.
Would you rather that tom had just kept all the code to himself until he got around to polishing it to the point where it ran on most systems?
I think releasing it to the community where others can work with it is the best approach, particularly if the main developer doesn't have the time to make it a top priority.