Page MenuHomePhabricator
Feed Advanced Search

Feb 24 2017

epriestley added a comment to T12296: Improve Phacility repository import performance.

Starting with repository update:

Feb 24 2017, 5:56 PM · Customer Impact, Diffusion, Ops
epriestley added a revision to T12298: Allow daemon pools to autoscale down to 0 processes: Restricted Differential Revision.
Feb 24 2017, 5:14 PM · Daemons, Ops, Phacility
epriestley added a revision to T12298: Allow daemon pools to autoscale down to 0 processes: Restricted Differential Revision.
Feb 24 2017, 5:06 PM · Daemons, Ops, Phacility
20after4 added a comment to T12296: Improve Phacility repository import performance.

My impression is that there is a lot of room for optimization in the RepositoryPullLocalDaemon. I've wanted to tackle that for a while because it causes a fair delay between when a commit goes into git and when it actually shows up in Diffusion.

Feb 24 2017, 10:45 AM · Customer Impact, Diffusion, Ops

Feb 23 2017

epriestley added a revision to T12297: Make Conduit API calls on `admin.phacility.com` reasonably easy to profile: Restricted Differential Revision.
Feb 23 2017, 6:41 PM · XHProf, Ops, Phacility
epriestley added a revision to T12297: Make Conduit API calls on `admin.phacility.com` reasonably easy to profile: Restricted Differential Revision.
Feb 23 2017, 5:59 PM · XHProf, Ops, Phacility
epriestley added a revision to T12297: Make Conduit API calls on `admin.phacility.com` reasonably easy to profile: Restricted Differential Revision.
Feb 23 2017, 5:31 PM · XHProf, Ops, Phacility

Feb 22 2017

epriestley added a revision to T12218: Reduce the operational cost of a larger Phacility cluster: Restricted Differential Revision.
Feb 22 2017, 9:49 PM · Ops, Phacility
epriestley added a comment to T12298: Allow daemon pools to autoscale down to 0 processes.

No time like the present.

Feb 22 2017, 9:14 PM · Daemons, Ops, Phacility
epriestley added a subtask for T12297: Make Conduit API calls on `admin.phacility.com` reasonably easy to profile: T7954: Make it easier to upload XHProf profiles.
Feb 22 2017, 12:16 PM · XHProf, Ops, Phacility

Feb 21 2017

Mnkras added a comment to T12296: Improve Phacility repository import performance.

@epriestley The import has finished, but some commits show as importing still?

Feb 21 2017, 8:33 PM · Customer Impact, Diffusion, Ops
epriestley added a revision to T12298: Allow daemon pools to autoscale down to 0 processes: Restricted Differential Revision.
Feb 21 2017, 4:50 PM · Daemons, Ops, Phacility
epriestley added a revision to T12298: Allow daemon pools to autoscale down to 0 processes: Restricted Differential Revision.
Feb 21 2017, 4:48 PM · Daemons, Ops, Phacility
epriestley moved T12298: Allow daemon pools to autoscale down to 0 processes from Backlog to vNext on the Daemons board.
Feb 21 2017, 12:10 AM · Daemons, Ops, Phacility
epriestley added a comment to T12298: Allow daemon pools to autoscale down to 0 processes.

I believe I have the first part of this (restructuring the code into a more sensible Overseer > Pool > Daemon sort of thing) working, but it could use more testing. I'm going to see if we have anything else in Daemons that I can fix while I'm here to help me kick the tires a bit.

Feb 21 2017, 12:09 AM · Daemons, Ops, Phacility

Feb 20 2017

epriestley updated the task description for T12298: Allow daemon pools to autoscale down to 0 processes.
Feb 20 2017, 9:42 PM · Daemons, Ops, Phacility
epriestley added a comment to T12297: Make Conduit API calls on `admin.phacility.com` reasonably easy to profile.

Some possible approaches here:

