Page MenuHomePhabricator
Feed Advanced Search

Oct 1 2014

epriestley created T6221: "Fixes" should work in comment text on revisions, not just summary text.
Oct 1 2014, 3:37 PM · Diffusion, Daemons

Sep 24 2014

chad added a comment to T5968: "Phabricator Daemons Need Restarting" is too difficult to understand/debug.

What specifically is your update process? See https://github.com/phacility/phabricator/blob/master/scripts/install/update_phabricator.sh for our recommended sequence.

Sep 24 2014, 4:28 PM · Daemons
• gwijnja79 added a comment to T5968: "Phabricator Daemons Need Restarting" is too difficult to understand/debug.

I have this issue now. Just did a git pull an hour ago on arcanist, libphutil and phabricator. Restarted apache and the phabricator daemons, but the warning is still there. I also did bin/phd stop and check if there were no daemons left and they were indeed all gone. There are no errors in the daemons.log file. One thing I checked is the APC cache (I have APC enabled) but its cache is cleared when Apache is restarted or reloaded. I have no idea what to do about it. Ignoring the warning doesn't feel right; it must be caused by something and that should be fixed.

Sep 24 2014, 4:08 PM · Daemons

Sep 19 2014

hach-que added a comment to T5968: "Phabricator Daemons Need Restarting" is too difficult to understand/debug.

Personally I think the different title / issue message cleared up a lot of confusion, because it's now very clear as to what the problem is when the issue pops up.

Sep 19 2014, 11:08 PM · Daemons
epriestley closed T5968: "Phabricator Daemons Need Restarting" is too difficult to understand/debug as Resolved.

I haven't seen more issues from users on this recently, so I think we either survived the initial backlash and/or writing a novel helped.

Sep 19 2014, 7:15 PM · Daemons

Sep 17 2014

chad updated subscribers of T3848: PhabricatorTaskmasterDaemon using fabulous amounts of RAM.
Sep 17 2014, 5:23 PM · Daemons
chad raised the priority of T3848: PhabricatorTaskmasterDaemon using fabulous amounts of RAM from High to Needs Triage.
Sep 17 2014, 5:21 PM · Daemons
• jon.krawczuk triaged T3848: PhabricatorTaskmasterDaemon using fabulous amounts of RAM as High priority.

Review as soon as possible

Sep 17 2014, 5:09 PM · Daemons

Sep 9 2014

• Jaraill added a comment to T5896: Mercurial fails to parse (A or B or ... or Z) revsets with more than about 300 items.

Any ideas how to fix it?

Sep 9 2014, 9:42 AM · Diffusion, Mercurial, Daemons

Sep 5 2014

btrahan placed T6016: "Daemon out-of-date" detection shows incorrect status in high availability setup up for grabs.

upsforgrabbsing as we'll deal with this more as part of high availability stuff

Sep 5 2014, 11:52 PM · Daemons
btrahan reassigned T5968: "Phabricator Daemons Need Restarting" is too difficult to understand/debug from btrahan to epriestley.

Maybe this is good now, but if not, I think your outstanding ideas are:

Sep 5 2014, 11:51 PM · Daemons
epriestley updated subscribers of T5196: Enforce that phd is run as the phd.user daemon user.

◀ Merged tasks: T6042.

Sep 5 2014, 6:57 PM · Support Impact, Daemons
epriestley closed T5897: Consistent `PhutilLockException` in `PhabricatorRepositoryPullLocalDaemon` log as Resolved.

Assuming that explanation covers things, but yell if stuff is still unclear.

Sep 5 2014, 2:19 PM · Repositories, Daemons
hach-que added a comment to T6016: "Daemon out-of-date" detection shows incorrect status in high availability setup.

In this case I think it was just me configuring different UI headers to different tiers.

Sep 5 2014, 12:46 PM · Daemons
epriestley added a comment to T6016: "Daemon out-of-date" detection shows incorrect status in high availability setup.

What configuration differs between tiers? I sort of imagine moving all the tier-dependent stuff elsewhere, although I don't have a clear vision for it yet.

Sep 5 2014, 12:36 PM · Daemons
epriestley added a revision to T5968: "Phabricator Daemons Need Restarting" is too difficult to understand/debug: Restricted Differential Revision.
Sep 5 2014, 2:19 AM · Daemons
epriestley added a comment to T5968: "Phabricator Daemons Need Restarting" is too difficult to understand/debug.

