[Haskell-cafe] Need help with ghc static compile for cgi using mysql

Jason Dagit dagit at codersbase.com
Thu Oct 15 13:25:43 EDT 2009

On Thu, Oct 15, 2009 at 10:11 AM, John Van Enk <vanenkj at gmail.com> wrote:

> I've run Haskell stuff on VPS hosts like Linode or SliceHost. $20/month is
> a lot better than $60.

lambdabot is currently hosted on the lowest end linode. The biggest hurdle I
hit was that gnu ld is a memory pig when GHC is compiled with split obj.  I
had to build my own ghc (after disabling split obj, not hard but not
adequately documented either) and things seem to be fine now.  Before I
built GHC without split obj I wasn't even able to link Setup.hs to start
building anything.

I would go so far as to recommend GHC HQ do something about the split obj
issue.  I think ideally we need someone to improve gnu ld.

RAM is expensive on the linode so you need to make sure the code you want to
run is memory efficient (swap is prohibitively slow).  Having root and and
nice web control panel is a huge win.  I'm reasonably happy considering the
relative cost.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20091015/47211aba/attachment.html

More information about the Haskell-Cafe mailing list