Feb 20 2017, 4:34 PM · XHProf, Ops, Phacility
epriestley updated the task description for T12297: Make Conduit API calls on `admin.phacility.com` reasonably easy to profile.
Feb 20 2017, 4:33 PM · XHProf, Ops, Phacility
epriestley created T12298: Allow daemon pools to autoscale down to 0 processes.
Feb 20 2017, 4:30 PM · Daemons, Ops, Phacility
epriestley created T12297: Make Conduit API calls on `admin.phacility.com` reasonably easy to profile.
Feb 20 2017, 4:19 PM · XHProf, Ops, Phacility
epriestley added a parent task for T12217: Reduce the hardware cost of Phacility free instances: T12218: Reduce the operational cost of a larger Phacility cluster.
Feb 20 2017, 4:12 PM · Ops, Phacility
epriestley added a subtask for T12218: Reduce the operational cost of a larger Phacility cluster: T12217: Reduce the hardware cost of Phacility free instances.
Feb 20 2017, 4:12 PM · Ops, Phacility
epriestley added a comment to T12296: Improve Phacility repository import performance.

There's also a bunch of the usual free-tier shenanigans on this host -- free instances with 1 user importing multiple large repositories -- but that's to be expected.

Feb 20 2017, 4:10 PM · Customer Impact, Diffusion, Ops
epriestley created T12296: Improve Phacility repository import performance.
Feb 20 2017, 4:09 PM · Customer Impact, Diffusion, Ops

Feb 19 2017

epriestley added a comment to T12218: Reduce the operational cost of a larger Phacility cluster.

This is currently the scalability and stability bottleneck for deployments, but should be relatively easy to fix.

Feb 19 2017, 5:13 PM · Ops, Phacility
epriestley added a comment to T12218: Reduce the operational cost of a larger Phacility cluster.

(For anyone following along, some additional discussion of clustershell in T2794.)

Feb 19 2017, 4:06 PM · Ops, Phacility

Feb 18 2017

20after4 added a comment to T12218: Reduce the operational cost of a larger Phacility cluster.

@epriestley: Have you seen clustershell? It's a massively scaleable management shell with some pretty interesting features. Wikimedia operations are adopting it in place of a lot of dsh and saltstack stuff. From what I have seen it is a really solid framework to build upon.

Feb 18 2017, 6:24 AM · Ops, Phacility
epriestley added a comment to T12217: Reduce the hardware cost of Phacility free instances.

We're currently at ~82% cluster fullness which makes me slightly uncomfortable, but I'm not going to add more hardware quite yet since I think I can probably get "scale to 0" into production next week. If it's more involved than I think I'll likely put shards 017-020 into production in the next week or so.

Feb 18 2017, 12:42 AM · Ops, Phacility
epriestley added a comment to T12217: Reduce the hardware cost of Phacility free instances.

Can't the same tricks used to make a single web server handle multiple instances be used for the daemons?

Feb 18 2017, 12:35 AM · Ops, Phacility

Feb 17 2017

epriestley added a revision to T12218: Reduce the operational cost of a larger Phacility cluster: Restricted Differential Revision.
Feb 17 2017, 11:18 PM · Ops, Phacility

Feb 13 2017

epriestley closed T12237: Amazon SES has suspended outbound mail from secure.phabricator.com as Resolved.

Possible followups from D17344:

Feb 13 2017, 11:06 PM · Mail, Phacility, Ops
epriestley added a revision to T12237: Amazon SES has suspended outbound mail from secure.phabricator.com: Restricted Differential Revision.
Feb 13 2017, 5:58 PM · Mail, Phacility, Ops

Feb 11 2017

epriestley added a comment to T12237: Amazon SES has suspended outbound mail from secure.phabricator.com.

Those seem to have been the magic words:

Feb 11 2017, 12:59 PM · Mail, Phacility, Ops
• Hektve added a member for Ops: • Hektve.
Feb 11 2017, 3:48 AM
• Hektve added a watcher for Ops: • Hektve.
Feb 11 2017, 3:46 AM

Feb 10 2017

epriestley closed T12140: When Home is uninstalled, the user menu disappears / 2017 Week 3 Deployment Log as Resolved.

The db001 issue is still an issue, but the shard has managed to stay just under 80% for the last couple of weeks so we're not in any immediate peril. As followups, I think T12217 and T12218 better capture the broader issues here.

Feb 10 2017, 5:12 PM · Phacility, Ops, Applications
epriestley added a comment to T12218: Reduce the operational cost of a larger Phacility cluster.

I scratched at the surface of T2794, but @chad also bought me a larger monitor so I can put more SSH terminals on it which should buy us another few weeks.

Feb 10 2017, 4:55 PM · Ops, Phacility
epriestley added a comment to T12237: Amazon SES has suspended outbound mail from secure.phabricator.com.

I imagine that the rest of the process will work like this:

Feb 10 2017, 1:46 PM · Mail, Phacility, Ops
epriestley updated subscribers of T12237: Amazon SES has suspended outbound mail from secure.phabricator.com.

AWS got back to me with essentially a form response that didn't address any of the particulars of our case.

Feb 10 2017, 1:30 PM · Mail, Phacility, Ops

Feb 9 2017

epriestley added a comment to T12237: Amazon SES has suspended outbound mail from secure.phabricator.com.
  • We no longer send normal mail to unverified addresses. Consequently, mail sent between creating an account and that user verifying their address (for example, assigning them tasks) is now dropped.
  • We no longer send "sorry, we ignored your mail because we don't recognize the address" replies if we don't recognize the sender, unless phabricator.allow-email-users is set.
    • I would like to eventually (post-Nuance?) remove this option, stop allowing "email users", and move away from "grey users".
  • We no longer send a misleading error about "no default user" if an application address is not configured with a default user.
  • This install now delivers outbound mail through Mailgun instead of SES.
  • The queued backlog appears to have flushed.
Feb 9 2017, 6:45 PM · Mail, Phacility, Ops
epriestley added a revision to T12237: Amazon SES has suspended outbound mail from secure.phabricator.com: Restricted Differential Revision.
Feb 9 2017, 6:08 PM · Mail, Phacility, Ops
epriestley added a comment to T12237: Amazon SES has suspended outbound mail from secure.phabricator.com.

A sub-issue here is that we're bouncing a lot of email like this, for an exciting product called "Penisole" from reputable domain "bloggay.com":

Feb 9 2017, 4:33 PM · Mail, Phacility, Ops
epriestley added a comment to T12237: Amazon SES has suspended outbound mail from secure.phabricator.com.

Add some kind of notification to user accounts like "some email you would have been sent was dropped because you haven't verified your address yet"?

Feb 9 2017, 4:18 PM · Mail, Phacility, Ops
epriestley added a comment to T12237: Amazon SES has suspended outbound mail from secure.phabricator.com.

My plan here is:

Feb 9 2017, 4:12 PM · Mail, Phacility, Ops
epriestley added a comment to T12237: Amazon SES has suspended outbound mail from secure.phabricator.com.

My guess is that this is just something dumb and mostly out of our control, and we fell through the cracks because the email volume we send from this install is tiny. We sent 41,877 messages in January at a cost of $0.00 -- this is too few messages to even qualify for charges, which start once you send 2,000 messages in a single day.

Feb 9 2017, 3:55 PM · Mail, Phacility, Ops
chad added a comment to T12237: Amazon SES has suspended outbound mail from secure.phabricator.com.

The changelog from Mailchimp (opt-in only) is from noreply@phacility.com, but I can't think of anything else off the top of my head

Feb 9 2017, 2:49 PM · Mail, Phacility, Ops
epriestley added a comment to T12237: Amazon SES has suspended outbound mail from secure.phabricator.com.

Although I'm somewhat confused by this because it came to the address for my personal AWS account.

Feb 9 2017, 12:56 PM · Mail, Phacility, Ops
epriestley added a comment to T12237: Amazon SES has suspended outbound mail from secure.phabricator.com.

I appealed this, but the FAQ says "Due to the way spamtrap sending is reported, it will take a minimum of three weeks before we can confirm that a fix you have put in place has succeeded.".

