Page MenuHomePhabricator
Feed Advanced Search

Aug 11 2019

epriestley updated the task description for T13371: When instances change up/down status, start or stop their daemons.
Aug 11 2019, 4:40 PM · Phacility
epriestley added a revision to T13371: When instances change up/down status, start or stop their daemons: Restricted Differential Revision.
Aug 11 2019, 4:38 PM · Phacility
epriestley added a revision to T13371: When instances change up/down status, start or stop their daemons: Restricted Differential Revision.
Aug 11 2019, 4:35 PM · Phacility
epriestley added a revision to T13347: During MySQL import, server may "2006 MySQL server has gone away" when "max_allowed_packet" server setting is too small, despite client setting: Restricted Differential Revision.
Aug 11 2019, 4:19 PM · Ops, Restricted Project, Phacility
epriestley added a revision to T13347: During MySQL import, server may "2006 MySQL server has gone away" when "max_allowed_packet" server setting is too small, despite client setting: Restricted Differential Revision.
Aug 11 2019, 4:10 PM · Ops, Restricted Project, Phacility
epriestley closed T13372: Permanently remove references to "phd.bots" in "core/" as Resolved by committing Restricted Diffusion Commit.
Aug 11 2019, 3:57 PM · Phacility
epriestley added a revision to T13372: Permanently remove references to "phd.bots" in "core/": Restricted Differential Revision.
Aug 11 2019, 3:55 PM · Phacility
epriestley triaged T13372: Permanently remove references to "phd.bots" in "core/" as Low priority.
Aug 11 2019, 3:40 PM · Phacility
epriestley triaged T13371: When instances change up/down status, start or stop their daemons as Normal priority.
Aug 11 2019, 3:39 PM · Phacility

Aug 7 2019

fabe added a comment to T13358: Generate PDFs for Phortune invoices.

you can add libreoffice/soffice to your list. last time we had to do sth like this we used soffice --headless --convert-to pdf
not really better than running a browser though... in our use case we needed to use merchant uploaded doc/docx templates in combination with our data. so even less options.
but yeah most options around pdf generation are clunky.

Aug 7 2019, 4:30 PM · Phortune, Phacility
epriestley added a comment to T13358: Generate PDFs for Phortune invoices.

Yeah, I'm really hoping to not require us to run an entire browser or depend on an external service to generate PDFs. The approaches I found in my research were:

Aug 7 2019, 3:36 PM · Phortune, Phacility
magnetik added a comment to T13358: Generate PDFs for Phortune invoices.

Just my two cents here, but chrome has an headless mode that allows to "print to pdf" : https://developers.google.com/web/updates/2017/04/headless-chrome

Aug 7 2019, 3:11 PM · Phortune, Phacility

Aug 5 2019

epriestley added a comment to T13358: Generate PDFs for Phortune invoices.

When I apt-get install wkhtmltopdf (or something like that) on aux001, which is Ubuntu 14, I get this:

Aug 5 2019, 12:33 AM · Phortune, Phacility

Aug 4 2019

avivey added a comment to T13358: Generate PDFs for Phortune invoices.

I've worked with wkhtmltopdf several times, and I don't remember it actually requiring any special setup - in all cases, I basically dropped the binary in the machine (Although it's possible all my machines had X11 built in for some reason? I've never intentionally installed X11).

Aug 4 2019, 7:02 PM · Phortune, Phacility

Aug 2 2019

epriestley added a comment to T13358: Generate PDFs for Phortune invoices.

Just some observations after popping open PDF invoices which have shown up in my inbox recently:

Aug 2 2019, 11:18 PM · Phortune, Phacility
epriestley added a comment to T13111: Periodically run `git prune` on Git working copies.

See PHI1367, which featured a specific case where git repack unambiguously did something good instead of being magic fairy dust that we sprinkle around to ward off demons.

Aug 2 2019, 10:07 PM · Phacility, Diffusion
epriestley added a revision to T13366: Update Phortune to work better with "enterprise" billing/accounts departments: D20697: Refactor the Phortune account detail page into a series of smaller, more focused sections.
Aug 2 2019, 6:55 PM · Phortune, Phacility
epriestley updated the task description for T13367: Phortune "enterprise" update errata.
Aug 2 2019, 6:52 PM · Phortune, Phacility
epriestley triaged T13367: Phortune "enterprise" update errata as Low priority.
Aug 2 2019, 6:49 PM · Phortune, Phacility
epriestley added a comment to T13366: Update Phortune to work better with "enterprise" billing/accounts departments.

This is also more "while I'm here", but there's no web UI way to void an invoice right now. It would be nice to have a "Void Invoice" button for staff instead of requiring database fiddling, since this comes up occasionally.

Aug 2 2019, 6:37 PM · Phortune, Phacility
epriestley closed T13341: Phacility/Phortune invoice email merchant behavior changed circa June 22, a subtask of T13366: Update Phortune to work better with "enterprise" billing/accounts departments, as Resolved.
Aug 2 2019, 5:51 PM · Phortune, Phacility
epriestley closed T13341: Phacility/Phortune invoice email merchant behavior changed circa June 22 as Resolved by committing rP87f878ec8a77: Stop trying to CC merchants on invoices/receipts.
Aug 2 2019, 5:51 PM · Phortune, Phacility
epriestley added a revision to T13341: Phacility/Phortune invoice email merchant behavior changed circa June 22: D20696: Stop trying to CC merchants on invoices/receipts.
Aug 2 2019, 5:48 PM · Phortune, Phacility
epriestley added a comment to T13341: Phacility/Phortune invoice email merchant behavior changed circa June 22.

Per T13366, I'm just going to get rid of this behavior for now, with the expectation that we'll soon begin generating side-channel emails for "Billing Department Email Address" under the umbrella of T8389 and could put "Merchant Emails" on a similar channel if we want.

Aug 2 2019, 5:43 PM · Phortune, Phacility
epriestley added a parent task for T8389: Allow arbitrary email addresses to be CC'd on Phacility billing emails: T13366: Update Phortune to work better with "enterprise" billing/accounts departments.
Aug 2 2019, 5:41 PM · Phortune, Phacility
epriestley added a parent task for T7607: Invoicing emails probably need some work: T13366: Update Phortune to work better with "enterprise" billing/accounts departments.
Aug 2 2019, 5:41 PM · Phortune, Phacility
epriestley added a parent task for T13341: Phacility/Phortune invoice email merchant behavior changed circa June 22: T13366: Update Phortune to work better with "enterprise" billing/accounts departments.
Aug 2 2019, 5:41 PM · Phortune, Phacility
epriestley added a parent task for T13358: Generate PDFs for Phortune invoices: T13366: Update Phortune to work better with "enterprise" billing/accounts departments.
Aug 2 2019, 5:41 PM · Phortune, Phacility
epriestley added subtasks for T13366: Update Phortune to work better with "enterprise" billing/accounts departments: T13341: Phacility/Phortune invoice email merchant behavior changed circa June 22, T13358: Generate PDFs for Phortune invoices, T8389: Allow arbitrary email addresses to be CC'd on Phacility billing emails, T7607: Invoicing emails probably need some work.
Aug 2 2019, 5:41 PM · Phortune, Phacility
epriestley triaged T13366: Update Phortune to work better with "enterprise" billing/accounts departments as Normal priority.
Aug 2 2019, 5:40 PM · Phortune, Phacility

Aug 1 2019

epriestley triaged T13359: Phacility deploy workflow should not conflate versions-for-deployment with "latest stable release" as Low priority.
Aug 1 2019, 5:48 PM · Phacility, Ops
epriestley added a revision to T13358: Generate PDFs for Phortune invoices: D20692: Add very basic support for generating PDF documents.
Aug 1 2019, 5:37 PM · Phortune, Phacility
epriestley added a comment to T13358: Generate PDFs for Phortune invoices.

$info_object = new PhabricatorPDFInfoObject();

Aug 1 2019, 5:20 PM · Phortune, Phacility
epriestley added a comment to T13358: Generate PDFs for Phortune invoices.

PDF files appear to consist of a series of objects that (mostly) look like this:

Aug 1 2019, 2:36 AM · Phortune, Phacility
epriestley triaged T13358: Generate PDFs for Phortune invoices as Low priority.
Aug 1 2019, 12:55 AM · Phortune, Phacility

Jul 30 2019

epriestley added a revision to T7148: Allow users to export their data from Phacility: Restricted Differential Revision.
Jul 30 2019, 6:20 PM · Phacility
epriestley added a revision to T13347: During MySQL import, server may "2006 MySQL server has gone away" when "max_allowed_packet" server setting is too small, despite client setting: Restricted Differential Revision.
Jul 30 2019, 6:20 PM · Ops, Restricted Project, Phacility
epriestley added a revision to T7148: Allow users to export their data from Phacility: Restricted Differential Revision.
Jul 30 2019, 6:18 PM · Phacility
epriestley added a revision to T13347: During MySQL import, server may "2006 MySQL server has gone away" when "max_allowed_packet" server setting is too small, despite client setting: Restricted Differential Revision.
Jul 30 2019, 6:18 PM · Ops, Restricted Project, Phacility

Jul 24 2019

epriestley added a comment to T13347: During MySQL import, server may "2006 MySQL server has gone away" when "max_allowed_packet" server setting is too small, despite client setting.

Adjusting log_warnings = 2 in production (to get connection aborts into the error log) is also possibly desirable, although the background level of connection abortions (general network flakiness, server restarts during deploy, wait_timeout on very long-running demons?) may be high enough that this is more noise than signal.

Jul 24 2019, 2:03 PM · Ops, Restricted Project, Phacility

Jul 23 2019

epriestley added a comment to T13347: During MySQL import, server may "2006 MySQL server has gone away" when "max_allowed_packet" server setting is too small, despite client setting.

We could also consider these things:

Jul 23 2019, 1:10 PM · Ops, Restricted Project, Phacility
epriestley added a comment to T13347: During MySQL import, server may "2006 MySQL server has gone away" when "max_allowed_packet" server setting is too small, despite client setting.

So actual actionable stuff here is:

Jul 23 2019, 1:04 PM · Ops, Restricted Project, Phacility
epriestley renamed T13347: During MySQL import, server may "2006 MySQL server has gone away" when "max_allowed_packet" server setting is too small, despite client setting from During MySQL import, server may "2006 MySQL server has gone away" when row data size is large relative to "innodb_log_file_size" (?) to During MySQL import, server may "2006 MySQL server has gone away" when "max_allowed_packet" server setting is too small, despite client setting.
Jul 23 2019, 12:59 PM · Ops, Restricted Project, Phacility

Jul 22 2019

epriestley added a comment to T13347: During MySQL import, server may "2006 MySQL server has gone away" when "max_allowed_packet" server setting is too small, despite client setting.

Bumping max_allowed_packet to 1G in the server config resolved things. The export process then spent a long time doing a bin/files migration (which could use a progress bar, maybe) and is now doing a dump (which could too, although I'm less sure of how we'd build one).

Jul 22 2019, 11:52 PM · Ops, Restricted Project, Phacility
epriestley added a comment to T13347: During MySQL import, server may "2006 MySQL server has gone away" when "max_allowed_packet" server setting is too small, despite client setting.
190722 18:55:55 [Warning] Aborted connection 6 to db: '<instance>_differential' user: 'root' host: 'localhost' (Got a packet bigger than 'max_allowed_packet' bytes)
Jul 22 2019, 6:59 PM · Ops, Restricted Project, Phacility
epriestley added a comment to T13347: During MySQL import, server may "2006 MySQL server has gone away" when "max_allowed_packet" server setting is too small, despite client setting.

I adjusted innodb_log_file_size to 1GB and attempted the import again, but ran into the same issue.

Jul 22 2019, 6:16 PM · Ops, Restricted Project, Phacility
epriestley renamed T13347: During MySQL import, server may "2006 MySQL server has gone away" when "max_allowed_packet" server setting is too small, despite client setting from During MySQL import, server may "2006 MySQL server has gone away" when row data size is large relative to "innodb_log_file_size" to During MySQL import, server may "2006 MySQL server has gone away" when row data size is large relative to "innodb_log_file_size" (?).
Jul 22 2019, 6:13 PM · Ops, Restricted Project, Phacility
epriestley added a revision to T13347: During MySQL import, server may "2006 MySQL server has gone away" when "max_allowed_packet" server setting is too small, despite client setting: D20677: Provide import/restore guidance for "max_allowed_packet" and "innodb_log_file_size".
Jul 22 2019, 5:05 PM · Ops, Restricted Project, Phacility
epriestley added a revision to T13347: During MySQL import, server may "2006 MySQL server has gone away" when "max_allowed_packet" server setting is too small, despite client setting: Restricted Differential Revision.
Jul 22 2019, 4:38 PM · Ops, Restricted Project, Phacility
epriestley renamed T13347: During MySQL import, server may "2006 MySQL server has gone away" when "max_allowed_packet" server setting is too small, despite client setting from During MySQL import, server may "go away" on large dumps? to During MySQL import, server may "2006 MySQL server has gone away" when row data size is large relative to "innodb_log_file_size".
Jul 22 2019, 4:27 PM · Ops, Restricted Project, Phacility
epriestley added a comment to T13347: During MySQL import, server may "2006 MySQL server has gone away" when "max_allowed_packet" server setting is too small, despite client setting.

