sophie: A cartoon-like representation of a girl standing on a hill, with brown hair, blue eyes, a flowery top, and blue skirt. ☀ (Default)
Sophie ([personal profile] sophie) wrote in [site community profile] dw_dev2016-06-21 07:01 pm
Entry tags:

Dreamhacks: On automatically shutting down Apache instances

Hi,

Soon - probably within the next month - I'm planning to add code on the Dreamhack server which will automatically shut down Apache instances when the owner logs out (or at some point thereafter). I'm doing this because running Apache instances do take up resources on the Dreamhack server and a lot of people don't stop their Apache instances when they're not working on them, and it does make things a bit harder.

Currently I'm thinking of either shutting down the Apache instance either 7 days after the owner last logged out (unless they're currently logged in, of course) or shutting it down immediately on logout. If anybody has any issues with either of these options, please let me know in the comments - I'm very willing to listen to people on this.

If you have any other comments or questions, please do also comment. I'd be happy to answer any questions on this.
kaberett: Trans symbol with Swiss Army knife tools at other positions around the central circle. (Default)

[personal profile] kaberett 2016-06-22 08:42 am (UTC)(link)
I am frequently on dodgy internet connections that drop out for long enough to lose my SSH session but not long enough to be a real problem (somewhere in the vicinity of three to five minutes; sometimes more). I'd find having to restart Apache every single time after something like that happened a significant barrier to dev work (because executive function); I also sometimes do testing while not connected over SSH.

So -- could the timeout please be no shorter than, say, 90 minutes? That would circumvent a lot of my concerns.

Also -- thank you for thinking hard about this, and checking in about it, and all the maintenance work you do. <3
momijizukamori: Green icon with white text - 'I do believe in phosphorylation! I do!' with a string of DNA basepairs on the bottom (Default)

[personal profile] momijizukamori 2016-06-23 04:37 am (UTC)(link)
Hmm - I'd be fine with a 1-day delay, personally! I do sometimes do stuff like testing or taking preview pics without having an open SSH connection - not frequently, but enough that I'd probably end up caught off-guard by immediate shut-down.

[personal profile] swaldman 2016-06-24 10:37 pm (UTC)(link)
No immediate stop, please - both for this reason and because occasionally I've said to people "please test this thing for me when you get a moment", which means having it running for a day or two.

An auto-stop definitely makes sense, though, and I'd learn to work with whatever timeout so long as it was longer than a few minutes.