Page MenuHomePhabricator
Feed All Stories

Oct 14 2017

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
epriestley edited the content of Changelog.
Oct 6 2017, 9:30 PM
epriestley created 2017 Week 40 (Early October).
Oct 6 2017, 9:30 PM
cinek asked Q640: When looking at a commit, what's the quickest way to view the related source tree?.
Oct 6 2017, 7:26 PM · Diffusion
epriestley added a comment to T11786: Loop/degenerate behavior in RepositoryGraphCache.

PHI109 captured a slightly more illuminating error. D18692 has some discussion.

Oct 6 2017, 7:09 PM · Performance, Diffusion
epriestley added a revision to T11786: Loop/degenerate behavior in RepositoryGraphCache: Unknown Object (Differential Revision).
Oct 6 2017, 7:08 PM · Performance, Diffusion
epriestley added a comment to T11413: Support renaming Phacility instances.

We now have three of these in Support (PHI63, PHI107, PHI128). I think the pathway forward is something like:

Oct 6 2017, 4:24 PM · Phacility
epriestley added a revision to T13000: Sustained MySQL I/O overwhelmed db009 / huge Ferret engine ngrams table: Unknown Object (Differential Revision).
Oct 6 2017, 2:51 PM · Ops, Phacility
epriestley added a revision to T13000: Sustained MySQL I/O overwhelmed db009 / huge Ferret engine ngrams table: Unknown Object (Differential Revision).
Oct 6 2017, 2:09 PM · Ops, Phacility
epriestley added a revision to T13003: `admin.phacility.com` is receiving a huge volume of "leafweb" traffic: Unknown Object (Differential Revision).
Oct 6 2017, 2:02 PM · Ops, Phacility
epriestley added a comment to T13003: `admin.phacility.com` is receiving a huge volume of "leafweb" traffic.

This is still ongoing, although we're weathering it without any issues.

Oct 6 2017, 1:54 PM · Ops, Phacility
stevex awarded T11217: Make Tokens modular / real application a Manufacturing Defect? token.
Oct 6 2017, 1:43 PM · Restricted Project, Contributor Onboarding, Celerity, Tokens
epriestley added a comment to T13000: Sustained MySQL I/O overwhelmed db009 / huge Ferret engine ngrams table.

Yes, use bin/storage dump --no-indexes. See here for more details:

Oct 6 2017, 1:43 PM · Ops, Phacility
spawnlt awarded T3967: Build a 2-up preview mode into the fullscreen Remarkup editor a Party Time token.
Oct 6 2017, 1:09 PM · Remarkup
spawnlt awarded T8552: Increase user control over document hierarchy in Phriction a Party Time token.
Oct 6 2017, 1:07 PM · Phriction, Restricted Project
spawnlt awarded T4675: Support bulk editing object policies and other fields with complex UI controls a Party Time token.
Oct 6 2017, 10:10 AM · ApplicationEditor
Darakir awarded T5051: Burn down charts for Milestones a Love token.
Oct 6 2017, 8:38 AM · Restricted Project, Projects, Wikimedia
kuba-orlik awarded T8783: Unprototype Nuance (v1) a Love token.
Oct 6 2017, 8:25 AM · Nuance, Restricted Project
bcooksley added a comment to T13000: Sustained MySQL I/O overwhelmed db009 / huge Ferret engine ngrams table.

For those of us who don't mind having to wait through a large reindex after restoring from a backup, is there a way to ask the backup process to skip dumping the index tables? (Based on the above I presume they'll still be included)

Oct 6 2017, 8:23 AM · Ops, Phacility
gracicot updated the question details for Q639: Is it possible to filter a by a custom field by empty value in maniphest?.
Oct 6 2017, 12:32 AM · Maniphest
gracicot updated the question details for Q639: Is it possible to filter a by a custom field by empty value in maniphest?.
Oct 6 2017, 12:31 AM · Maniphest
gracicot asked Q639: Is it possible to filter a by a custom field by empty value in maniphest?.
Oct 6 2017, 12:31 AM · Maniphest

Oct 5 2017

epriestley added a comment to T13003: `admin.phacility.com` is receiving a huge volume of "leafweb" traffic.

merely a large number and not an enormous number

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

Handful of these, too:

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

I early 500'd these requests in preamble.php and load seems better now:

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

There are a very large number of originating IP addresses so I'm going to filter this traffic by path rather than by IP address.

Oct 5 2017, 9:16 PM · Ops, Phacility
epriestley created T13003: `admin.phacility.com` is receiving a huge volume of "leafweb" traffic.
Oct 5 2017, 9:08 PM · Ops, Phacility
epriestley added a comment to T12907: Unable to download large files through alternative file domain.

On the bin/files download side of things, we currently buffer the whole file into a string and then hit this:

Oct 5 2017, 8:41 PM · Bug Report
epriestley added a comment to T12907: Unable to download large files through alternative file domain.

For consistency, I gave the content Cloudfront distribution a 60-second timeout as well.

Oct 5 2017, 8:28 PM · Bug Report
epriestley added a comment to T12907: Unable to download large files through alternative file domain.

Pulling stuff from admin.phacility.com via Cloudfront, I get this instead:

Oct 5 2017, 8:20 PM · Bug Report
epriestley added a comment to T12907: Unable to download large files through alternative file domain.

In the log above, this download should have worked:

Oct 5 2017, 7:43 PM · Bug Report
epriestley removed a member for Phacility High Command: chad.
Oct 5 2017, 5:02 PM
epriestley added a member for Phacility: amckinley.
Oct 5 2017, 5:02 PM
epriestley removed a member for Phacility: chad.
Oct 5 2017, 5:02 PM
epriestley removed a member for Phacility Core Access: chad.
Oct 5 2017, 5:02 PM
epriestley added a comment to T12612: Design (and possibly implement) production rate limiting controls.

In PHI120, we hit an issue where an instance (whose members seem to be located in Asia) performed 1,600 file uploads at roughly 256KB/sec, apparently putting a substantial amount of pressure on workers for ~12 minutes.

Oct 5 2017, 2:48 PM · Phacility, Ops
spawnlt added Q638: Workbord columns vs task statuses - when to use which? (Answer 562).
Oct 5 2017, 10:47 AM
ragnalinux added a comment to T10632: Error displaying a Differential revision.

i encountered same problem , but it happened on libphutil/src/xsprintf/xsprintf.php. I resolved this problem by setting max_nesting_level on php xdebug .

Oct 5 2017, 9:14 AM · Bug Report
epriestley added a revision to T13000: Sustained MySQL I/O overwhelmed db009 / huge Ferret engine ngrams table: Unknown Object (Differential Revision).
Oct 5 2017, 12:27 AM · Ops, Phacility

Oct 4 2017

epriestley added a revision to T13000: Sustained MySQL I/O overwhelmed db009 / huge Ferret engine ngrams table: Unknown Object (Differential Revision).
Oct 4 2017, 11:55 PM · Ops, Phacility
epriestley added a revision to T13000: Sustained MySQL I/O overwhelmed db009 / huge Ferret engine ngrams table: Unknown Object (Differential Revision).
Oct 4 2017, 11:54 PM · Ops, Phacility
epriestley added a revision to T13000: Sustained MySQL I/O overwhelmed db009 / huge Ferret engine ngrams table: Restricted Differential Revision.
Oct 4 2017, 11:49 PM · Ops, Phacility