Re:Show HN: Primrose – a text editor that runs in a WebGL te...
by moron4hire on Friday January 30, 2015 @03:55PM
(#8974421)
No, that's not the issue. I actually am using forever. I'm not entirely sure what the problem was, but I think the entire VPS was falling over, so when it comes back there is nothing to kick off forever. It is fixed, now, though, by letting Apache serve the static files. I'm not a sysadmin and I've never had anywhere near this much traffic before.
Re:Show HN: Primrose – a text editor that runs in a WebGL te...
by yeldarb on Sunday February 01, 2015 @02:08PM
(#8981196)
Ah, perhaps setting up an @reboot cron job to kick off the forever process would do the trick.
Also, setting up a CDN in front of your static files is actually much easier than it sounds at first. You can just setup a Cloudfront distribution that uses your domain as its source; that should take off a lot of the load.
forever -w start yourFile.js
That'll keep it up and going as a daemon and reboot it when files change :)