Feb 9 2017, 11:35 AM · Mail, Phacility, Ops
epriestley added a comment to T12237: Amazon SES has suspended outbound mail from secure.phabricator.com.

@chad, just to make sure my ducks are in a row, you aren't using noreply@phabricator.com in association with any marketing mail, right? I don't want to claim "we only send transactional mail" if that isn't true.

Feb 9 2017, 10:30 AM · Mail, Phacility, Ops
epriestley added a comment to T12237: Amazon SES has suspended outbound mail from secure.phabricator.com.

SES is definitely rejecting mail, though:

Feb 9 2017, 10:22 AM · Mail, Phacility, Ops
epriestley added a comment to T12237: Amazon SES has suspended outbound mail from secure.phabricator.com.

Although I'm somewhat confused by this because it came to the address for my personal AWS account.

Feb 9 2017, 10:21 AM · Mail, Phacility, Ops
epriestley created T12237: Amazon SES has suspended outbound mail from secure.phabricator.com.
Feb 9 2017, 10:18 AM · Mail, Phacility, Ops

Feb 8 2017

avivey added a comment to T12217: Reduce the hardware cost of Phacility free instances.

Also: I think it's reasonable that if no event has happened in some time (A week? A month?), the Taskmaster would take 15 seconds to react to come back when it's needed (i.e., allow auto-scale to 0 if last task was a long time ago, although I'm not familiar with how the overseer and daemon scaling actually works).

Feb 8 2017, 10:02 PM · Ops, Phacility

Feb 6 2017

avivey added a comment to T12217: Reduce the hardware cost of Phacility free instances.

Can't the same tricks used to make a single web server handle multiple instances be used for the daemons?

Feb 6 2017, 9:36 PM · Ops, Phacility
epriestley added a subtask for T12218: Reduce the operational cost of a larger Phacility cluster: T2794: Implement Phage (like Hypershell).
Feb 6 2017, 8:51 PM · Ops, Phacility
epriestley merged task T9374: Allow `bin/remote` commands to operate on a range of hosts into T12218: Reduce the operational cost of a larger Phacility cluster.
Feb 6 2017, 8:51 PM · Ops, Phacility
epriestley merged T9374: Allow `bin/remote` commands to operate on a range of hosts into T12218: Reduce the operational cost of a larger Phacility cluster.
Feb 6 2017, 8:51 PM · Ops, Phacility
epriestley created T12218: Reduce the operational cost of a larger Phacility cluster.
Feb 6 2017, 5:14 PM · Ops, Phacility
epriestley created T12217: Reduce the hardware cost of Phacility free instances.
Feb 6 2017, 4:02 PM · Ops, Phacility

Jan 30 2017

epriestley created T12171: Node is now very exciting to install on Ubuntu 14?.
Jan 30 2017, 11:50 PM · Ops, Phacility, Aphlict

Jan 21 2017

epriestley added a comment to T12140: When Home is uninstalled, the user menu disappears / 2017 Week 3 Deployment Log.

I deployed that change here (secure.phabricator.com). I'll cherry-pick it and deploy it on admin in a little bit, if nothing catches on explosion fire.

Jan 21 2017, 4:54 PM · Phacility, Ops, Applications
epriestley added a comment to T12140: When Home is uninstalled, the user menu disappears / 2017 Week 3 Deployment Log.

Haha, no worries. Uninstalling Home is pretty unusual.

Jan 21 2017, 4:49 PM · Phacility, Ops, Applications
chad added a comment to T12140: When Home is uninstalled, the user menu disappears / 2017 Week 3 Deployment Log.

ugh. sorry

Jan 21 2017, 4:47 PM · Phacility, Ops, Applications
epriestley added a revision to T12140: When Home is uninstalled, the user menu disappears / 2017 Week 3 Deployment Log: Restricted Differential Revision.
Jan 21 2017, 4:32 PM · Phacility, Ops, Applications
epriestley added a comment to T12140: When Home is uninstalled, the user menu disappears / 2017 Week 3 Deployment Log.

After purging dead instances, db003 and db004 are each <25% utilized on their data volumes.

Jan 21 2017, 3:57 PM · Phacility, Ops, Applications
epriestley added a comment to T12140: When Home is uninstalled, the user menu disappears / 2017 Week 3 Deployment Log.

Purging db001 brought primary volume down to 79.2%, which is technically below the 80% caution threshold. It doesn't need to be fixed immediately, but the pathway forward isn't terribly clear. Some options are:

Jan 21 2017, 3:44 PM · Phacility, Ops, Applications
epriestley added a comment to T12140: When Home is uninstalled, the user menu disappears / 2017 Week 3 Deployment Log.

Instance service windows on db003 and db004 have synchronized and the shards are now purging.

Jan 21 2017, 3:37 PM · Phacility, Ops, Applications
epriestley added a comment to T12140: When Home is uninstalled, the user menu disappears / 2017 Week 3 Deployment Log.

The temporary directory storage pressure on repo016 has an unclear root cause (it's related to importing an SVN repository, but I haven't been able to pinpoint where the issue started). The issue no longer appears to be occurring so I'm going to stop digging until it happens again.

Jan 21 2017, 3:37 PM · Phacility, Ops, Applications
epriestley added a comment to T12140: When Home is uninstalled, the user menu disappears / 2017 Week 3 Deployment Log.

The storage pressure on db001 is primarily because an instance imported a large SVN repository with approximately 60M paths. The instance is a free instance with one user.

Jan 21 2017, 3:08 PM · Phacility, Ops, Applications
epriestley added a project to T12140: When Home is uninstalled, the user menu disappears / 2017 Week 3 Deployment Log: Phacility.
Jan 21 2017, 2:58 PM · Phacility, Ops, Applications
epriestley renamed T12140: When Home is uninstalled, the user menu disappears / 2017 Week 3 Deployment Log from When Home is uninstalled, the user menu disappears to When Home is uninstalled, the user menu disappears / 2017 Week 3 Deployment Log.
Jan 21 2017, 2:58 PM · Phacility, Ops, Applications

Jan 13 2017

epriestley closed T12105: Put shards 13-16 into production in the Phacility cluster as Resolved.

These are now in production. I inched some other automation forward but no major changes.

Jan 13 2017, 7:29 PM · Phacility, Ops
epriestley created T12105: Put shards 13-16 into production in the Phacility cluster.
Jan 13 2017, 5:15 PM · Phacility, Ops

Jan 7 2017

epriestley closed T12077: Host secure004.phacility.net has been eaten by plague rats as Resolved.

I think we're back in action and I have learned a series of valuable life lessons.

Jan 7 2017, 2:09 AM · Ops, Phacility
epriestley added a comment to T12077: Host secure004.phacility.net has been eaten by plague rats.

(This host is the replica database for the "Files" application partition, so even if I had to completely burn it to the ground nothing would be lost.)

Jan 7 2017, 1:55 AM · Ops, Phacility
epriestley added a comment to T12077: Host secure004.phacility.net has been eaten by plague rats.

I foolishly ran apt-get dist-upgrade because I am bad at computer and the motd said I should.

Jan 7 2017, 1:47 AM · Ops, Phacility
epriestley created T12077: Host secure004.phacility.net has been eaten by plague rats.
Jan 7 2017, 1:41 AM · Ops, Phacility

Dec 8 2016

epriestley closed T11967: Make xhpast and xhprof binaries automatically deploy in the Phacility cluster as Resolved.

Seems to be working now. ¯\_(ツ)_/¯

Dec 8 2016, 4:16 PM · Ops, Phacility
epriestley added a comment to T11967: Make xhpast and xhprof binaries automatically deploy in the Phacility cluster.

For future reference, here's the sequence of problems I hit:

Dec 8 2016, 3:55 PM · Ops, Phacility
epriestley created T11967: Make xhpast and xhprof binaries automatically deploy in the Phacility cluster.
Dec 8 2016, 2:50 PM · Ops, Phacility

Dec 3 2016

chad added a comment to T11944: Inbound mail to `secure.phabricator.com` getting dropped?.

Thansk

Dec 3 2016, 1:34 PM · Ops, Mail
epriestley closed T11944: Inbound mail to `secure.phabricator.com` getting dropped? as Resolved.

I think this is fixed now (config change on the Mailgun upstream side). Let me know if you're still seeing issues.

Dec 3 2016, 11:52 AM · Ops, Mail
epriestley added a comment to T11944: Inbound mail to `secure.phabricator.com` getting dropped?.

Test v4

Dec 3 2016, 11:51 AM · Ops, Mail
epriestley added a project to T11944: Inbound mail to `secure.phabricator.com` getting dropped?: Ops.
Dec 3 2016, 11:37 AM · Ops, Mail

Nov 14 2016

epriestley added a comment to T11818: Phacility `notify` tier is pooled, but tries to load database configuration on restart.

I deployed this, seems to have worked properly in production.

Nov 14 2016, 12:45 AM · Aphlict, Ops, Phacility
epriestley closed T11818: Phacility `notify` tier is pooled, but tries to load database configuration on restart as Resolved by committing Restricted Diffusion Commit.
Nov 14 2016, 12:43 AM · Aphlict, Ops, Phacility
epriestley added a revision to T11818: Phacility `notify` tier is pooled, but tries to load database configuration on restart: Restricted Differential Revision.
Nov 14 2016, 12:40 AM · Aphlict, Ops, Phacility
epriestley added a revision to T11818: Phacility `notify` tier is pooled, but tries to load database configuration on restart: Restricted Differential Revision.
Nov 14 2016, 12:31 AM · Aphlict, Ops, Phacility
epriestley added a comment to T11818: Phacility `notify` tier is pooled, but tries to load database configuration on restart.

Vaguely related: aphlict exited on notify001 with this error:

Nov 14 2016, 12:24 AM · Aphlict, Ops, Phacility

Nov 13 2016

chad added a comment to T11855: Increase drive space on `secure` tier.

punt

Nov 13 2016, 2:15 AM · Phacility, Ops
epriestley closed T11855: Increase drive space on `secure` tier as Resolved.

Both 32GB volumes have been swapped for 128GB volumes.

Nov 13 2016, 2:14 AM · Phacility, Ops
epriestley created T11855: Increase drive space on `secure` tier.
Nov 13 2016, 12:52 AM · Phacility, Ops

Nov 4 2016

epriestley closed T11820: Provision and deploy new 007/008 shards in the Phacility cluster as Resolved.

These shards are now in service.

Nov 4 2016, 5:49 PM · Ops, Phacility
epriestley added a comment to T11820: Provision and deploy new 007/008 shards in the Phacility cluster.

Provisioning completed, now deploying.

Nov 4 2016, 5:22 PM · Ops, Phacility
epriestley added a comment to T11820: Provision and deploy new 007/008 shards in the Phacility cluster.

Starting this now.

Nov 4 2016, 5:07 PM · Ops, Phacility
epriestley created T11820: Provision and deploy new 007/008 shards in the Phacility cluster.
Nov 4 2016, 4:57 PM · Ops, Phacility

Nov 3 2016

epriestley created T11818: Phacility `notify` tier is pooled, but tries to load database configuration on restart.
Nov 3 2016, 9:04 PM · Aphlict, Ops, Phacility
epriestley closed T11815: Rotate *.phacility.com SSL certificate as Resolved.

I've rotated the certificates on lb, alb, and notify. One minor notify issue that I'll file separately.

Nov 3 2016, 9:00 PM · Phacility, Ops
Mnkras added a comment to T11815: Rotate *.phacility.com SSL certificate.

Nov 3 2016, 8:23 PM · Phacility, Ops
epriestley created T11815: Rotate *.phacility.com SSL certificate.
Nov 3 2016, 6:29 PM · Phacility, Ops