Comments (4)
这个和 #387 大概率是一个问题——你尝试了手动forward port么?这里可能是需要处理一下,但是我现在人在国内,得回到家里之后才有时间去试一下,我没怎么用过remote server。
from viztracer.
这个和 #387 大概率是一个问题——你尝试了手动forward port么?这里可能是需要处理一下,但是我现在人在国内,得回到家里之后才有时间去试一下,我没怎么用过remote server。
感觉应该是port的问题,应该是9001端口有什么进程占用了。我在后面一段时间的使用中都没有发生这个 issue 里面的问题了。
我今天试了一下:
1、如果先在 terminal 里使用 vizviewer ./result.json
,再右键 result.json,使用 View with VizTracer ,就会一直没响应。(就是这个issue的情况)
2、先右键 result.json,使用 View with VizTracer ,再在 terminal 里使用 vizviewer ./result.json
。会报错 Error! Port 9001 is already in use, try another port with "--port"
所以说,应该是默认 port被占用,View with VizTracer 报错了。
是否可以通过以下几个方法解决呢?
1、View with VizTracer 出现报错时应该做出提示。
2、如果不指定 port 的情况下自动去寻找没有被占用的 port。
如果方便的话可以告诉这些逻辑在代码的哪些位置吗?我会尝试添加这些功能
from viztracer.
这个逻辑已经存在了。你还是用的remote server吧?这是一个forwarding的问题,如果你都是本地的port,是可以正常工作的。你可以试一下。port forwarding这个部分有个新patch,我感觉好像是对的,我会apply一下。
from viztracer.
我把这个patch发布到0.2.3了,你可以试着更新一下patch看看是不是work。
from viztracer.
Related Issues (20)
- `log_sparse=True` doesn't work with context manager HOT 10
- Time.monotonic makes it impossible to line up distributed traces HOT 1
- NameError HOT 1
- `SNAPTRACE_TRACE_SELF` typo at `snaptrace.c` HOT 2
- JSONDecodeError in report_builder.py HOT 20
- vizviewer fails HOT 2
- command not found: vizviewer HOT 5
- vizobject/vizcounter not working for Inheritance HOT 3
- Bug: args that overlap with viztracer is lost in subprocess.Popen HOT 1
- Unable to use @trace_and_save with multiprocessing HOT 1
- VSCode extension shows blank screen on vscode remote HOT 9
- VsCode里右键选择Trace with Viztracer后报错 HOT 2
- No reminder of port conflict when using the parameter "--use_external_processor" HOT 1
- Clear `viztmp` file even if there's something wrong with trace report saving HOT 1
- Please provide Wheels for Apple Silicon HOT 5
- please provide conda package for the latest version of viztracer HOT 2
- Jupyter Support: Why not have a cell magic too HOT 1
- "Wait for child processes to finish, Ctrl+C to skip" forever loop and no response HOT 2
- inline viztracer cannot trace multiprocess HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from viztracer.