The "age of the last checkpoint" error appears to primarily implicate innodb_log_file_size, which is currently set to the default value (5MB):

Jul 22 2019, 4:26 PM · Ops, Restricted Project, Phacility
epriestley added a comment to T13347: During MySQL import, server may "2006 MySQL server has gone away" when "max_allowed_packet" server setting is too small, despite client setting.

I'll also double check wait_timeout and interactive_timeout...

Jul 22 2019, 4:01 PM · Ops, Restricted Project, Phacility
epriestley added a comment to T13347: During MySQL import, server may "2006 MySQL server has gone away" when "max_allowed_packet" server setting is too small, despite client setting.

Aha! The MySQL error log actually appears to have something useful:

Jul 22 2019, 3:55 PM · Ops, Restricted Project, Phacility
epriestley added a comment to T13347: During MySQL import, server may "2006 MySQL server has gone away" when "max_allowed_packet" server setting is too small, despite client setting.

Run it with source ...;

Jul 22 2019, 3:54 PM · Ops, Restricted Project, Phacility
epriestley added a comment to T13347: During MySQL import, server may "2006 MySQL server has gone away" when "max_allowed_packet" server setting is too small, despite client setting.

Unzip the dump before running it.

Jul 22 2019, 3:45 PM · Ops, Restricted Project, Phacility
epriestley added a comment to T13347: During MySQL import, server may "2006 MySQL server has gone away" when "max_allowed_packet" server setting is too small, despite client setting.

Look at the unzipped dump and see if line 13935 is bad in some obvious way.

Jul 22 2019, 3:40 PM · Ops, Restricted Project, Phacility
epriestley added a comment to T13347: During MySQL import, server may "2006 MySQL server has gone away" when "max_allowed_packet" server setting is too small, despite client setting.