Whoops... Toggling "ignore" does change the config though, so isn't this warning showing up correctly?

Sep 5 2014, 1:55 AM · Daemons
epriestley added a revision to T5968: "Phabricator Daemons Need Restarting" is too difficult to understand/debug: Restricted Differential Revision.
Sep 5 2014, 1:50 AM · Daemons

Sep 3 2014

btrahan closed T5988: Stale daemons as Resolved.

Closed by commit rP7ecbc707846f.

Sep 3 2014, 10:15 PM · Daemons, Diffusion
epriestley added a comment to T5968: "Phabricator Daemons Need Restarting" is too difficult to understand/debug.

Setup issues are cached, toggling ignore is probably just clearing the cache.

Sep 3 2014, 7:27 PM · Daemons
btrahan added a comment to T5968: "Phabricator Daemons Need Restarting" is too difficult to understand/debug.

Whoops... Toggling "ignore" does change the config though, so isn't this warning showing up correctly?

Sep 3 2014, 4:14 PM · Daemons
btrahan added a comment to T5968: "Phabricator Daemons Need Restarting" is too difficult to understand/debug.

Toggling

Sep 3 2014, 4:10 PM · Daemons
cburroughs added a comment to T5968: "Phabricator Daemons Need Restarting" is too difficult to understand/debug.

Not sure if this is new, but with HEAD toggling 'ignore' on a setup issue triggers a setup issue for 'Phabricator Daemons Need Restarting'.

Sep 3 2014, 3:15 PM · Daemons

Sep 2 2014

chad triaged T5965: Mirroring an empty repository causes errors in the daemon log every minute. as Normal priority.
Sep 2 2014, 8:37 PM · Daemons
chad triaged T6016: "Daemon out-of-date" detection shows incorrect status in high availability setup as Normal priority.
Sep 2 2014, 8:35 PM · Daemons
chad triaged T5968: "Phabricator Daemons Need Restarting" is too difficult to understand/debug as Normal priority.
Sep 2 2014, 8:34 PM · Daemons
epriestley added a comment to T5897: Consistent `PhutilLockException` in `PhabricatorRepositoryPullLocalDaemon` log.

If you run multiple copies of the daemon, it's expected that they'll occasionally fail to acquire locks, because another copy of the daemon is busy updating the repository.

Sep 2 2014, 5:53 PM · Repositories, Daemons
Avish added a comment to T5897: Consistent `PhutilLockException` in `PhabricatorRepositoryPullLocalDaemon` log.

I might have been, yes. Is this not supported?

Sep 2 2014, 10:04 AM · Repositories, Daemons

Aug 30 2014

epriestley renamed T5969: Add timeouts to service calls to external mailers (was: PhabricatorMetaMTAWorker may hang indefinitely if "sendmail" hangs indefinitely) from PhabricatorMetaMTAWorker always takes ages to send email using default email adapter to PhabricatorMetaMTAWorker may hang indefinitely if "sendmail" hangs indefinitely.
Aug 30 2014, 2:50 PM · Mail
epriestley added a comment to T5969: Add timeouts to service calls to external mailers (was: PhabricatorMetaMTAWorker may hang indefinitely if "sendmail" hangs indefinitely).

I'm going to repurpose this for fixing the hang, we definitely shouldn't stall the queue over mail issues.

Aug 30 2014, 2:49 PM · Mail
hach-que closed T5969: Add timeouts to service calls to external mailers (was: PhabricatorMetaMTAWorker may hang indefinitely if "sendmail" hangs indefinitely) as Invalid.

This was caused by Docker killing off the SETGID bit on postqueue / postdrop executables. See https://gist.github.com/porjo/35ea98cb64553c0c718a.

Aug 30 2014, 2:49 PM · Mail
epriestley added a comment to T5969: Add timeouts to service calls to external mailers (was: PhabricatorMetaMTAWorker may hang indefinitely if "sendmail" hangs indefinitely).

From IRC:

Aug 30 2014, 2:23 PM · Mail
hach-que updated the task description for T5969: Add timeouts to service calls to external mailers (was: PhabricatorMetaMTAWorker may hang indefinitely if "sendmail" hangs indefinitely).
Aug 30 2014, 2:16 PM · Mail
hach-que renamed T5969: Add timeouts to service calls to external mailers (was: PhabricatorMetaMTAWorker may hang indefinitely if "sendmail" hangs indefinitely) from Phabricator daemons hang forever in Future::waitForSockets to PhabricatorMetaMTAWorker always takes ages to send email using default email adapter.
Aug 30 2014, 2:16 PM · Mail
hach-que added a comment to T5969: Add timeouts to service calls to external mailers (was: PhabricatorMetaMTAWorker may hang indefinitely if "sendmail" hangs indefinitely).

This is the backtrace on an actual child PID:

Aug 30 2014, 2:14 PM · Mail
hach-que updated the task description for T5969: Add timeouts to service calls to external mailers (was: PhabricatorMetaMTAWorker may hang indefinitely if "sendmail" hangs indefinitely).
Aug 30 2014, 2:05 PM · Mail
hach-que renamed T5969: Add timeouts to service calls to external mailers (was: PhabricatorMetaMTAWorker may hang indefinitely if "sendmail" hangs indefinitely) from PhabricatorMetaMTAWorker always takes ages to send email using default email adapter to Phabricator daemons hang forever in Future::waitForSockets.
Aug 30 2014, 2:04 PM · Mail
hach-que added a comment to T5969: Add timeouts to service calls to external mailers (was: PhabricatorMetaMTAWorker may hang indefinitely if "sendmail" hangs indefinitely).

Backtrace from daemons:

Aug 30 2014, 2:04 PM · Mail

Aug 29 2014

btrahan triaged T5988: Stale daemons as Normal priority.
Aug 29 2014, 6:32 PM · Daemons, Diffusion
btrahan added a revision to T2374: Have `bin/phd stop` look for daemons and warn you about them, or nuke them with some flag: Restricted Differential Revision.
Aug 29 2014, 5:36 PM · OS Students 2013, Daemons
stexxen added a comment to T5196: Enforce that phd is run as the phd.user daemon user.

Is it possible to get {D9307} committed? as this would certainly go a long way to help new users (like me) understand that even though the phd.user is described as 'Specify a system user to run the daemons as.' it doesn't currently mean that the users will now automatically run as that user.

Aug 29 2014, 12:40 PM · Support Impact, Daemons
epriestley added a revision to T5405: Move daemon logs from the web UI to console-only: Restricted Differential Revision.
Aug 29 2014, 12:31 PM · Daemons, Security
epriestley updated subscribers of T5196: Enforce that phd is run as the phd.user daemon user.

◀ Merged tasks: T5997.

Aug 29 2014, 12:22 PM · Support Impact, Daemons

Aug 27 2014

btrahan closed T5405: Move daemon logs from the web UI to console-only as Resolved.

Closed by commit rP06882a99cf92.

Aug 27 2014, 9:50 PM · Daemons, Security
btrahan added a revision to T5405: Move daemon logs from the web UI to console-only: Restricted Differential Revision.
Aug 27 2014, 9:42 PM · Daemons, Security
btrahan added a revision to T2374: Have `bin/phd stop` look for daemons and warn you about them, or nuke them with some flag: Restricted Differential Revision.
Aug 27 2014, 6:31 PM · OS Students 2013, Daemons

Aug 26 2014

hach-que added a comment to T5969: Add timeouts to service calls to external mailers (was: PhabricatorMetaMTAWorker may hang indefinitely if "sendmail" hangs indefinitely).

There are 14 queued tasks; none of them have been processed since I originally made the task. The MetaMTA tasks are now sitting on an expires of -39245.

Aug 26 2014, 10:48 PM · Mail
btrahan closed T5958: Permanently fail Feed HTTP tasks if the URI has been removed as Resolved.

Closed by commit rP7cdee1884ec8.

Aug 26 2014, 10:02 PM · Daemons, Feed
btrahan added a revision to T5958: Permanently fail Feed HTTP tasks if the URI has been removed: Restricted Differential Revision.
Aug 26 2014, 9:32 PM · Daemons, Feed
btrahan closed T2374: Have `bin/phd stop` look for daemons and warn you about them, or nuke them with some flag as Resolved.
Aug 26 2014, 9:09 PM · OS Students 2013, Daemons
btrahan added a revision to T2374: Have `bin/phd stop` look for daemons and warn you about them, or nuke them with some flag: Restricted Differential Revision.
Aug 26 2014, 9:00 PM · OS Students 2013, Daemons
btrahan added a revision to T2374: Have `bin/phd stop` look for daemons and warn you about them, or nuke them with some flag: Restricted Differential Revision.
Aug 26 2014, 7:59 PM · OS Students 2013, Daemons
epriestley added a comment to T5969: Add timeouts to service calls to external mailers (was: PhabricatorMetaMTAWorker may hang indefinitely if "sendmail" hangs indefinitely).

You can use bin/mail show-outbound --id <id> to inspect a "Void" message for an explanation as to why it was voided. Usually it means the recipient declined to receive the notification as an email, so we dropped the mail and did not deliver it.

Aug 26 2014, 4:07 PM · Mail
hach-que added a comment to T5969: Add timeouts to service calls to external mailers (was: PhabricatorMetaMTAWorker may hang indefinitely if "sendmail" hangs indefinitely).

This is what the leased tasks show as well:

Aug 26 2014, 1:14 PM · Mail
hach-que added a comment to T5969: Add timeouts to service calls to external mailers (was: PhabricatorMetaMTAWorker may hang indefinitely if "sendmail" hangs indefinitely).

I ran bin/mail send-test and then bin/mail list-outbound almost immediately after; this is what I saw:

Aug 26 2014, 1:07 PM · Mail
epriestley added a comment to T5969: Add timeouts to service calls to external mailers (was: PhabricatorMetaMTAWorker may hang indefinitely if "sendmail" hangs indefinitely).

Have you confirmed that sending mail really is a quick operation -- for example, by using bin/mail send-test? We've seen environments where this operation takes longer than one might expect.

Aug 26 2014, 12:42 PM · Mail
hach-que created T5969: Add timeouts to service calls to external mailers (was: PhabricatorMetaMTAWorker may hang indefinitely if "sendmail" hangs indefinitely).
Aug 26 2014, 8:35 AM · Mail

Aug 25 2014

epriestley assigned T5958: Permanently fail Feed HTTP tasks if the URI has been removed to btrahan.
  • In FeedPublisherHTTPWorker, before making the request, pull feed.http-hooks from config.
  • If the URI is no longer present, throw PhabricatorWorkerPermanentFailureException to permanently fail the request.
Aug 25 2014, 1:17 PM · Daemons, Feed
epriestley created T5958: Permanently fail Feed HTTP tasks if the URI has been removed.
Aug 25 2014, 6:30 AM · Daemons, Feed
epriestley renamed T3848: PhabricatorTaskmasterDaemon using fabulous amounts of RAM from PhabricatorTaskmasterDaemon using stupid amounts of RAM to PhabricatorTaskmasterDaemon using fabulous amounts of RAM.
Aug 25 2014, 2:30 AM · Daemons
epriestley reassigned T2374: Have `bin/phd stop` look for daemons and warn you about them, or nuke them with some flag from epriestley to btrahan.
  • D5663 added a reasonable-looking way to detect these processes, but bin/phd never got the glue code to call it.
  • This task is otherwise still relevant:
    • Add code in bin/phd stop and bin/phd restart to warn the user that there are processes which look like daemons that don't have corresponding PID files, and that they can use --force to terminate them.
    • With --force, terminate these processes.
    • The steps in https://secure.phabricator.com/T2374#8 should still let you reproduce this in modern phd.
Aug 25 2014, 12:35 AM · OS Students 2013, Daemons

Aug 22 2014

btrahan closed T4881: When making a config change, add a banner to let the user know to restart daemons as Resolved.

Closed by commit rP6f246bd35190.

Aug 22 2014, 9:49 PM · Daemons, Repositories, Badge Awarded, Diffusion
btrahan triaged T4881: When making a config change, add a banner to let the user know to restart daemons as Normal priority.
Aug 22 2014, 9:30 PM · Daemons, Repositories, Badge Awarded, Diffusion
btrahan added a revision to T4881: When making a config change, add a banner to let the user know to restart daemons: Restricted Differential Revision.
Aug 22 2014, 9:29 PM · Daemons, Repositories, Badge Awarded, Diffusion
epriestley assigned T4881: When making a config change, add a banner to let the user know to restart daemons to btrahan.

