Page MenuHomePhabricator
Feed Advanced Search

May 1 2017

epriestley added a comment to E1486: Italy.

Okay, all better now.

May 1 2017, 5:47 PM · Phacility
epriestley reinstated E1486: Italy.
May 1 2017, 5:47 PM · Phacility
epriestley cancelled E1486: Italy.
May 1 2017, 5:47 PM · Phacility
epriestley added a comment to E1486: Italy.

I have to cancel your vacation again sorry

May 1 2017, 5:47 PM · Phacility
epriestley reinstated E1486: Italy.
May 1 2017, 5:26 PM · Phacility
epriestley cancelled E1486: Italy.
May 1 2017, 5:26 PM · Phacility
epriestley added a comment to T12646: Reduce the impact of "admin" backups on instances.

One broad issue is that admin.phacility.com sees a generally high, sustained request rate of almanac.service.search calls (up to dozens per second). I think the uneven performance I've sometimes observed is just load-related, and that this load is sometimes high enough to max out the Apache workers and cause queue stalls.

May 1 2017, 2:19 PM · Phacility, Ops
chad added a comment to E1486: Italy.

Oh hai I'm still busy busy

May 1 2017, 2:06 AM · Phacility
chad changed the start date for E1486: Italy from Apr 13 2017 to Jun 13 2017.
May 1 2017, 1:57 AM · Phacility
chad created E1486: Italy.
May 1 2017, 1:56 AM · Phacility
chad renamed E1485: Wedding (sister) from Wedding to Wedding (sister).
May 1 2017, 1:52 AM · Phacility
chad created E1485: Wedding (sister).
May 1 2017, 1:52 AM · Phacility

Apr 29 2017

chad changed the end date for E1479: Disneyland from Apr 30 2017 to Apr 28 2017.
Apr 29 2017, 3:35 PM · Phacility

Apr 28 2017

epriestley closed T12652: Prevent circular dependency between "admin" and rCORGI from interrupting `admin` deployment as Resolved by committing Restricted Diffusion Commit.
Apr 28 2017, 3:33 PM · Ops, Phacility
epriestley added a comment to T12646: Reduce the impact of "admin" backups on instances.

Attempt to improve the performance of the almanac.service.search call

Apr 28 2017, 3:31 PM · Phacility, Ops
epriestley added a revision to T12646: Reduce the impact of "admin" backups on instances: Restricted Differential Revision.
Apr 28 2017, 3:07 PM · Phacility, Ops
epriestley added a comment to T7149: Allow users to import data into a new Phacility instance.

bin/host download --phid <phid> --save-as whatever.sql.gz

Apr 28 2017, 1:22 AM · Phacility
epriestley closed T12651: Update `bin/host download` to use the newer API as Resolved by committing Restricted Diffusion Commit.
Apr 28 2017, 1:03 AM · Ops, Files, Phacility
epriestley added a revision to T12652: Prevent circular dependency between "admin" and rCORGI from interrupting `admin` deployment: Restricted Differential Revision.
Apr 28 2017, 12:52 AM · Ops, Phacility
epriestley added a revision to T12651: Update `bin/host download` to use the newer API: Restricted Differential Revision.
Apr 28 2017, 12:22 AM · Ops, Files, Phacility

Apr 27 2017

epriestley added a revision to T12651: Update `bin/host download` to use the newer API: Restricted Differential Revision.
Apr 27 2017, 11:17 PM · Ops, Files, Phacility
epriestley added a comment to T12646: Reduce the impact of "admin" backups on instances.

The next actions I plan to take here are:

Apr 27 2017, 5:00 PM · Phacility, Ops
epriestley added a project to T12651: Update `bin/host download` to use the newer API: Ops.
Apr 27 2017, 4:47 PM · Ops, Files, Phacility
epriestley created T12652: Prevent circular dependency between "admin" and rCORGI from interrupting `admin` deployment.
Apr 27 2017, 4:47 PM · Ops, Phacility
epriestley created T12651: Update `bin/host download` to use the newer API.
Apr 27 2017, 4:43 PM · Ops, Files, Phacility

Apr 26 2017

epriestley added a comment to T12646: Reduce the impact of "admin" backups on instances.

GC has caught up to Conduit and the conduit_methodcalllog table is down to 160MB from ~1GB.

Apr 26 2017, 11:19 PM · Phacility, Ops
epriestley added a comment to T7149: Allow users to import data into a new Phacility instance.

bin/storage renamespace --from phabricator --to whatever --in whatever.sql > whatever.renamespaced.sql

Apr 26 2017, 9:52 PM · Phacility
epriestley added a comment to T12646: Reduce the impact of "admin" backups on instances.

I think the Leylines change didn't actually work because we make the call via the LB so the request appears to coming from outside the cluster.

Apr 26 2017, 9:25 PM · Phacility, Ops
epriestley added a comment to T12646: Reduce the impact of "admin" backups on instances.

Deploying Leylines + GC changes to admin now.

Apr 26 2017, 9:07 PM · Phacility, Ops
epriestley added a comment to T12646: Reduce the impact of "admin" backups on instances.

I used bin/files migrate to move some old files which were stored in MySQL before S3 was configured to S3. The file blob table is now down to 160MB from 477MB.

Apr 26 2017, 8:04 PM · Phacility, Ops
epriestley added a revision to T12646: Reduce the impact of "admin" backups on instances: Restricted Differential Revision.
Apr 26 2017, 7:49 PM · Phacility, Ops
epriestley added a comment to T12646: Reduce the impact of "admin" backups on instances.

A big part of this appears to be that dumping the huge Leylines table locks it, so requests can't record their own Leylines data:

Apr 26 2017, 7:27 PM · Phacility, Ops
epriestley added a revision to T12646: Reduce the impact of "admin" backups on instances: Restricted Differential Revision.
Apr 26 2017, 7:20 PM · Phacility, Ops
epriestley added a revision to T12646: Reduce the impact of "admin" backups on instances: Restricted Differential Revision.
Apr 26 2017, 6:57 PM · Phacility, Ops
epriestley added a comment to T12611: Write Phabricator HTTP and SSH logs in the production cluster.

Specifically, I'd like to make these changes:

Apr 26 2017, 3:08 PM · Phacility, Ops
epriestley created T12646: Reduce the impact of "admin" backups on instances.
Apr 26 2017, 12:24 PM · Phacility, Ops

Apr 23 2017

epriestley added a comment to T12611: Write Phabricator HTTP and SSH logs in the production cluster.

The Aphlict logs should probably get consolidated here too, they're set up a little weird and don't currently rotate during normal deployments.

Apr 23 2017, 7:18 PM · Phacility, Ops
epriestley added a revision to T12611: Write Phabricator HTTP and SSH logs in the production cluster: Restricted Differential Revision.
Apr 23 2017, 2:57 PM · Phacility, Ops
epriestley added a revision to T12611: Write Phabricator HTTP and SSH logs in the production cluster: Restricted Differential Revision.
Apr 23 2017, 2:47 PM · Phacility, Ops
epriestley added a revision to T12611: Write Phabricator HTTP and SSH logs in the production cluster: Restricted Differential Revision.
Apr 23 2017, 2:37 PM · Phacility, Ops
epriestley added a revision to T12611: Write Phabricator HTTP and SSH logs in the production cluster: Restricted Differential Revision.
Apr 23 2017, 2:35 PM · Phacility, Ops

Apr 21 2017

epriestley added a revision to T12612: Design (and possibly implement) production rate limiting controls: Restricted Differential Revision.
Apr 21 2017, 9:24 PM · Phacility, Ops
epriestley added a revision to T12612: Design (and possibly implement) production rate limiting controls: Restricted Differential Revision.
Apr 21 2017, 9:20 PM · Phacility, Ops
epriestley added a revision to T12612: Design (and possibly implement) production rate limiting controls: Restricted Differential Revision.
Apr 21 2017, 8:59 PM · Phacility, Ops
epriestley shifted T12611: Write Phabricator HTTP and SSH logs in the production cluster from the Restricted Space space to the S1 Core space.
Apr 21 2017, 7:21 PM · Phacility, Ops
epriestley added a comment to T12611: Write Phabricator HTTP and SSH logs in the production cluster.

I'm going to declassify this too since there's nothing private.

