IRC logs for #aegir, 2016-05-31 (GMT)

2016-05-30
2016-06-01
TimeNickMessage
[10:07:01]* TommyCox has quit (Read error: Connection reset by peer)
[10:11:06]* TommyCox has joined #aegir
[10:11:25]* TommyCox has quit (Remote host closed the connection)
[10:25:31]* TommyCox has joined #aegir
[10:28:15]* TommyCox has quit (Remote host closed the connection)
[10:29:29]<ergonlogic>memtkmcc: :)
[10:49:09]* mstenta has quit (Ping timeout: 260 seconds)
[10:57:03]* mstenta has joined #aegir
[11:00:05]* TommyCox has joined #aegir
[11:14:48]* mstenta has quit (Ping timeout: 246 seconds)
[11:31:11]* DecipheredAFK has quit (Quit: ZNC - http://znc.in)
[11:31:12]* TommyCox has quit (Read error: Connection reset by peer)
[11:34:56]* TommyCox has joined #aegir
[11:35:22]* DecipheredAFK has joined #aegir
[11:42:35]* TommyCox has quit (Remote host closed the connection)
[12:25:15]* ceaucari has joined #aegir
[13:02:33]* TommyCox has joined #aegir
[13:32:27]* TommyCox has quit (Remote host closed the connection)
[13:36:26]* TommyCox has joined #aegir
[13:44:54]* Egyptian[Home] has joined #aegir
[13:45:36]* Egyptian[Home] has quit (Client Quit)
[14:07:58]* TommyCox has quit (Remote host closed the connection)
[14:15:55]* TommyCox has joined #aegir
[14:20:08]* TommyCox has quit (Remote host closed the connection)
[14:25:21]* DecipheredAFK has quit (Ping timeout: 240 seconds)
[14:27:40]* DecipheredAFK has joined #aegir
[15:12:21]* ceaucari has quit (Ping timeout: 240 seconds)
[15:13:41]* ceaucari has joined #aegir
[15:47:26]* darthsteven has joined #aegir
[15:58:58]* ybabel has joined #aegir
[16:06:09]* darthsteven has quit (Quit: darthsteven)
[16:25:23]* TommyCox has joined #aegir
[16:40:25]* boshtian has joined #aegir
[16:41:46]* darthsteven has joined #aegir
[16:41:55]* boshtian has quit (Remote host closed the connection)
[16:44:03]* boshtian has joined #aegir
[16:44:33]* darthsteven has quit (Client Quit)
[16:46:35]* TommyCox has quit (Remote host closed the connection)
[17:04:06]* michiel has quit (Ping timeout: 246 seconds)
[17:04:06]* manningx has quit (Ping timeout: 276 seconds)
[17:05:16]* manningx has joined #aegir
[17:06:14]* michiel has joined #aegir
[17:35:16]* ceaucari has quit (Quit: My Mac has gone to sleep. ZZZzzz…)
[18:07:39]* darthsteven has joined #aegir
[18:08:15]* darthsteven has quit (Client Quit)
[18:13:08]* gandhiano_ has joined #aegir
[19:06:36]* gandhiano_ has quit (Ping timeout: 246 seconds)
[19:08:22]* gandhiano_ has joined #aegir
[19:54:05]* darthsteven has joined #aegir
[20:59:49]* Egyptian[Home] has joined #aegir
[22:08:06]* zz_drakythe is now known as drakythe
[22:23:19]* mstenta has joined #aegir
[22:53:22]* zombiebeard has joined #aegir
[23:32:27]* ceaucari has joined #aegir
[23:51:28]<colan>ergonlogic: can you still say "The vote is by show of hands" for remote voting? wondering if we should change that text.
[23:51:52]<colan>maybe "positive acknowldgement" or some such.
[00:08:00]* Yaazkal has joined #aegir
[00:09:54]* Yaazkal has quit (Client Quit)
[00:27:56]* boshtian has quit (Ping timeout: 272 seconds)
[00:46:12]<ergonlogic>colan: the same thought had crossed my mind
[00:46:15]<ergonlogic>PR?
[00:46:35]<colan>ergonlogic: ha, was just creating an issue. will make it a PR instead.
[00:47:34]* hestenet_ has joined #aegir
[01:15:20]* nulp_ is now known as nulp
[01:44:22]* freiheit has joined #aegir
[01:45:31]* maestrojed has joined #aegir
[02:04:43]* darthsteven has quit (Quit: darthsteven)
[02:27:41]* memtkmcc has quit (Quit: Leaving.)
[02:45:04]* gandhiano_ has quit (Ping timeout: 240 seconds)
[02:52:54]* shaneonabike1 has joined #aegir
[03:00:07]* freiheit has left #aegir ()
[03:17:42]* shaneonabike1 has quit (Ping timeout: 276 seconds)
[04:01:34]* memtkmcc has joined #aegir
[04:06:48]* ybabel has quit (Quit: ybabel)
[04:07:28]* gandhiano_ has joined #aegir
[04:51:49]* ergonlogic has quit (Ping timeout: 260 seconds)
[05:15:34]* darthsteven has joined #aegir
[05:25:53]* ergonlogic has joined #aegir
[05:28:49]* gandhiano_ has quit (Ping timeout: 258 seconds)
[05:32:44]* ergonlog1c has joined #aegir
[06:01:58]* richieacc has joined #aegir
[06:03:44]<richieacc>Hello! I've just installed a clean aegir server on a debian based system. It's low-spec. I'm getting the error "Load on system too heavy, aborting". My research shows that in 2014, and option was added to set the threshold, but I can't see where to set it. Please help.
[06:18:50]* TommyCox has joined #aegir
[06:19:55]<ergonlogic>this is triggered based on http://api.aegirproject.org/api/Provision/provision.drush.inc/function/p...
[06:20:29]<ergonlogic>so you'd need to set the 'critical_load_threshold' or 'critical_load_multiplier' options in Drush
[06:22:37]<richieacc>@ergonlogic, how do I set that?
[06:23:15]<ergonlogic>richieacc: so, you'd probably want to create a /var/aegir/.drushrc.php file, and add something like:
[06:23:18]<ergonlogic><?php
[06:23:35]<ergonlogic>$options['critical_load_multiplier'] = 10;
[06:24:06]<ergonlogic>and maybe: $options['critical_load_threshold'] = 20;
[06:25:41]<ergonlogic>not sure about that file location...
[06:25:59]<richieacc>I found a file at /var/aegir/.drush/drushrc.php
[06:26:16]<richieacc>It had some options in already, so I added those two.
[06:26:56]<ergonlogic>that one will be re-generated whenever the hostmaster site is verified
[06:26:59]* gusaus has joined #aegir
[06:27:22]<richieacc>Oh dear.
[06:28:00]<ergonlogic>https://raw.githubusercontent.com/drush-ops/drush/master/examples/exampl...
[06:28:21]<ergonlogic>^^^ that shows where such files will be loaded
[06:28:28]<ergonlogic>we generate a number of them though
[06:29:42]<ergonlogic>try /var/aegir/.drushrc.php file
[06:29:57]<ergonlogic>it used to work, and possibly the docs are just wrong about it
[06:30:06]<richieacc>That link was useful. Thank you.
[06:30:23]<ergonlogic>alternatively, the /drush folder * in the directory above the Drupal root.
[06:30:24]<richieacc>Is there a commandline that will tell me what settings drush has loaded?
[06:30:38]<ergonlogic>you could run with --debug
[06:30:53]<ergonlogic>which should show all the places it's scanning for config and command files
[06:32:29]<ergonlogic>but /var/aegir/drush/drushrc.php and/or /var/aegir/platforms/drush/drushrc.php might be other alternatives.
[06:34:40]* TommyCox has quit (Remote host closed the connection)
[06:36:02]<darthsteven>ergonlogic: how does Aegir 3.x / 4.x branching work at the moment? Is 3.x being merged into 4.x. I’ve just been pushing the odd fix into 3.x here and there
[06:36:17]<richieacc>I don't have those two directories. Nor do I have a /etc/drush/. Is it safe to create /etc/drush and put a drushrc.php file in there?
[06:37:29]<ergonlogic>richieacc: yes
[06:37:48]<richieacc>Ok. Let me try that :)
[06:38:07]<ergonlogic>you'd have had to create the other dirs, and it'd be messy
[06:38:50]<ergonlogic>darthsteven: right now, 4.x is mostly just to be able to manage issues
[06:39:06]<ergonlogic>so, 3.x is being merged into it, occasionally
[06:39:11]<darthsteven>cool cool
[06:39:38]<ergonlogic>once we undertake a 4.x release in more earnest, we'll formalize stuff better
[06:39:52]<ergonlogic>darthsteven: btw, it's nice te see you back in the queues :)
[06:40:13]<ergonlogic>darthsteven: I have an Aegir Co-op t-shirt with your name on it, too :)
[06:40:32]<ergonlogic>not really with you name... but waiting for a shipping address :p
[06:40:55]<ergonlogic>richieacc: fyi: https://www.drupal.org/node/2737785
[06:40:56]<hefring>https://www.drupal.org/node/2737785 => Provide a stable location for Drush overrides [#2737785] => 0 comments, 1 IRC mention
[06:42:00]<richieacc>Awesome :)
[06:43:23]<bgm>hey, I have a question regarding the aegir queues. for example, aegir is showing that I have 10 items in a queue, and it runs 5 items per run. CiviCRM crons are supposed to run every 15 mins, but it can sometimes take up to 45 mins for the cron to run.
[06:43:24]<darthsteven>ergonlogic: will you ship to the UK?
[06:43:38]<darthsteven>bgm: fun times!
[06:43:46]<ergonlogic>darthsteven: sure
[06:43:48]<richieacc>Now I have sites that are in a limbo state. Their databases were never created, so when aegir tries to mysqldump them, it fails.
[06:43:50]<darthsteven>bgm: https://www.drupal.org/node/1405904
[06:43:51]<hefring>https://www.drupal.org/node/1405904 => Hosting cron # of sites per run mismatch between UI and reality [#1405904] => 11 comments, 1 IRC mention
[06:43:55]<darthsteven>might be helpful
[06:44:12]<bgm>darthsteven: thanks :)
[06:44:37]<darthsteven>bgm: the maths of what to run and when is really weird!
[06:44:38]<ergonlogic>bgm darthsteven: feel free to re-categorize that as a bug, if it is one
[06:45:03]<darthsteven>ergonlogic: nah, the maths does work out, it’s just weird
[06:45:27]<darthsteven>ergonlogic: I’ve would expect it to spread the items over the time period, but it doesn’t at all really
[06:46:05]* TommyCox has joined #aegir
[06:46:57]<bgm>i'm not sure how to think about it, but if I have 50 sites, and it only runs 5 sites per cron run (15 mins), users will be really unhappy :)
[06:47:27]<bgm>(the cron triggers the launch of their mass-mailings, for example, and civi has a built-in elysia-cron equivalent)
[06:50:08]<darthsteven>what do you have the cron queue configured to do in the UI?
[06:50:21]<darthsteven>admin/hosting/queues
[06:52:27]<bgm>https://www.bidon.ca/files/tmp/aegir-cron-queue.jpg
[06:52:58]<bgm>I'm not sure where the "10 sites every" comes from..
[06:53:29]<bgm>hmm, although I think I have 10 civicrm sites on this server
[06:54:00]<bgm>and hosting_civicrm_cron has "items => 5" in the queue settings
[06:54:05]<bgm>Items per run: 5
[06:54:06]<bgm>Items in queue: 11
[06:54:12]<bgm>in the queue status block
[06:55:18]* TommyCox has quit (Remote host closed the connection)
[06:55:57]<darthsteven>so the cron invocations don’t really show up in the usual task queue
[06:57:18]<darthsteven>but the Aegir bit of this should be working
[06:57:37]<darthsteven>looks like hosting_civicrm layers on some extra magic
[06:58:00]<bgm>yeah, I guess it is doing 5 sites every 15 mins, it's just that the sites keep piling up, so it more often takes 30 mins before a mailing gets sent
[06:58:40]<darthsteven>so as you get more sites it should do more work per execution
[06:59:07]<darthsteven>you can reduce the interval there, to say 5 minutes if you wanted to etc,
[07:00:17]<bgm>it's not very intuitive, but I see that the code has a hardcoded limit of 5 sites per cron run, so will remove that for now
[07:01:01]<bgm>although I guess running 5 sites every 5 mins makes sense.. rather than 10 sites every 15 mins, which will create bigger CPU peaks
[07:01:54]<bgm>thanks darthsteven :)
[07:02:02]<darthsteven>bgm: yeah, it’s a bit crazy at the moment, literally working on it right now :)
[07:02:14]<darthsteven>(hence knowing about it)
[07:03:11]* TommyCox has joined #aegir
[07:04:04]<ergonlogic>darthsteven: hmm... yeah, I figured the UI might imply that the load was spread out. But I just checked and it doesn't.
[07:05:40]<ergonlogic>so, maybe you could make the 'strategy' configurable? 'batch' vs. 'diffuse' (or whatever)?
[07:06:02]<ergonlogic>'batch' doesn't have any useful antonyms, afaict
[07:06:32]<bgm>as a user, i would just expect that if i tell aegir to run cron every 15 mins, it just queues a cron-run task every 15 mins
[07:06:40]<richieacc>On installing Aegir on Ubuntu server, I'm getting the error, "Could not find the alias @hostmaster" which causes the installation to fail. How can I fix that?
[07:06:42]<bgm>and then would expect the queue strategy to decide how many tasks it runs in parallel
[07:07:36]<darthsteven>bgm: yeah, so…working on that over here: https://www.drupal.org/node/422962 where basically cron would become much more like that
[07:07:37]<hefring>https://www.drupal.org/node/422962 => scheduled tasks (refresh parameter) [#422962] => 16 comments, 1 IRC mention
[07:07:47]<darthsteven>and then the default task queue gets very busy
[07:07:56]<darthsteven>(busy in a good way)
[07:08:33]<darthsteven>ergonlogic: I sort of feel like we should make sensible ‘strategy’ decisions for users so that they don’t have to :)
[07:09:32]<ergonlogic>darthsteven: agreed, but changing the behaviour within a stable release is generally something we'd only want to do to resolve a bug
[07:10:46]<ergonlogic>also, while on the subject of cron, it'd be nice if perhaps it triggered the 'run cron' task in hosting_tasks_extra, as that would provide output in the task log
[07:10:54]<ergonlogic>I think there's a feature request for that
[07:11:09]<ergonlogic>and it's obviously outside the scope of that issue
[07:11:31]<ergonlogic>but then it'd also be able to take advantage of the parallelization you've been adding in the queued
[07:11:36]<ergonlogic>I think, anyway
[07:11:41]<darthsteven>ergonlogic: yep, agreed on all fronts
[07:11:53]<darthsteven>see my latest patch :) https://www.drupal.org/node/1405904#comment-11249313
[07:11:54]<hefring>https://www.drupal.org/node/1405904 => Hosting cron # of sites per run mismatch between UI and reality [#1405904] => 13 comments, 2 IRC mentions
[07:12:20]<darthsteven>yeah, parallel queue process and task priorities is much fun :)
[07:12:55]<darthsteven>scheduled tasks are next, and a plan has formed in my head, just need to find the time to implement the code :)
[07:13:02]<darthsteven>ergonlogic: pm?
[07:13:18]<ergonlogic>always :)
[07:16:07]* TommyCox has quit (Remote host closed the connection)
[07:18:11]* Yaazkal has joined #aegir
[07:31:05]* darthsteven has quit (Quit: darthsteven)
[07:38:13]* Yaazkal has quit ()
[07:38:30]* Yaazkal has joined #aegir
[07:50:45]* TommyCox has joined #aegir
[08:02:06]* zombiebeard has quit (Quit: zombiebeard)
[08:09:20]* richieacc has quit (Quit: Page closed)
[08:24:53]* gandhiano_ has joined #aegir
[08:42:07]* TommyCox has quit (Read error: Connection reset by peer)
[08:44:25]* TommyCox has joined #aegir
[08:53:02]* TommyCox has quit (Remote host closed the connection)
[09:17:40]* gusaus has quit (Quit: gusaus)
[09:23:00]* gandhiano_ has quit (Ping timeout: 276 seconds)
[09:25:09]* maestrojed has quit (Quit: My Mac has gone to sleep. ZZZzzz…)
[09:30:30]* gusaus has joined #aegir
[09:46:56]* ceaucari has quit (Quit: My Mac has gone to sleep. ZZZzzz…)
[09:47:26]* hestenet_ has quit (Remote host closed the connection)
[09:56:04]* gandhiano_ has joined #aegir