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

mac通过w2 start 启动过后,通过SwitchyOmega代理本地8899端口,一会服务就假死了,无法访问,通过restart过后就恢复 #909

Closed
Kenshin-liu opened this issue May 20, 2023 · 13 comments

Comments

@Kenshin-liu
Copy link

Kenshin-liu commented May 20, 2023

m1 pro
node v14.13.0
npm 6.14.8
cpu 单线程占用100%
whistle 换了几个版本都一样
表现是什么都动不了,日志也没提示

@avwo
Copy link
Owner

avwo commented May 20, 2023

换个 node版本看看

@Kenshin-liu
Copy link
Author

换过了也一样的,怀疑是公司内部的安全软件影响到了

@Kenshin-liu
Copy link
Author

想请教一下要怎么定位

@avwo
Copy link
Owner

avwo commented May 21, 2023

lsof -i:8899 看下端口是否还在

@Kenshin-liu
Copy link
Author

lsof -i:8899 看下端口是否还在

端口在,进程占用100% 像是进入了死循环,请求端口超时

@avwo
Copy link
Owner

avwo commented May 21, 2023

你们公司其他人也是这样吗?

@Kenshin-liu
Copy link
Author

用whistlejs的都这样

@like-a-monkey
Copy link

遇到同样问题了,最近才有。。。不知道怎么回事 重启也解决不了

@panjianxin1996
Copy link

我也遇到了这个问题。node:v8.10.0 whislte:v2.9.47。
w2 start启动后没多久,就出现服务无响应,w2 status查看服务已经停止,使用w2 run直接命令行常驻运行。一段时间后报错:
Security context: 00000329FC1A57C1
1: fromString(aka fromString) [buffer.js:314] [bytecode=000000CFCB43DB59 offset=164](this=000003650D8822D1 ,string=000003026940BE51 <Very long string[27724726]>,encoding=00000329FC1B4EB1 <String[4]: utf8>)
2: from [buffer.js:177] [bytecode=000000CFCB43D661 offset=11](this=000002ABE14362D9 <JSFunction Buffer (sfi = 00000329FC1FB6C9)>,value=000003026940BE51 <Very long string[2...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
1: node_module_register
2: v8::internal::FatalProcessOutOfMemory
3: v8::internal::FatalProcessOutOfMemory
4: v8::internal::Factory::NewRawTwoByteString
5: v8::internal::Smi::SmiPrint
6: v8::internal::StackGuard::HandleInterrupts
7: v8::String::WriteUtf8
8: v8_inspector::V8InspectorClient::currentTimeMS
9: node::Buffer::New
10: node::Buffer::New
11: v8::internal::wasm::SignatureMap::Find
12: v8::internal::Builtins::CallableFor
13: v8::internal::Builtins::CallableFor
14: v8::internal::Builtins::CallableFor
15: 0000033CDBC843C1

@avwo
Copy link
Owner

avwo commented May 29, 2023

@panjianxin1996 换个 node 版本试试:nodejs/node#15651

@avwo
Copy link
Owner

avwo commented May 29, 2023

遇到同样问题了,最近才有。。。不知道怎么回事 重启也解决不了

看下有没有日志:~/.WhistleAppData/whistle.log

@aogg
Copy link

aogg commented Jul 26, 2023

+1同意有这样的情况,是偶发现象,不过有时候重启浏览器又可以了,有时候重启whistle才可以

@avwo
Copy link
Owner

avwo commented Jul 26, 2023

+1同意有这样的情况,是偶发现象,不过有时候重启浏览器又可以了,有时候重启whistle才可以

打开 Whistle 所在界面的 Chrome 开发者工具看下请求是否正常

@avwo avwo closed this as completed Nov 1, 2023
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

5 participants