Page MenuHomePhabricator
Feed Advanced Search

Oct 23 2017

epriestley added a revision to T12974: Upgrading: "Ferret" Fulltext Engine: Unknown Object (Differential Revision).
Oct 23 2017, 10:09 PM · Installing & Upgrading, Search
epriestley added a comment to T2543: Add a formal "Draft" / "Not Yet Ready for Review" state to Differential.

This is technically accurate but real awkward for humans:

Oct 23 2017, 10:05 PM · Customer Impact, Restricted Project, Restricted Project, Prioritized, Differential
epriestley added a revision to T12680: Convert Audit to use UNION to improve the performance of the dashboard bucketing query: Restricted Differential Revision.
Oct 23 2017, 10:01 PM · Customer Impact, Restricted Project, Performance, Audit
epriestley closed T13009: MySQL may take several seconds after restart to begin listening on domain socket as Resolved.

I pushed secure004 with that patch and it worked fine, although mysql came back up fast enough that we didn't have to wait. Since I don't have a way to actually trigger this condition, I'm going to assume this is resolved until we have evidence otherwise.

Oct 23 2017, 8:11 PM · Ops, Phacility
epriestley closed T13008: Process slot exhaustion in Phacility web tier as Resolved.

This has been stable for about a week now.

Oct 23 2017, 6:24 PM · Ops, Phacility
epriestley added a comment to T13003: `admin.phacility.com` is receiving a huge volume of "leafweb" traffic.

This traffic eventually stopped on October 20th.

Oct 23 2017, 6:24 PM · Ops, Phacility
epriestley closed T13000: Sustained MySQL I/O overwhelmed db009 / huge Ferret engine ngrams table as Resolved.

The pruned (at 0.15 threshold), optimized ngram index for the original affected instance is only ~13GB, which is entirely manageable with the changes to backups, and we haven't run into other issues.

Oct 23 2017, 6:21 PM · Ops, Phacility
epriestley added a comment to T13009: MySQL may take several seconds after restart to begin listening on domain socket.

We hit one of more of these (db024) last week so D18725 should fix it.

Oct 23 2017, 6:09 PM · Ops, Phacility
epriestley added a revision to T13009: MySQL may take several seconds after restart to begin listening on domain socket: Restricted Differential Revision.
Oct 23 2017, 6:03 PM · Ops, Phacility
epriestley closed T12190: In PHP7, include-time warnings from source files are ignored, a subtask of T12101: Phabricator PHP 7 Compatibility, as Resolved.
Oct 23 2017, 5:54 PM · Infrastructure, Guides
epriestley closed T12190: In PHP7, include-time warnings from source files are ignored as Resolved by committing Restricted Diffusion Commit.
Oct 23 2017, 5:54 PM · Infrastructure
epriestley added a revision to T12190: In PHP7, include-time warnings from source files are ignored: Unknown Object (Differential Revision).
Oct 23 2017, 5:17 PM · Infrastructure
epriestley added a revision to T12190: In PHP7, include-time warnings from source files are ignored: Unknown Object (Differential Revision).
Oct 23 2017, 5:14 PM · Infrastructure
francois added a comment to T5463: Could not stat AuthorizedKeysCommand .

I ran into the same issue, it turned out, that the permissions for /phabricator, /libphutil and /phabricator as well as for the preceding parent-directory had to be 755.

Until i figured this out i tried running all directories with less permissions (750) - which did result in a

AuthorizedKeysCommand /usr/share/phabricator-ssh-hook.sh returned status 126

I really don't know which user is here trying to invoke whichever script or command (since all defined users [git, phd, www-data] are nicely coupled in their phacility-group), but since i wasn't able to track that down i think that's a good compromise. And it should be safer than letting root invoke the AuthorizedKeysCommand.

Oct 23 2017, 7:07 AM · Diffusion
cburroughs awarded T2543: Add a formal "Draft" / "Not Yet Ready for Review" state to Differential a Love token.
Oct 23 2017, 12:31 AM · Customer Impact, Restricted Project, Restricted Project, Prioritized, Differential

Oct 22 2017

holmboe added a comment to T12856: Evaluate various "infrastructure-as-code" products.

I wrote a small dynamic inventory client (based on almanac /passphrase conduit API). It is not open source but I can open source it, if there is a need.

Oct 22 2017, 5:05 PM · Ops, Phacility

