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

Too many logs per second, v3.1 #587

Closed
papampi opened this issue May 17, 2023 · 7 comments
Closed

Too many logs per second, v3.1 #587

papampi opened this issue May 17, 2023 · 7 comments
Labels
bug Something isn't working

Comments

@papampi
Copy link

papampi commented May 17, 2023

Updated to latest pre-release 3.1 and getting this error and then it completely stops the profile after 2 or 3 time :

[Error] Too many logs per second
[Error] Core exited, restarting.
>>>>>>>> Stopping profile [VLESS] xxxxxxxxxxxxxxxxx
[Error] gRPC: QNetworkReply::NetworkError code: -1919
V2Ray: 8134d3cc Neko: nekoray-3.1-2023-05-17
2023/05/17 07:06:14 nekoray_core grpc server listening at 127.0.0.1:11523
[Error] Core exits too frequently, stop automatic restart this profile.
@papampi papampi changed the title Too many logs per second, V2.31 Too many logs per second, V3.1 May 17, 2023
@papampi papampi changed the title Too many logs per second, V3.1 Too many logs per second, v3.1 May 17, 2023
@hingbong
Copy link
Contributor

[Error] Too many logs per second[Error] Too many logs per second
[Error] Core 退出,正在重新启动。
>>>>>>>> 正在停止配置 [Shadowsocks] 香港 01
[Error] gRPC: QNetworkReply::NetworkError code: -1919
sing-box-extra: 1.3-b12-2 NekoBox: nekoray-3.1-2023-05-17
2023/05/17 10:25:04 nekobox_core grpc server listening at 127.0.0.1:51051
[Error] Core 退出太频繁,停止自动重启

i got it too

@arm64v8a
Copy link
Contributor

Full log? It should only occurs if your core outputs more than 100 lines of log pre second.

@arm64v8a arm64v8a added the bug Something isn't working label May 17, 2023
@papampi
Copy link
Author

papampi commented May 17, 2023

I use my nekoray on an ubuntu desktop as my home default gateway with lots of devices connecting to it
Every now and then my nekoray log shows a long list of ips probably more than 100 scroll very fast.
I think it's not a good idea to stop or restart because of that.

@arm64v8a
Copy link
Contributor

Please temporarily turn off logging or set loglevel to error.

This feature is to prevent abnormal resource usage due to loopback etc. If you don't stop core in this case, the whole system will lag as a result.

We need an appropriate limit value or roll back this feature.

@papampi
Copy link
Author

papampi commented May 17, 2023

I thought that should be the reason, but check this part of my log, this shows up very often.
Over 300 lines in just a second, and I should add my ubuntu workstation is very fast, same could cause real problem on slower machines
I think its best to add an option in the settings, so users can set it base on their needs and pc limits.

Nekoray.log

@papampi
Copy link
Author

papampi commented May 17, 2023

Please temporarily turn off logging or set loglevel to error.

On v2ray core I set my log level to none, with no effects. it kept logging and stopping, roled back to 2.28 for now.

@arm64v8a
Copy link
Contributor

3.2版本回退了有关更改。因此core异常刷日志导致gui卡死的问题暂时无法解决。

@arm64v8a arm64v8a closed this as completed Jun 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants