dragonflydb / dragonfly

A modern replacement for Redis and Memcached
https://www.dragonflydb.io/
Other
25.81k stars 948 forks source link

deadlock in test_client_kill #2955

Closed kostasrim closed 5 months ago

kostasrim commented 6 months ago

see https://github.com/dragonflydb/dragonfly/actions/runs/8810352889/job/24182584015#step:6:419

kostasrim commented 6 months ago

from the logs

Log file created at: 2024/04/24 03:31:19
Running on machine: 78fb85fda932
Running duration (h:mm:ss): 0:00:00
Log line format: [IWEF]yyyymmdd hh:mm:ss.uuuuuu threadid file:line] msg
I20240424 03:31:19.110394 21416 init.cc:70] /__w/dragonfly/dragonfly/build/dragonfly running in opt mode.
I20240424 03:31:19.110775 21416 dfly_main.cc:641] Starting dragonfly df-dev-0000000
W20240424 03:31:19.110992 21416 dfly_main.cc:702] Got memory limit 8.00GiB, however only 6.70GiB was found.
I20240424 03:31:19.111161 21416 dfly_main.cc:704] Max memory limit is: 8.00GiB
I20240424 03:31:19.111723 21417 uring_proactor.cc:174] IORing with 1024 entries, allocated 102720 bytes, cq_entries is 2048
I20240424 03:31:19.112054 21416 proactor_pool.cc:147] Running 2 io threads
I20240424 03:31:19.112186 21416 main_service.cc:797] PRINT STACKTRACES REGISTERED
I20240424 03:31:19.114118 21417 accept_server.cc:137] AddListener [9] family: 2 :1112
I20240424 03:31:19.114156 21416 dfly_main.cc:271] Listening on admin socket any:1112
I20240424 03:31:19.114284 21418 accept_server.cc:137] AddListener [10] family: 2 :1111
I20240424 03:31:19.114746 21416 server_family.cc:715] Host OS: Linux 5.19.0-1024-aws aarch64 with 2 threads
I20240424 03:31:19.114892 21416 accept_server.cc:38] AcceptServer::Run
I20240424 03:31:19.114921 21417 listener_interface.cc:101] sock[9] AcceptServer - listening on port 1112
I20240424 03:31:19.114938 21418 listener_interface.cc:101] sock[10] AcceptServer - listening on port 1111
I20240424 03:31:19.114928 21416 accept_server.cc:68] AcceptServer::Wait
I20240424 03:44:09.692957 21417 accept_server.cc:24] Exiting on signal Terminated
I20240424 03:44:09.693048 21417 accept_server.cc:201] AcceptServer::BreakListeners finished
I20240424 03:44:09.693244 21417 dragonfly_connection.cc:552] Connection::OnShutdown
I20240424 03:44:09.693284 21417 dragonfly_connection.cc:552] Connection::OnShutdown
I20240424 03:44:09.693296 21417 dragonfly_connection.cc:1077] [2] Got event 8208 1 0 system:0
I20240424 03:44:09.693315 21417 dragonfly_connection.cc:1077] [1] Got event 8208 1 0 system:0
I20240424 03:44:09.693325 21417 listener_interface.cc:203] Listener - 1112 waiting for 1 connections to close
I20240424 03:44:09.693296 21418 listener_interface.cc:203] Listener - 1111 waiting for 1 connections to close
I20240424 03:44:09.693353 21417 dragonfly_connection.cc:696] Closed connection for peer 127.0.0.1:39514
I20240424 03:44:09.693403 21417 listener_interface.cc:238] sock[12] After HandleRequests
I20240424 03:44:09.693415 21417 listener_interface.cc:246] sock[12] Closing connection
I20240424 03:44:09.693457 21417 dragonfly_connection.cc:696] Closed connection for peer 127.0.0.1:50970
I20240424 03:44:09.693467 21417 listener_interface.cc:238] sock[11] After HandleRequests
I20240424 03:44:09.693475 21417 listener_interface.cc:246] sock[11] Closing connection
I20240424 03:44:09.693502 21417 listener_interface.cc:214] Listener - 1112 connections closed
I20240424 03:44:09.693506 21418 listener_interface.cc:214] Listener - 1111 connections closed
I20240424 03:44:09.693526 21417 listener_interface.cc:219] Listener stopped for port 1112
I20240424 03:44:09.693540 21418 listener_interface.cc:219] Listener stopped for port 1111
I20240424 03:44:09.693567 21416 accept_server.cc:71] AcceptServer::Wait completed
I20240424 03:44:09.693580 21416 main_service.cc:882] Service::Shutdown
I20240424 03:44:09.704165 21416 listener_interface.cc:223] Destroying ListenerInterface 0x2b9ee0a0880
I20240424 03:44:09.704206 21416 listener_interface.cc:223] Destroying ListenerInterface 0x2b9ee0704a0
I20240424 03:44:09.704495 21416 listener_interface.cc:223] Destroying ListenerInterface 0x2b9ee0a07a0
I20240424 03:44:09.704509 21416 listener_interface.cc:223] Destroying ListenerInterface 0x2b9ee070220
kostasrim commented 5 months ago

I haven't seen this for 3 weeks. If it happens again I will reopen