Oct 21 2017

epriestley edited the content of Changelog.
Oct 21 2017, 12:58 PM
epriestley created 2017 Week 42 (Late October).
Oct 21 2017, 12:57 PM

Oct 20 2017

epriestley added a revision to T12680: Convert Audit to use UNION to improve the performance of the dashboard bucketing query: Unknown Object (Differential Revision).
Oct 20 2017, 10:42 PM · Customer Impact, Restricted Project, Performance, Audit
epriestley added a revision to T2543: Add a formal "Draft" / "Not Yet Ready for Review" state to Differential: Unknown Object (Differential Revision).
Oct 20 2017, 6:59 PM · Customer Impact, Restricted Project, Restricted Project, Prioritized, Differential
friesenschrauber awarded T9105: Decide if we should have Topics in Ponder a Like token.
Oct 20 2017, 4:06 PM · Ponder
epriestley added a comment to T2543: Add a formal "Draft" / "Not Yet Ready for Review" state to Differential.

A very rough version of this is now in master, but only active if phabricator.show-prototypes is on. These are some of the (substantial) remaining issues I'm aware of, and there are probably others:

Oct 20 2017, 3:51 PM · Customer Impact, Restricted Project, Restricted Project, Prioritized, Differential

Oct 19 2017

epriestley added a revision to T2543: Add a formal "Draft" / "Not Yet Ready for Review" state to Differential: Unknown Object (Differential Revision).
Oct 19 2017, 9:11 PM · Customer Impact, Restricted Project, Restricted Project, Prioritized, Differential
epriestley added a revision to T2543: Add a formal "Draft" / "Not Yet Ready for Review" state to Differential: Unknown Object (Differential Revision).
Oct 19 2017, 8:37 PM · Customer Impact, Restricted Project, Restricted Project, Prioritized, Differential

Oct 17 2017

rbalik awarded T5051: Burn down charts for Milestones a Like token.
Oct 17 2017, 10:40 PM · Restricted Project, Projects, Wikimedia
epriestley added a revision to T13000: Sustained MySQL I/O overwhelmed db009 / huge Ferret engine ngrams table: Unknown Object (Differential Revision).
Oct 17 2017, 9:00 PM · Ops, Phacility
epriestley removed a member for GitHub: • worldkingma.
Oct 17 2017, 1:19 PM
• worldkingma added a member for GitHub: • worldkingma.
Oct 17 2017, 4:59 AM

Oct 16 2017

epriestley lowered the priority of T13008: Process slot exhaustion in Phacility web tier from Unbreak Now! to Normal.

I'm going to call this tentatively done and leave it open for a week or two to see if there's any fallout.

Oct 16 2017, 3:55 PM · Ops, Phacility
epriestley added a comment to T13008: Process slot exhaustion in Phacility web tier.

Something is making a lot of requests

Oct 16 2017, 3:54 PM · Ops, Phacility
mruuska added a comment to T12835: Improve parsing of unusual "git diff --no-index --no-prefix" diffs.

I'm getting the same #1048: Column 'filename' cannot be null running just regular "arc diff". It used to work and then at some point after updates started failing.

Oct 16 2017, 3:52 PM · Arcanist, Bug Report
mruuska created P2077 Column 'filename' cannot be null.
Oct 16 2017, 3:51 PM
epriestley added a comment to T13008: Process slot exhaustion in Phacility web tier.

The behavior of mod_reqtimeout is weird in production. Some of this is the LB, but some of it I don't have a good explanation for.

Oct 16 2017, 3:38 PM · Ops, Phacility
siepkes added a comment to P2025 Aphlict behind Apache.

The above did not work for me. The following did:

Oct 16 2017, 3:09 PM
epriestley added a comment to T13008: Process slot exhaustion in Phacility web tier.

I was able to get web001 to wedge a lot of requests in "R" ("Reading Request") -- note "SS" is "seconds since beginning of most recent request".

Oct 16 2017, 2:55 PM · Ops, Phacility
epriestley added a comment to T13008: Process slot exhaustion in Phacility web tier.

I'm also unable to wedge secure. mod_status is working there, but since I can't wedge it it isn't very useful.

Oct 16 2017, 2:34 PM · Ops, Phacility
epriestley added a comment to T13008: Process slot exhaustion in Phacility web tier.

I'm going to take a more detailed look at local behavior for this specific request pattern.

Oct 16 2017, 2:19 PM · Ops, Phacility
mcorteel awarded T7332: Notification / Message icons should update in real-time a Love token.
Oct 16 2017, 1:56 PM · Conpherence (v4), Aphlict, Notifications

Oct 14 2017

epriestley added a comment to T13008: Process slot exhaustion in Phacility web tier.

This is working somewhat better than before, but I'm still able to wedge apache with enough requests using a pre-patch version of libphutil. I'm going to take a more detailed look at local behavior for this specific request pattern.

Oct 14 2017, 4:06 PM · Ops, Phacility
epriestley added a revision to T13008: Process slot exhaustion in Phacility web tier: Unknown Object (Differential Revision).
Oct 14 2017, 3:00 PM · Ops, Phacility
epriestley added a comment to T13008: Process slot exhaustion in Phacility web tier.

It's currently possible for cluster hosts to hit rate limits against admin while doing normal deployment stuff, since they may make a lot of requests to admin very quickly.

Oct 14 2017, 2:45 PM · Ops, Phacility
epriestley added a comment to T13009: MySQL may take several seconds after restart to begin listening on domain socket.

I expect I can just reduce the data size to something manageable with the current workflow fairly easily

Oct 14 2017, 2:29 PM · Ops, Phacility
epriestley created T13009: MySQL may take several seconds after restart to begin listening on domain socket.
Oct 14 2017, 12:28 PM · Ops, Phacility

Oct 13 2017

epriestley edited the content of Changelog.
Oct 13 2017, 9:50 PM
epriestley created 2017 Week 41 (Mid October).
Oct 13 2017, 9:49 PM
epriestley added a comment to T13008: Process slot exhaustion in Phacility web tier.

