Re: Phab out of memory

2015-12-07 Thread Ben Gamari
Richard Eisenberg  writes:

> On Dec 5, 2015, at 9:01 AM, Ben Gamari  wrote:
>
>> Richard Eisenberg  writes:
>> 
>>> I just tried to update D808, but the following happened. Any ideas?
>>> 
>> I'm afraid I don't know what to say here. Austin, do you know what is
>> happening?
>> 
>> Does Phabricator's server-side routinely need over 500 MBytes of memory?
>> Perhaps there's something pathlogical about this Diff beyond its sheer
>> size (e.g. lots of lint warnings perhaps)?
>
> It's not lint, as the same problem happens with --nolint.
>
Hrm, can you still reproduce this? Phabricator was under a great deal of
load late last week due to a high patch volume. Perhaps the issue has
now resolved itself?

If not, I'm afraid that Austin, our local Phabricator expert, is our
only hope.

Cheers,

- Ben


signature.asc
Description: PGP signature
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: Phab out of memory

2015-12-05 Thread Ben Gamari
Richard Eisenberg  writes:

> I just tried to update D808, but the following happened. Any ideas?
>
I'm afraid I don't know what to say here. Austin, do you know what is
happening?

Does Phabricator's server-side routinely need over 500 MBytes of memory?
Perhaps there's something pathlogical about this Diff beyond its sheer
size (e.g. lots of lint warnings perhaps)?

Cheers,

- Ben



signature.asc
Description: PGP signature
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: Phab out of memory

2015-12-05 Thread Richard Eisenberg

On Dec 5, 2015, at 9:01 AM, Ben Gamari  wrote:

> Richard Eisenberg  writes:
> 
>> I just tried to update D808, but the following happened. Any ideas?
>> 
> I'm afraid I don't know what to say here. Austin, do you know what is
> happening?
> 
> Does Phabricator's server-side routinely need over 500 MBytes of memory?
> Perhaps there's something pathlogical about this Diff beyond its sheer
> size (e.g. lots of lint warnings perhaps)?

It's not lint, as the same problem happens with --nolint.

Thanks,
Richard

> 
> Cheers,
> 
> - Ben
> 

___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Phab out of memory

2015-12-04 Thread Richard Eisenberg
I just tried to update D808, but the following happened. Any ideas?

Thanks,
Richard


rae:22:44:22 ~/Documents/ghc> arc diff origin/master --update D808 
--allow-untracked --head HEAD --trace
libphutil loaded from '/Users/rae/local/share/libphutil/src'.
arcanist loaded from '/Users/rae/local/share/arcanist/src'.
Config: Reading user configuration file "/Users/rae/.arcrc"...
Config: Did not find system configuration at "/etc/arcconfig".
Working Copy: Reading .arcconfig from "/Users/rae/Documents/ghc/.arcconfig".
Working Copy: Path "/Users/rae/Documents/ghc" is part of `git` working copy 
"/Users/rae/Documents/ghc".
Working Copy: Project root is at "/Users/rae/Documents/ghc".
Config: Did not find local configuration at 
"/Users/rae/Documents/ghc/.git/arc/config".
Loading phutil library from 
'/Users/rae/Documents/ghc/.arc-linters/arcanist-external-json-linter'...
>>> [0]  conduit.connect() 
>>> [1]  https://phabricator.haskell.org/api/conduit.connect
<<< [1]  172,210 us
<<< [0]  1,237,507 us
>>> [2]  diff.didCollectChanges 
<<< [2]  138 us
>>> [3]  differential.query() 
>>> [4]  https://phabricator.haskell.org/api/differential.query
<<< [4]  134,230 us
<<< [3]  134,659 us
>>> [5]  differential.getcommitmessage() 
>>> [6]  https://phabricator.haskell.org/api/differential.getcommitmessage
<<< [6]  109,179 us
<<< [5]  109,721 us
>>> [7]  differential.parsecommitmessage() 
>>> [8]  
>>> https://phabricator.haskell.org/api/differential.parsecommitmessage
<<< [8]  106,739 us
<<< [7]  107,306 us
>>> [9]  diff.didBuildMessage 
<<< [9]  168 us
>>> [10]  $ git rev-parse --git-dir
<<< [10]  8,502 us
>>> [11]  $ git rev-parse 'HEAD'
<<< [11]  5,632 us
>>> [12]  $ git merge-base 'origin/master' 
>>> '9eb7237750f9409a4e1b00c509f2519983d97130'
<<< [12]  119,778 us
>>> [13]  $ git log --first-parent --format=medium 
>>> 'c865c425a37b0bc52f4dead9d70eb0ee2bc287d6'..'9eb7237750f9409a4e1b00c509f2519983d97130'
<<< [13]  117,008 us
>>> [14]  differential.querydiffs() 
>>> [15]  https://phabricator.haskell.org/api/differential.querydiffs
<<< [15]  3,462,000 us
<<< [14]  3,462,526 us

[2015-12-05 03:44:31] EXCEPTION: (HTTPFutureHTTPResponseStatus) [HTTP/500] 
Internal Server Error
>>> UNRECOVERABLE FATAL ERROR <<<

Out of memory (allocated 501743616) (tried to allocate 70083487 bytes)

/opt/phabricator/src/aphront/response/AphrontResponse.php:167


┻━┻ ︵ ¯\_(ツ)_/¯ ︵ ┻━┻ at [/src/future/http/BaseHTTPFuture.php:339]
arcanist(head=master, ref.master=87306cfe1453), external-json-linter(), 
phutil(head=master, ref.master=e65ffd33db02)
  #0 BaseHTTPFuture::parseRawHTTPResponse(string) called at 
[/src/future/http/HTTPSFuture.php:415]
  #1 HTTPSFuture::isReady() called at [/src/future/Future.php:37]
  #2 Future::resolve(NULL) called at [/src/future/FutureProxy.php:34]
  #3 FutureProxy::resolve() called at 
[/src/conduit/ConduitClient.php:58]
  #4 ConduitClient::callMethodSynchronous(string, array) called at 
[/src/workflow/ArcanistDiffWorkflow.php:2231]
  #5 ArcanistDiffWorkflow::loadActiveLocalCommitInfo() called at 
[/src/workflow/ArcanistDiffWorkflow.php:2129]
  #6 ArcanistDiffWorkflow::getGitUpdateMessage() called at 
[/src/workflow/ArcanistDiffWorkflow.php:2095]
  #7 ArcanistDiffWorkflow::getDefaultUpdateMessage() called at 
[/src/workflow/ArcanistDiffWorkflow.php:1882]
  #8 ArcanistDiffWorkflow::getUpdateMessage(array, NULL) called at 
[/src/workflow/ArcanistDiffWorkflow.php:763]
  #9 
ArcanistDiffWorkflow::buildRevisionFromCommitMessage(ArcanistDifferentialCommitMessage)
 called at [/src/workflow/ArcanistDiffWorkflow.php:469]
  #10 ArcanistDiffWorkflow::run() called at 
[/scripts/arcanist.php:382]

___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs