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

[BUG]: 运行一段时间之后出现未响应 #667

Open
ODtian opened this issue Jan 15, 2024 · 0 comments
Open

[BUG]: 运行一段时间之后出现未响应 #667

ODtian opened this issue Jan 15, 2024 · 0 comments

Comments

@ODtian
Copy link

ODtian commented Jan 15, 2024

Description

在windows上运行一段时间之后程序未响应,期间一直在后台运行,使用API调用翻译功能

Reproduction

后台运行一段时间,这次大概是10个小时,每次的时间不太一样

Platform

Windows

System Version

Windows 11 专业版 22621.3007

Window System (Linux Only)

None

Software Version

2.7.4

Log File

[2024-01-15][08:27:00][TRACE][hyper::proto::h1::conn] Conn::read_head
[2024-01-15][08:27:00][TRACE][hyper::proto::h1::io] received 1228 bytes
[2024-01-15][08:27:00][TRACE][tracing::span] parse_headers;
[2024-01-15][08:27:00][TRACE][tracing::span::active] -> parse_headers;
[2024-01-15][08:27:00][TRACE][hyper::proto::h1::role] Response.parse bytes=1228
[2024-01-15][08:27:00][TRACE][hyper::proto::h1::role] Response.parse Complete(500)
[2024-01-15][08:27:00][TRACE][tracing::span::active] <- parse_headers;
[2024-01-15][08:27:00][TRACE][tracing::span] -- parse_headers;
[2024-01-15][08:27:00][DEBUG][hyper::proto::h1::io] parsed 12 headers
[2024-01-15][08:27:00][DEBUG][hyper::proto::h1::conn] incoming body is chunked encoding
[2024-01-15][08:27:00][TRACE][hyper::proto::h1::decode] decode; state=Chunked(Size, 0)
[2024-01-15][08:27:00][TRACE][hyper::proto::h1::decode] Read chunk hex size
[2024-01-15][08:27:00][TRACE][hyper::proto::h1::decode] Read chunk hex size
[2024-01-15][08:27:00][TRACE][hyper::proto::h1::decode] Read chunk hex size
[2024-01-15][08:27:00][TRACE][hyper::proto::h1::decode] Read chunk hex size
[2024-01-15][08:27:00][TRACE][hyper::proto::h1::decode] Chunk size is 721
[2024-01-15][08:27:00][DEBUG][hyper::proto::h1::decode] incoming chunked header: 0x2D1 (721 bytes)
[2024-01-15][08:27:00][TRACE][hyper::proto::h1::decode] Chunked read, remaining=721
[2024-01-15][08:27:00][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Body(Chunked(BodyCr, 0)), writing: KeepAlive, keep_alive: Busy }
[2024-01-15][08:27:00][TRACE][hyper::proto::h1::decode] decode; state=Chunked(BodyCr, 0)
[2024-01-15][08:27:00][TRACE][hyper::proto::h1::decode] Read chunk hex size
[2024-01-15][08:27:00][TRACE][hyper::proto::h1::io] received 5 bytes
[2024-01-15][08:27:00][TRACE][hyper::proto::h1::decode] Read chunk hex size
[2024-01-15][08:27:00][TRACE][hyper::proto::h1::decode] Chunk size is 0
[2024-01-15][08:27:00][TRACE][hyper::proto::h1::decode] end of chunked
[2024-01-15][08:27:00][DEBUG][hyper::proto::h1::conn] incoming body completed
[2024-01-15][08:27:00][TRACE][hyper::proto::h1::conn] maybe_notify; read_from_io blocked
[2024-01-15][08:27:00][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Init, writing: Init, keep_alive: Idle }
[2024-01-15][08:27:00][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Init, writing: Init, keep_alive: Idle }
[2024-01-15][08:27:00][TRACE][hyper::client::pool] put; add idle connection for ("https", api-edge.cognitive.microsofttranslator.com)
[2024-01-15][08:27:00][DEBUG][hyper::client::pool] pooling idle connection for ("https", api-edge.cognitive.microsofttranslator.com)
[2024-01-15][08:27:00][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Init, writing: Init, keep_alive: Idle }
[2024-01-15][08:27:00][DEBUG][sqlx::query] summary="PRAGMA foreign_keys = ON; …" db.statement="\n\nPRAGMA foreign_keys = ON;\n" rows_affected=0 rows_returned=0 elapsed=24.6µs
[2024-01-15][08:27:00][DEBUG][sqlx::query] summary="INSERT into history (text, …" db.statement="\n\nINSERT into\n history (text, source, target, service, result, timestamp)\nVALUES\n ($1, $2, $3, $4, $5, $6)\n" rows_affected=1 rows_returned=0 elapsed=7.5086ms
[2024-01-15][08:27:28][TRACE][hyper::proto::h1::io] received 0 bytes
[2024-01-15][08:27:28][TRACE][hyper::proto::h1::conn] found EOF on idle connection, closing
[2024-01-15][08:27:28][TRACE][hyper::proto::h1::conn] State::close_read()
[2024-01-15][08:27:28][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Closed, writing: Init, keep_alive: Disabled }
[2024-01-15][08:27:28][TRACE][hyper::proto::h1::conn] shut down IO complete
[2024-01-15][08:27:38][TRACE][hyper::client::pool] idle interval checking for expired
[2024-01-15][08:27:44][TRACE][hyper::client::pool] idle interval checking for expired
[2024-01-15][08:27:47][TRACE][hyper::client::pool] idle interval checking for expired
[2024-01-15][08:27:47][TRACE][hyper::client::pool] idle interval evicting closed for ("https", fanyi.baidu.com)
[2024-01-15][08:28:00][TRACE][hyper::proto::h1::io] received 0 bytes
[2024-01-15][08:28:00][TRACE][hyper::proto::h1::conn] found EOF on idle connection, closing
[2024-01-15][08:28:00][TRACE][hyper::proto::h1::conn] State::close_read()
[2024-01-15][08:28:00][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Closed, writing: Init, keep_alive: Disabled }
[2024-01-15][08:28:00][TRACE][hyper::proto::h1::conn] shut down IO complete
[2024-01-15][08:28:00][TRACE][hyper::client::pool] idle interval checking for expired
[2024-01-15][08:28:06][TRACE][hyper::proto::h1::io] received 0 bytes
[2024-01-15][08:28:06][TRACE][hyper::proto::h1::conn] found EOF on idle connection, closing
[2024-01-15][08:28:06][TRACE][hyper::proto::h1::conn] State::close_read()
[2024-01-15][08:28:06][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Closed, writing: Init, keep_alive: Disabled }
[2024-01-15][08:28:06][TRACE][hyper::proto::h1::conn] shut down IO complete
[2024-01-15][08:28:15][TRACE][hyper::proto::h1::io] received 0 bytes
[2024-01-15][08:28:15][TRACE][hyper::proto::h1::conn] found EOF on idle connection, closing
[2024-01-15][08:28:15][TRACE][hyper::proto::h1::conn] State::close_read()
[2024-01-15][08:28:15][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Closed, writing: Init, keep_alive: Disabled }
[2024-01-15][08:28:15][TRACE][hyper::proto::h1::conn] shut down IO complete
[2024-01-15][08:29:08][TRACE][hyper::client::pool] idle interval checking for expired
[2024-01-15][08:29:14][TRACE][hyper::client::pool] idle interval checking for expired
[2024-01-15][08:29:17][TRACE][hyper::client::pool] idle interval checking for expired
[2024-01-15][08:29:17][TRACE][hyper::client::pool] idle interval evicting closed for ("https", edge.microsoft.com)
[2024-01-15][08:29:17][TRACE][hyper::client::pool] idle interval evicting expired for ("https", translate.yandex.net)
[2024-01-15][08:29:17][TRACE][hyper::client::pool] idle interval evicting expired for ("https", translate.google.com)
[2024-01-15][08:29:17][TRACE][hyper::client::pool] idle interval evicting closed for ("https", api-edge.cognitive.microsofttranslator.com)
[2024-01-15][08:29:17][TRACE][hyper::client::pool] idle interval evicting closed for ("https", www2.deepl.com)
[2024-01-15][08:29:17][TRACE][hyper::proto::h1::dispatch] client tx closed
[2024-01-15][08:29:17][TRACE][hyper::proto::h1::conn] State::close_read()
[2024-01-15][08:29:17][TRACE][hyper::proto::h1::conn] State::close_write()
[2024-01-15][08:29:17][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Closed, writing: Closed, keep_alive: Disabled }
[2024-01-15][08:29:17][TRACE][hyper::proto::h1::dispatch] client tx closed
[2024-01-15][08:29:17][TRACE][hyper::proto::h1::conn] State::close_read()
[2024-01-15][08:29:17][TRACE][hyper::proto::h1::conn] State::close_write()
[2024-01-15][08:29:17][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Closed, writing: Closed, keep_alive: Disabled }
[2024-01-15][08:29:17][TRACE][hyper::proto::h1::conn] shut down IO complete
[2024-01-15][08:29:17][TRACE][hyper::proto::h1::conn] shut down IO complete
[2024-01-15][08:29:30][TRACE][hyper::client::pool] idle interval checking for expired
[...]
[2024-01-15][13:35:30][TRACE][hyper::client::pool] idle interval checking for expired

Additional Information

No response

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

No branches or pull requests

1 participant