(I also verified that real multipart/form-data works fine from a browser, by changing a project's profile picture here.)

Oct 13 2017, 9:40 PM · Ops, Phacility
epriestley added a comment to T13008: Process slot exhaustion in Phacility web tier.

On the server side, the connection test looks better: secure001 saw 8 HTTP 500's (this might be a bug in the multipart/form-data parser for whatever cURL is doing) and then 135 HTTP 429s, which is more or less exactly what the code is supposed to do. So I think most of the inconclusiveness on what was happening from the client side was curl / nohup stuff.

Oct 13 2017, 9:39 PM · Ops, Phacility
epriestley added a comment to T13008: Process slot exhaustion in Phacility web tier.

I used ab to verify the rate limiting code here, and got killed after a bit of abuse with ab -c 10 -n 200 ...:

Oct 13 2017, 9:25 PM · Ops, Phacility
epriestley set the image for Aphront to F5221631: profile.
Oct 13 2017, 9:13 PM
epriestley added a revision to T13000: Sustained MySQL I/O overwhelmed db009 / huge Ferret engine ngrams table: Unknown Object (Differential Revision).
Oct 13 2017, 8:53 PM · Ops, Phacility

Oct 12 2017

epriestley added a revision to T13003: `admin.phacility.com` is receiving a huge volume of "leafweb" traffic: Unknown Object (Differential Revision).
Oct 12 2017, 10:59 PM · Ops, Phacility
epriestley added a revision to T13008: Process slot exhaustion in Phacility web tier: Unknown Object (Differential Revision).
Oct 12 2017, 7:18 PM · Ops, Phacility
epriestley added a comment to T13008: Process slot exhaustion in Phacility web tier.

There's also a bug with arc here. It's supposed to limit simultaneous uploads to 4:

Oct 12 2017, 7:04 PM · Ops, Phacility
epriestley added a comment to T12857: Temporary directory fullness can cause daemon issues?.

Tangentially related here and to T12611, the traffic volume from the ongoing "attack" in T13003 filled /tmp on admin.phacility.com. I pruned some old logs for now, but the mitigations in T12611 (e.g., separate log volumes) would resolve this properly.

Oct 12 2017, 3:38 PM · Diffusion, Ops, Daemons, Phacility

Oct 11 2017

epriestley added a revision to T13008: Process slot exhaustion in Phacility web tier: Unknown Object (Differential Revision).
Oct 11 2017, 11:39 PM · Ops, Phacility
AlexL777 asked Q642: Phabricator on Shared Hosting - MySQL User needs GRANT Permissions.
Oct 11 2017, 10:20 AM
fzhan removed a member for Notifications: fzhan.
Oct 11 2017, 6:25 AM
fzhan added a member for Notifications: fzhan.
Oct 11 2017, 6:24 AM

Oct 10 2017

epriestley added a revision to T13008: Process slot exhaustion in Phacility web tier: Unknown Object (Differential Revision).
Oct 10 2017, 10:26 PM · Ops, Phacility
epriestley added a revision to T13008: Process slot exhaustion in Phacility web tier: Unknown Object (Differential Revision).
Oct 10 2017, 10:17 PM · Ops, Phacility
epriestley added a revision to T13008: Process slot exhaustion in Phacility web tier: Unknown Object (Differential Revision).
Oct 10 2017, 8:36 PM · Ops, Phacility
epriestley added a revision to T13008: Process slot exhaustion in Phacility web tier: Unknown Object (Differential Revision).
Oct 10 2017, 8:23 PM · Ops, Phacility
epriestley added a revision to T13008: Process slot exhaustion in Phacility web tier: Unknown Object (Differential Revision).
Oct 10 2017, 7:09 PM · Ops, Phacility
epriestley added a project to T13008: Process slot exhaustion in Phacility web tier: Ops.
Oct 10 2017, 7:04 PM · Ops, Phacility
epriestley updated the task description for T13008: Process slot exhaustion in Phacility web tier.
Oct 10 2017, 7:02 PM · Ops, Phacility
epriestley added a revision to T13008: Process slot exhaustion in Phacility web tier: Unknown Object (Differential Revision).
Oct 10 2017, 6:58 PM · Ops, Phacility
epriestley created T13008: Process slot exhaustion in Phacility web tier.
Oct 10 2017, 6:55 PM · Ops, Phacility
csilvers added a comment to T13007: Integrating `arc lint` and auto-fixers.

Oops, I filed it in the wrong place, my apologies!

Oct 10 2017, 6:39 PM · Lint, Arcanist
epriestley closed T13007: Integrating `arc lint` and auto-fixers as Invalid.

Please file feature requests through the community forum (https://discourse.phabricator-community.org) or a support pact (https://admin.phacility.com/book/phacility/article/support_pacts/).

Oct 10 2017, 6:23 PM · Lint, Arcanist
csilvers added a comment to T13007: Integrating `arc lint` and auto-fixers.

Doh!, I was looking at the jshint engine before, not the eslint engine. It looks like phab doesn't have built-in support for eslint yet. But this looks promising: maybe the autofixing eslint reports *is* on an error-by-error basis.

Oct 10 2017, 6:04 PM · Lint, Arcanist
sophiebits added a comment to T13007: Integrating `arc lint` and auto-fixers.

At Facebook we have a custom arcanist lint engine that wraps eslint with a custom (JS) runner that extracts more info about each fix:

Oct 10 2017, 5:44 PM · Lint, Arcanist
csilvers created T13007: Integrating `arc lint` and auto-fixers.
Oct 10 2017, 5:11 PM · Lint, Arcanist
epriestley added a comment to T4369: Phabricator HTTP repository hosting has fairly severe scalability limits.

Our access to superglobals in PhabricatorStartup comes from D6672, and works around an issue where PHP's (fairly insane) sanitization filters are configured.

Oct 10 2017, 4:31 PM · Diffusion (v3), Restricted Project
epriestley added a comment to T4369: Phabricator HTTP repository hosting has fairly severe scalability limits.

Would auto_globals_jit help?

Oct 10 2017, 4:16 PM · Diffusion (v3), Restricted Project
d.maznekov added a project to Q641: Some .h files don't shown in Diffusion?: Diffusion.
Oct 10 2017, 10:56 AM · Diffusion
d.maznekov asked Q641: Some .h files don't shown in Diffusion?.
Oct 10 2017, 10:56 AM · Diffusion
epriestley added a comment to T12991: Enable notifications for admin.phacility.com.

I think this is working properly in production, I recall getting at least one notification today.

Oct 10 2017, 12:06 AM
epriestley added a revision to T13000: Sustained MySQL I/O overwhelmed db009 / huge Ferret engine ngrams table: Unknown Object (Differential Revision).
Oct 10 2017, 12:04 AM · Ops, Phacility

Oct 9 2017

epriestley created T13006: Passphrase can't distinguish between correct, mangled, and passphrase-encoded SSH keys.
Oct 9 2017, 7:55 PM · Passphrase
amckinley created Image Macro "hawkward".
Oct 9 2017, 7:00 PM
0 added a revision to T13005: Fix misspelled strings: Unknown Object (Differential Revision).
Oct 9 2017, 6:56 PM
0 created T13005: Fix misspelled strings.
Oct 9 2017, 6:48 PM
epriestley added a member for Community: 0.
Oct 9 2017, 5:54 PM
20after4 awarded T13000: Sustained MySQL I/O overwhelmed db009 / huge Ferret engine ngrams table a Baby Tequila token.
Oct 9 2017, 1:10 AM · Ops, Phacility

Oct 7 2017

epriestley added a comment to T13004: [Stable] bin/storage dump fails if there's a password set.

We should probably update the documentation to recommend --output and --compress, since the error behavior (e.g., in the event of a full disk) is better.

Oct 7 2017, 8:26 PM · Bug Report
borna.emami added a comment to T13004: [Stable] bin/storage dump fails if there's a password set.

Thanks for the fix on that. I have my nightly backups running again, however I had to switch from

./bin/storage dump | gzip > file.sql.gz

to

phab/bin/storage dump --output file.sql.gz --compress
Oct 7 2017, 7:51 PM · Bug Report
mydeveloperday added a watcher for Community: mydeveloperday.
Oct 7 2017, 5:27 PM
epriestley closed T13003: `admin.phacility.com` is receiving a huge volume of "leafweb" traffic as Resolved.

This is still ongoing but it isn't impacting us so I don't plan to do anything else here.

Oct 7 2017, 12:14 PM · Ops, Phacility
epriestley added a comment to T13003: `admin.phacility.com` is receiving a huge volume of "leafweb" traffic.

I've deployed the slightly more formal preamble. It no longer has the remote address logging, but here are the addresses captured up to now (first column: request count; second column: address):

Oct 7 2017, 12:10 PM · Ops, Phacility
epriestley closed T13004: [Stable] bin/storage dump fails if there's a password set as Resolved by committing Restricted Diffusion Commit.
Oct 7 2017, 12:00 PM · Bug Report
borna.emami added a comment to T13004: [Stable] bin/storage dump fails if there's a password set.

Thanks for the quick response. I'll try the workaround in the morning.

Oct 7 2017, 11:38 AM · Bug Report
avivey renamed T13004: [Stable] bin/storage dump fails if there's a password set from bin/storage dump fails if there's a password set to [Stable] bin/storage dump fails if there's a password set.
Oct 7 2017, 9:20 AM · Bug Report
avivey created T13004: [Stable] bin/storage dump fails if there's a password set.
Oct 7 2017, 9:16 AM · Bug Report
• stefb965 added a comment to F5213312: sbAvatar.jpg.

insomniaqc

Oct 7 2017, 1:00 AM
• stefb965 added a comment to F5213301: profile.xhprof.

Oct 7 2017, 12:52 AM
peterfaiman added a comment to T4369: Phabricator HTTP repository hosting has fairly severe scalability limits.

When enabled, the SERVER, REQUEST, and ENV variables are created when they're first used (Just In Time) instead of when the script starts.

Oct 7 2017, 12:02 AM · Diffusion (v3), Restricted Project

Oct 6 2017

epriestley added a comment to T4369: Phabricator HTTP repository hosting has fairly severe scalability limits.

A wrench in the gears here is that disabling enable_post_data_reading also disables $_FILES, which we use in about 20 places with vanilla HTTP <input type="file" /> controls. So on top of initialization order issues with $_POST, we also need to build a multipart/form-data parser that can populate a synthetic $_FILES or some similar construct.

Oct 6 2017, 11:05 PM · Diffusion (v3), Restricted Project
epriestley merged T11546: File Storage setup doc makes a hokey suggestion into T4369: Phabricator HTTP repository hosting has fairly severe scalability limits.
Oct 6 2017, 10:42 PM · Diffusion (v3), Restricted Project
epriestley merged task T11546: File Storage setup doc makes a hokey suggestion into T4369: Phabricator HTTP repository hosting has fairly severe scalability limits.
Oct 6 2017, 10:42 PM · Feature Request, Documentation
epriestley added a comment to T11546: File Storage setup doc makes a hokey suggestion.

I'm going to merge this into T4369, which has some similar discussion and more context.

Oct 6 2017, 10:42 PM · Feature Request, Documentation