I think that plan ^^^ is a pretty good one, and this crops up somewhat-often.

Aug 22 2014, 8:15 PM · Daemons, Repositories, Badge Awarded, Diffusion
epriestley assigned T5405: Move daemon logs from the web UI to console-only to btrahan.

We should do this as a security thing -- although we aren't currently aware of anything sensitive in the logs, there has been sensitive stuff in the past, and it's reasonable to think there may be sensitive stuff in the future. Basically:

Aug 22 2014, 7:37 PM · Daemons, Security

Aug 20 2014

• Jaraill added a comment to T5896: Mercurial fails to parse (A or B or ... or Z) revsets with more than about 300 items.
In T5896#7, @epriestley wrote:

Do you have ~10,000 branch heads or bookmarks in this repository?

Aug 20 2014, 2:01 PM · Diffusion, Mercurial, Daemons
epriestley added a comment to T5896: Mercurial fails to parse (A or B or ... or Z) revsets with more than about 300 items.

Do the branches shown in the web UI make sense to you? Are they obviously wrong?

Aug 20 2014, 1:40 PM · Diffusion, Mercurial, Daemons
• Jaraill added a comment to T5896: Mercurial fails to parse (A or B or ... or Z) revsets with more than about 300 items.

Trace: {F192790}
I tried Phab with CentOS7 and python 2.7.5 and hg 2.6.2 on the same repo, and have the same result
In branch history there is offset 1100, so it's near this number of branch heads

http://phabricator/diffusion/F/branches/default/?offset=1100

But

[root@Phabricator F]# hg branches | wc -l
221

And there are no bookmarks

Aug 20 2014, 8:47 AM · Diffusion, Mercurial, Daemons

Aug 19 2014

epriestley added a comment to T5896: Mercurial fails to parse (A or B or ... or Z) revsets with more than about 300 items.

Specifically, I think this issue is related to the enormous length of the command. The command is supposed to look like:

Aug 19 2014, 9:40 PM · Diffusion, Mercurial, Daemons
epriestley added a comment to T5896: Mercurial fails to parse (A or B or ... or Z) revsets with more than about 300 items.

Do you have ~10,000 branch heads or bookmarks in this repository?

Aug 19 2014, 9:37 PM · Diffusion, Mercurial, Daemons
btrahan added a comment to T5896: Mercurial fails to parse (A or B or ... or Z) revsets with more than about 300 items.

Can you run the command again with the --trace parameter specified?

Aug 19 2014, 7:13 PM · Diffusion, Mercurial, Daemons
• Jaraill added projects to T5896: Mercurial fails to parse (A or B or ... or Z) revsets with more than about 300 items: Repositories, Daemons.
Aug 19 2014, 10:48 AM · Diffusion, Mercurial, Daemons

Aug 18 2014

epriestley added a comment to T5897: Consistent `PhutilLockException` in `PhabricatorRepositoryPullLocalDaemon` log.

Are you running multiple copies of the PullLocal daemon?

Aug 18 2014, 4:51 PM · Repositories, Daemons
hach-que added a comment to T5897: Consistent `PhutilLockException` in `PhabricatorRepositoryPullLocalDaemon` log.

I hit this same issue when trying to use PhabricatorGlobalLock inside Drydock, which appeared to only occur with lots of frequent requests to Drydock. I ended up using beginReadLocking instead, but obviously this is a problem that impacts existing code as well.

Aug 18 2014, 11:44 AM · Repositories, Daemons
Avish created T5897: Consistent `PhutilLockException` in `PhabricatorRepositoryPullLocalDaemon` log.
Aug 18 2014, 11:06 AM · Repositories, Daemons

Aug 16 2014

epriestley added a comment to T5405: Move daemon logs from the web UI to console-only.

I merged T5326 here since I plan to move "Combined Log" to bin/phd log. Then grep lets you filter, and we could add some other flags if other things make sense.

Aug 16 2014, 12:26 PM · Daemons, Security
epriestley closed T5326: Provide a mechanism to filter daemon logs as a duplicate.

✘ Merged into T5405.

Aug 16 2014, 12:25 PM · Daemons
epriestley added a comment to T5405: Move daemon logs from the web UI to console-only.

◀ Merged tasks: T5326.

Aug 16 2014, 12:25 PM · Daemons, Security