Apr 21 2017, 7:21 PM · Phacility, Ops
epriestley added a comment to T12610: Audit behavior of LB healthchecks against *.phacility.com and secure.phabricator.com.

Also javelinjs.com currently has bogus DNS, and there's probably no value in continuing to support it for the moment. I'll keep the bills paid on the domain in case we eventually revive Javelin as a standalone framework, but we could safely drop it from config.

Apr 21 2017, 2:39 PM · Ops, Phacility
epriestley added a comment to T12612: Design (and possibly implement) production rate limiting controls.

Here's what we currently have:

Apr 21 2017, 2:02 PM · Phacility, Ops
epriestley lowered the priority of T12612: Design (and possibly implement) production rate limiting controls from High to Normal.
Apr 21 2017, 12:49 PM · Phacility, Ops
epriestley shifted T12612: Design (and possibly implement) production rate limiting controls from the Restricted Space space to the S1 Core space.
Apr 21 2017, 12:49 PM · Phacility, Ops
epriestley added a comment to T12612: Design (and possibly implement) production rate limiting controls.

I'm going to kick this out of the ops space since none of this should be sensitive.

Apr 21 2017, 12:49 PM · Phacility, Ops

Apr 20 2017

amckinley added a comment to T12607: Decrease pain and suffering caused by deploy/upgrade process.

This is also prrrrobably an awful idea, but in theory we could put, say, HAProxy on each host in front of Apache and have it queue connections while Apache was restarting. That feels like we're building a really flimsy house of cards, but it's something computers could technically do.

Apr 20 2017, 10:55 PM · Phacility
epriestley added a comment to T12607: Decrease pain and suffering caused by deploy/upgrade process.

This is also prrrrobably an awful idea, but in theory we could put, say, HAProxy on each host in front of Apache and have it queue connections while Apache was restarting. That feels like we're building a really flimsy house of cards, but it's something computers could technically do.

Apr 20 2017, 10:49 PM · Phacility
epriestley created T12612: Design (and possibly implement) production rate limiting controls.
Apr 20 2017, 9:22 PM · Phacility, Ops
epriestley created T12611: Write Phabricator HTTP and SSH logs in the production cluster.
Apr 20 2017, 9:20 PM · Phacility, Ops
epriestley added a comment to T12610: Audit behavior of LB healthchecks against *.phacility.com and secure.phabricator.com.

The current ruleset implements all those rules correctly, except that it 200's directly for /status/.

Apr 20 2017, 8:55 PM · Ops, Phacility
epriestley added a comment to T12610: Audit behavior of LB healthchecks against *.phacility.com and secure.phabricator.com.

redirect to Javelin

Apr 20 2017, 8:55 PM · Ops, Phacility
epriestley added a comment to T12610: Audit behavior of LB healthchecks against *.phacility.com and secure.phabricator.com.

On secure, two not-so-great fixes are:

Apr 20 2017, 8:54 PM · Ops, Phacility
amckinley created T12610: Audit behavior of LB healthchecks against *.phacility.com and secure.phabricator.com.
Apr 20 2017, 8:50 PM · Ops, Phacility
epriestley added a comment to T12607: Decrease pain and suffering caused by deploy/upgrade process.

Sounds good.

Apr 20 2017, 8:49 PM · Phacility
amckinley added a comment to T12607: Decrease pain and suffering caused by deploy/upgrade process.

I'll file a task for "unfuck status check".

Apr 20 2017, 8:48 PM · Phacility
amckinley added a comment to T12607: Decrease pain and suffering caused by deploy/upgrade process.

I think you might need to send a Host header to trigger the RedirectMatch... but the LB certainly isn't; it just knows IP/port/path. ¯\_(ツ)_/¯

Apr 20 2017, 8:48 PM · Phacility
epriestley added a comment to T12607: Decrease pain and suffering caused by deploy/upgrade process.

Oh, maybe not. Things are kind of weird on secure. We should probably sort that out and get that hitting "real" /status/ somehow.

Apr 20 2017, 8:47 PM · Phacility
epriestley added a comment to T12607: Decrease pain and suffering caused by deploy/upgrade process.

Oh, hrrm. Maybe that RedirectMatch is actually getting hit in practice by the LB, that's suuuper old. I get this from the host itself:

Apr 20 2017, 8:45 PM · Phacility
epriestley added a comment to T12607: Decrease pain and suffering caused by deploy/upgrade process.

The actual check is elsewhere in that file:

Apr 20 2017, 8:42 PM · Phacility
epriestley added a comment to T12607: Decrease pain and suffering caused by deploy/upgrade process.

secure is hitting the magic override code in the second link since we deploy rSERVICES there too.

Apr 20 2017, 8:41 PM · Phacility
epriestley added a comment to T12607: Decrease pain and suffering caused by deploy/upgrade process.

Yeah, I don't like trying to mess with the LBs very much either. I recall the FB F5's (I think?) took like 75 seconds per API call and you needed to make 12 API calls to remove a host, I just figured AWS LBs might be some kind of special magic LBs that can add and remove elements from a list in about a second.

Apr 20 2017, 8:41 PM · Phacility
amckinley added a comment to T12607: Decrease pain and suffering caused by deploy/upgrade process.
Apr 20 2017, 8:39 PM · Phacility
amckinley added a comment to T12607: Decrease pain and suffering caused by deploy/upgrade process.

Another possible question here is: how long does it take to pull a node out of an ELB with the AWS API? If it's very fast, maybe worthwhile to pursue actively managing nodes in the LB. But I'm guessing it's at least similar to the ~10s health check stuff.

Apr 20 2017, 8:36 PM · Phacility
epriestley added a comment to T12607: Decrease pain and suffering caused by deploy/upgrade process.

On health-check, vanilla Phabricator runs this:

Apr 20 2017, 8:35 PM · Phacility
epriestley added a comment to T12607: Decrease pain and suffering caused by deploy/upgrade process.

I'm pretty sure there's a reasonable way to ask apache to gracefully stop in a blocking way

Apr 20 2017, 8:28 PM · Phacility
amckinley added a comment to T12607: Decrease pain and suffering caused by deploy/upgrade process.

There's also a discussion to be had about generally increasing the robustness of the healthcheck: that endpoint could attempt a DB connection, look for a full disk, check that ntp status is reasonable, etc, etc. This has tradeoffs as far as creating extra CPU load, false negatives, etc, etc, but there's probably a happy medium between "Apache doing RedirectMatch 200 "^/status/$"" and generating a full page.

Apr 20 2017, 8:28 PM · Phacility
amckinley updated subscribers of T12607: Decrease pain and suffering caused by deploy/upgrade process.
Apr 20 2017, 8:21 PM · Phacility
amckinley created T12607: Decrease pain and suffering caused by deploy/upgrade process.
Apr 20 2017, 8:21 PM · Phacility
epriestley added a comment to T12606: Investigate browser-upload-to-S3 to reduce load on web pool during large file uploads.

Maybe "duration of all file upload requests" / "duration of all requests". That isn't a perfect metric but should be a reasonable-ish proxy for real resources we care about, I think.

Apr 20 2017, 8:00 PM · Phacility, Files
amckinley added a comment to T12606: Investigate browser-upload-to-S3 to reduce load on web pool during large file uploads.

What would the appropriate query be? "Number of uploaded files with size greater than X as a percentage of all files/file bytes"?

Apr 20 2017, 7:57 PM · Phacility, Files
epriestley added a comment to T12606: Investigate browser-upload-to-S3 to reduce load on web pool during large file uploads.

nice progress bar

Apr 20 2017, 7:49 PM · Phacility, Files
epriestley added a comment to T12606: Investigate browser-upload-to-S3 to reduce load on web pool during large file uploads.

I suspect this isn't worth the complexity. If you drag-and-drop, the maximum request size is 4MB (one chunk) and we get a nice progress bar, resumable uploads, and the bucket can remain completely private. And we can do encryption and deduplicate file blocks.

Apr 20 2017, 7:45 PM · Phacility, Files
amckinley created T12606: Investigate browser-upload-to-S3 to reduce load on web pool during large file uploads.
Apr 20 2017, 7:34 PM · Phacility, Files
epriestley closed T12603: Exception visible when sshing to phacility as Resolved.

I patched this and deployed it. I'll follow up on the internal report with details.

