Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[vsdebug] Extension logger is too noisy when waiting for socket connection #8138

Closed
PranayAgarwal opened this issue Feb 22, 2018 · 2 comments
Assignees

Comments

@PranayAgarwal
Copy link

PranayAgarwal commented Feb 22, 2018

HHVM Version

HipHop VM 3.25.0-dev (rel)
Compiler: 1519268871_493360405
Repo schema: df346ce39f19608fe862842f8bd5b86c706e9fa3

Operating System and Version

  • Ubuntu 16.04.3 LTS
  • Can only repro in a Docker container (hhvm/hhvm:nightly image)

Problem

If an HHVM server is started with -v Eval.Debugger.VSDebugEnable=1 -v Eval.Debugger.VSDebugLogFile=xxx, the extension continuously logs a stream of "SocketTransport polling for connections..." messages to the log file.

In my latest repro it logged ~2 million lines in 90 seconds, generating a 1.3 GB file.

@ebluestein
Copy link
Contributor

I'm looking into this now, I haven't been able to repro it yet but it could indicate the socket poll thread is spinning, which it is not supposed to do.

@ebluestein
Copy link
Contributor

@PranayAgarwal I haven't been able to repro this on the latest HHVM. Does your log file contain any lines that start with "Polling inputs failed" (followed by an error code) ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants