I’m web developer and I have my own server (amd64 running FreeBSD, 2GB of RAM) co-located at local ISP. All web sites that I host are running Rails. The problem is, however, server is running out of RAM. Every Rails process eats up roughly 50-60 megabytes of RAM and I have near 20 sites running. This leaves me with maybe up to ten new sites to run on this setup.
Looking for a way to get out of this situation, I’ve looked at few alternatives. Being fond of Smalltalk lately and it’s relatively small memory footprint, I decided I’ll try putting Squeak on this server and develop sites with Aida/Web. Janko is a good friend of mine and he lives in the same city as I do, so his web framework would be natural choice. He once stated he got more than 50 sites running smoothly in one Smalltalk image burning roughly 400MB of RAM. Nice numbers. I learned something little about Aida and found it quite nice to work with. Of course, having it’s creator nearby helps a bit.
There is just one little problem. I can’t get Squeak to run on my server. I’ve tried the 64 bit version but no luck. It does not compile. I’ve tried installing it from ports collection but it’s for 32 bit only. After almost a week of trying and failing, I’m slowly giving up. I even looked at other Smalltalk distributions and found none that would run on my setup. If you have any suggestions, please, I’d really need some.
One other solution would be to add another Linux server and put Squeak there, leaving current server untouched. This should be doable without much hassle and I’d prefer not to play too much with my production server. But doubling hosting expenses isn’t what I want…
Maybe I could move all Rails web sites onto this new Linux server and replace FreeBSD one with it. Doable but lot’s of work.
What to do? Linux route seems the safest one. Ok, more work for me, but this would get me out of current situation. If you don’t mind sharing, what is your Smalltalk web setup? How do you deploy web sites into production Smalltalk image? What are the problems I can expect with my setup (Linux with Squeak)?
![Reblog this post [with Zemanta]](http://img.zemanta.com/reblog_e.png?x-id=6133559f-e8df-47c0-9e00-56d34fd6e8de)
![Reblog this post [with Zemanta]](http://img.zemanta.com/reblog_e.png?x-id=73c4f411-54c0-495b-a910-ffb65fce1898)