Apr 20 2017, 1:37 PM · Phacility, Bug Report
epriestley added a comment to T12603: Exception visible when sshing to phacility.

Thanks, this is fallout from an incident last night. The particulars involved instance and user details so the discussion was kept private. I'll fix this shortly.

Apr 20 2017, 1:33 PM · Phacility, Bug Report
avivey created T12603: Exception visible when sshing to phacility.
Apr 20 2017, 7:47 AM · Phacility, Bug Report

Apr 17 2017

yelirekim backed I2 Donate to Phacility with $13.37 USD.
Apr 17 2017, 2:42 PM · Phacility
epriestley moved T9515: Build a "quorum" mechanism and associated UI from Backlog to Future on the Notifications board.
Apr 17 2017, 12:07 PM · Restricted Project, Notifications, Phacility, Auth

Apr 14 2017

epriestley added a revision to T12451: Finding your subscriptions / cards on Phacility is non-obvious: Restricted Differential Revision.
Apr 14 2017, 5:17 PM · Phortune, Phacility
epriestley added a revision to T12451: Finding your subscriptions / cards on Phacility is non-obvious: Restricted Differential Revision.
Apr 14 2017, 5:00 PM · Phortune, Phacility
epriestley added a revision to T12451: Finding your subscriptions / cards on Phacility is non-obvious: Restricted Differential Revision.
Apr 14 2017, 4:58 PM · Phortune, Phacility
epriestley added a revision to T12451: Finding your subscriptions / cards on Phacility is non-obvious: Restricted Differential Revision.
Apr 14 2017, 4:53 PM · Phortune, Phacility
epriestley added a revision to T12451: Finding your subscriptions / cards on Phacility is non-obvious: Restricted Differential Revision.
Apr 14 2017, 4:23 PM · Phortune, Phacility
epriestley added a revision to T12451: Finding your subscriptions / cards on Phacility is non-obvious: Restricted Differential Revision.
Apr 14 2017, 4:18 PM · Phortune, Phacility
hach-que added a comment to T12525: amckinley's Onboarding.

Oh right. I mean Phacility doesn't cater to those people anyway since all repositories are private (and can't be public), so I don't think you have much to worry about there.

Apr 14 2017, 1:08 AM · Phacility, Contributor Onboarding

Apr 13 2017

chad added a project to E1469: Austin on vacation: Phacility.
Apr 13 2017, 9:12 PM · Phacility
epriestley added a comment to T12525: amckinley's Onboarding.

To clarify, I meant this:

Apr 13 2017, 12:01 PM · Phacility, Contributor Onboarding
hach-que added a comment to T12525: amckinley's Onboarding.

Well, this is a GitHub-like isn't it? In the context of what was quoted, it was specifically GitHub itself that was mentioned.

Apr 13 2017, 7:36 AM · Phacility, Contributor Onboarding
rabahmeradi added a comment to T12525: amckinley's Onboarding.

I'd guess most people use the free Phacility plan because they need private repositories.

I don't think so because there are GitHub like solution that offer private repositories for free.

Apr 13 2017, 7:33 AM · Phacility, Contributor Onboarding
hach-que added a comment to T12525: amckinley's Onboarding.

I'd personally be completely happy if all free users use GitHub forever and we only take their paying users

Apr 13 2017, 7:22 AM · Phacility, Contributor Onboarding

Apr 12 2017

epriestley added a revision to T12546: "bin/remote deploy" picks up deployment keys locally instead of on the bastion: Restricted Differential Revision.
Apr 12 2017, 8:12 PM · Ops, Infrastructure, Phacility
epriestley created T12546: "bin/remote deploy" picks up deployment keys locally instead of on the bastion.
Apr 12 2017, 7:08 PM · Ops, Infrastructure, Phacility
epriestley added a project to T11662: Draft comments which reply to ghost inlines from lines which no longer exist can not be edited or deleted until the page is reloaded: Customer Impact.
Apr 12 2017, 3:58 PM · Inline Comments, Customer Impact, Differential
epriestley edited projects for T9069: arc patch can't handle binary file correctly, added: Customer Impact; removed Prioritized.
Apr 12 2017, 3:12 PM · Differential, Restricted Project, Arcanist