⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.124
Server IP:
50.28.103.30
Server:
Linux host.jcukjv-lwsites.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
Server Software:
nginx/1.28.0
PHP Version:
8.3.12
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
1856814
/
root
/
www
/
server
/
mysql
/
mysql-test
/
r
/
View File Name :
connect_debug.result
# -- Bug#20201006: Spamming show processlist prevents old connection # -- threads from cleaning up. SET @saved_max_connections = @@global.max_connections; SET GLOBAL max_connections = 2; # -- Check that we allow only max_connections + 1 connections here connect con_1, localhost, root; connect con_2, localhost, root; connect(localhost,root,,test,MYSQL_PORT,MYSQL_SOCK); connect con_3, localhost, root; ERROR HY000: Too many connections # -- Ensure we have max_connections + 1 connections. SELECT count(*)= @@global.max_connections + 1 FROM information_schema.processlist; count(*)= @@global.max_connections + 1 1 # -- Take LOCK_thd_remove and close one connection then # attempt new one [should fail]... SET DEBUG_SYNC='inside_do_for_all_thd_copy SIGNAL disconnect_connection WAIT_FOR continue'; SELECT user FROM INFORMATION_SCHEMA.PROCESSLIST GROUP BY user;; connection default; SET DEBUG_SYNC='now WAIT_FOR disconnect_connection'; disconnect con_1; connect(localhost,root,,test,MYSQL_PORT,MYSQL_SOCK); connect con_3, localhost, root; ERROR HY000: Too many connections # -- Release the lock. Now new connection should go through SET DEBUG_SYNC='now SIGNAL continue'; connection con_2; user root SET DEBUG_SYNC='RESET'; # -- Waiting for connection to close... connect con_3, localhost, root; # -- Closing connections... disconnect con_3; disconnect con_2; connection default; # -- Resetting variables... SET GLOBAL max_connections= @saved_max_connections; # -- End of Bug#20201006.