(Whatever the resolution is here might also motivate tailoring our restore/import instructions, since this error is pretty opaque and the next steps aren't obvious.)

Jul 22 2019, 3:21 PM · Ops, Restricted Project, Phacility
epriestley added a comment to T13347: During MySQL import, server may "2006 MySQL server has gone away" when "max_allowed_packet" server setting is too small, despite client setting.

(Internally, see also PHI1329.)

Jul 22 2019, 3:18 PM · Ops, Restricted Project, Phacility
epriestley triaged T13347: During MySQL import, server may "2006 MySQL server has gone away" when "max_allowed_packet" server setting is too small, despite client setting as Low priority.
Jul 22 2019, 3:18 PM · Ops, Restricted Project, Phacility

Jul 17 2019

epriestley moved T10696: Aphlict slowly grows to use an uncomfortably large amount of memory if the disk is full from vNext to Far Future on the Aphlict board.
Jul 17 2019, 6:30 PM · Aphlict, Phacility, Ops

Jul 15 2019

epriestley triaged T13341: Phacility/Phortune invoice email merchant behavior changed circa June 22 as Low priority.
Jul 15 2019, 6:42 PM · Phortune, Phacility

Jun 29 2019

epriestley closed T13320: Unannounced/unlogged AWS reboots are apparently routine procedure, not cosmic rays / ghosts as Resolved.

This is deployed everywhere now, and kicking secure004 over seemed to work correctly, at least.

Jun 29 2019, 6:57 PM · Phacility
epriestley closed T13321: "bin/phd" may try to kill processes it does not own if the daemon PID logfiles on disk are out of date as Resolved.

This stuff is all deployed, now.

Jun 29 2019, 6:56 PM · Daemons, Phacility
epriestley closed T13321: "bin/phd" may try to kill processes it does not own if the daemon PID logfiles on disk are out of date, a subtask of T13320: Unannounced/unlogged AWS reboots are apparently routine procedure, not cosmic rays / ghosts, as Resolved.
Jun 29 2019, 6:56 PM · Phacility

Jun 27 2019

epriestley created T13329: In Phacility, inviting an email address that belongs to a bot/mailing list account hits new "import" language in a confusing way.
Jun 27 2019, 6:05 PM · Phacility

Jun 26 2019

epriestley added a comment to T13321: "bin/phd" may try to kill processes it does not own if the daemon PID logfiles on disk are out of date.

cd provides "at least once" delivery guarantees.

Jun 26 2019, 1:44 AM · Daemons, Phacility
amckinley added a comment to T13321: "bin/phd" may try to kill processes it does not own if the daemon PID logfiles on disk are out of date.

cd provides "at least once" delivery guarantees.

Jun 26 2019, 12:13 AM · Daemons, Phacility

Jun 25 2019

epriestley added a revision to T13321: "bin/phd" may try to kill processes it does not own if the daemon PID logfiles on disk are out of date: D20620: When matching process titles, don't attempt a match if we're out of "argv" parts.
Jun 25 2019, 10:21 PM · Daemons, Phacility
epriestley added a revision to T13320: Unannounced/unlogged AWS reboots are apparently routine procedure, not cosmic rays / ghosts: Restricted Differential Revision.
Jun 25 2019, 5:50 PM · Phacility
epriestley added a comment to T13320: Unannounced/unlogged AWS reboots are apparently routine procedure, not cosmic rays / ghosts.

This incantation seems to work as an upstart job:

Jun 25 2019, 5:46 PM · Phacility
epriestley added a comment to T13320: Unannounced/unlogged AWS reboots are apparently routine procedure, not cosmic rays / ghosts.

I'm going to install an upstart task on secure004 and kick it a few times, some stuff might be sketchy until I figure that out.

Jun 25 2019, 5:17 PM · Phacility
epriestley added a comment to T13328: Database dumps can buffer (?) too much data to hold in memory.

The stalled production backup process completed successfully after deploying the change.

Jun 25 2019, 3:54 PM · Restricted Project, Infrastructure, Phacility
epriestley added a comment to T13328: Database dumps can buffer (?) too much data to hold in memory.

I'm going to try to sneak this out to the db tier to resolve things before the west coast wakes up, at least.

Jun 25 2019, 2:17 PM · Restricted Project, Infrastructure, Phacility
epriestley added a revision to T13328: Database dumps can buffer (?) too much data to hold in memory: D20617: Limit the read buffer size in `bin/storage dump`.
Jun 25 2019, 12:25 PM · Restricted Project, Infrastructure, Phacility
epriestley added a comment to T13328: Database dumps can buffer (?) too much data to hold in memory.

PHP Fatal error: Out of memory (allocated 311164928) (tried to allocate 105988097 bytes) in /core/lib/libphutil/src/future/exec/ExecFuture.php on line 246

Jun 25 2019, 12:18 PM · Restricted Project, Infrastructure, Phacility
epriestley created T13328: Database dumps can buffer (?) too much data to hold in memory.
Jun 25 2019, 12:06 PM · Restricted Project, Infrastructure, Phacility
epriestley added a revision to T13321: "bin/phd" may try to kill processes it does not own if the daemon PID logfiles on disk are out of date: D20616: Make "PhutilProcessQuery" detection of overseer processes more robust.
Jun 25 2019, 12:51 AM · Daemons, Phacility

Jun 24 2019

epriestley closed T13327: When all payment account members are disabled, subscription workers fail infinitely as Resolved by committing rPa3397fb87613: Consider "all account members are disabled" to be a permanent failure when….
Jun 24 2019, 10:29 PM · Phortune, Phacility
epriestley added a revision to T13327: When all payment account members are disabled, subscription workers fail infinitely: D20613: Consider "all account members are disabled" to be a permanent failure when billing a Phortune subscription.
Jun 24 2019, 9:50 PM · Phortune, Phacility
epriestley created T13327: When all payment account members are disabled, subscription workers fail infinitely.
Jun 24 2019, 9:33 PM · Phortune, Phacility

Jun 22 2019

epriestley added a comment to T13306: Provide a mechanism for importing local disk file backups into the Phacility cluster.

See one followup in T13326. The "import from disk" part seems to have worked properly in production.

Jun 22 2019, 4:51 PM · Phacility, Files

Jun 20 2019

epriestley added a comment to T13321: "bin/phd" may try to kill processes it does not own if the daemon PID logfiles on disk are out of date.

I just ran into this for the first time:

Jun 20 2019, 11:04 PM · Daemons, Phacility
epriestley added a revision to T13321: "bin/phd" may try to kill processes it does not own if the daemon PID logfiles on disk are out of date: Restricted Differential Revision.
Jun 20 2019, 10:44 PM · Daemons, Phacility
epriestley added a comment to T13321: "bin/phd" may try to kill processes it does not own if the daemon PID logfiles on disk are out of date.

I've also never seen anyone use kill -TERM `cat /path/to/pidfile` in real life over some flavor of pkill, which is basically the same thing as "pattern match the process titles".

Jun 20 2019, 10:36 PM · Daemons, Phacility
epriestley added a comment to T13321: "bin/phd" may try to kill processes it does not own if the daemon PID logfiles on disk are out of date.

provided I'm not missing some secret reason to retain PID files.

Jun 20 2019, 10:34 PM · Daemons, Phacility
epriestley added a revision to T13321: "bin/phd" may try to kill processes it does not own if the daemon PID logfiles on disk are out of date: Restricted Differential Revision.
Jun 20 2019, 10:33 PM · Daemons, Phacility
epriestley added a revision to T13321: "bin/phd" may try to kill processes it does not own if the daemon PID logfiles on disk are out of date: D20608: Remove "phd.pid-directory" configuration and stop passing "piddir" to daemons.
Jun 20 2019, 10:11 PM · Daemons, Phacility
epriestley added a revision to T13321: "bin/phd" may try to kill processes it does not own if the daemon PID logfiles on disk are out of date: D20607: Stop writing PID files in daemons.
Jun 20 2019, 10:05 PM · Daemons, Phacility
epriestley added a revision to T13321: "bin/phd" may try to kill processes it does not own if the daemon PID logfiles on disk are out of date: D20606: Make "phd start" and "phd reload" use the process list, not PID files.
Jun 20 2019, 9:57 PM · Daemons, Phacility
epriestley added a revision to T13321: "bin/phd" may try to kill processes it does not own if the daemon PID logfiles on disk are out of date: D20604: Make "bin/phd status" report local daemons from the process list, not a mess of local/remote information.
Jun 20 2019, 9:36 PM · Daemons, Phacility
epriestley added a revision to T13321: "bin/phd" may try to kill processes it does not own if the daemon PID logfiles on disk are out of date: D20603: Remove "PhutilDaemonOverseer->findRunningDaemons()".
Jun 20 2019, 9:25 PM · Daemons, Phacility
epriestley added a revision to T13321: "bin/phd" may try to kill processes it does not own if the daemon PID logfiles on disk are out of date: D20602: Deprecate "bin/phd ... --gently" and update documentation.
Jun 20 2019, 9:23 PM · Daemons, Phacility
epriestley added a revision to T13321: "bin/phd" may try to kill processes it does not own if the daemon PID logfiles on disk are out of date: D20601: Drive "phd stop" entirely from the process list, not PID files on disk.
Jun 20 2019, 9:14 PM · Daemons, Phacility
epriestley added a revision to T13321: "bin/phd" may try to kill processes it does not own if the daemon PID logfiles on disk are out of date: D20600: Formalize a "Query" class for looking at the process list.
Jun 20 2019, 9:03 PM · Daemons, Phacility
epriestley added a comment to T13321: "bin/phd" may try to kill processes it does not own if the daemon PID logfiles on disk are out of date.

I have a patch for this which basically says "don't try to kill any process which doesn't look like a daemon process".

Jun 20 2019, 8:04 PM · Daemons, Phacility
epriestley added a comment to T13321: "bin/phd" may try to kill processes it does not own if the daemon PID logfiles on disk are out of date.

This is probably somewhat entangled with T13253 and/or T11037 and this whole thing is kind of a mess.

Jun 20 2019, 7:32 PM · Daemons, Phacility
amckinley added a comment to T13320: Unannounced/unlogged AWS reboots are apparently routine procedure, not cosmic rays / ghosts.

systemd.gif (320×480 px, 3 MB)

Jun 20 2019, 6:40 PM · Phacility
epriestley added a comment to T13320: Unannounced/unlogged AWS reboots are apparently routine procedure, not cosmic rays / ghosts.

But wait! It says there are two ways! The other way is:

Jun 20 2019, 6:40 PM · Phacility
epriestley added a comment to T13320: Unannounced/unlogged AWS reboots are apparently routine procedure, not cosmic rays / ghosts.

If you are just writing an upstart job that needs to start the service after the basic facilities are up, either of these will work:

start on (local-filesystems and net-device-up IFACE!=lo)
Jun 20 2019, 6:38 PM · Phacility
epriestley created T13321: "bin/phd" may try to kill processes it does not own if the daemon PID logfiles on disk are out of date.
Jun 20 2019, 3:20 PM · Daemons, Phacility