*** Starting uWSGI 2.0.21 (64bit) on [Fri Jan 3 10:57:04 2025] *** compiled with version: 11.2.0 on 24 October 2023 19:53:56 os: Linux-3.10.0-1127.19.1.el7.x86_64 #1 SMP Tue Aug 25 17:23:54 UTC 2020 nodename: node-04 machine: x86_64 clock source: unix pcre jit disabled detected number of CPU cores: 64 current working directory: /opt/analyze/apps/robotIdentificationTopic detected binary path: /opt/analyze/environment/python3.8/bin/uwsgi uWSGI running as root, you can use --uid/--gid/--chroot options *** WARNING: you are running uWSGI as root !!! (use the --uid flag) *** chdir() to ../robotIdentificationTopic *** WARNING: you are running uWSGI without its master process manager *** your processes number limit is 1031041 your memory page size is 4096 bytes detected max file descriptor number: 65535 lock engine: pthread robust mutexes thunder lock: disabled (you can enable it with --thunder-lock) uWSGI http bound on 0.0.0.0:9025 fd 4 spawned uWSGI http 1 (pid: 59323) uwsgi socket 0 bound to TCP address 127.0.0.1:41707 (port auto-assigned) fd 3 uWSGI running as root, you can use --uid/--gid/--chroot options *** WARNING: you are running uWSGI as root !!! (use the --uid flag) *** Python version: 3.8.16 (default, Jun 12 2023, 18:09:05) [GCC 11.2.0] Python main interpreter initialized at 0x145a260 uWSGI running as root, you can use --uid/--gid/--chroot options *** WARNING: you are running uWSGI as root !!! (use the --uid flag) *** python threads support enabled your server socket listen backlog is limited to 1024 connections your mercy for graceful operations on workers is 60 seconds mapped 83376 bytes (81 KB) for 2 cores *** Operational MODE: threaded *** Exception in thread dataStructureThread: Traceback (most recent call last): File "/opt/analyze/environment/python3.8/lib/python3.8/site-packages/DBUtils/PooledDB.py", line 325, in connection con = self._idle_cache.pop(0) IndexError: pop from empty list During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/analyze/environment/python3.8/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "/opt/analyze/environment/python3.8/lib/python3.8/threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "/opt/analyze/apps/robotIdentificationTopic/./text_analysis/views.py", line 276, in data_structure sqlhelper = get_conn_pool(dbConfig['host'], dbConfig['port'], dbConfig['username'], dbConfig['password'],dbConfig['db']) File "/opt/analyze/apps/robotIdentificationTopic/./text_analysis/tools/db_pool.py", line 105, in get_conn_pool sqlhelper = MySQLUtils(host, port, username, password, db) File "/opt/analyze/apps/robotIdentificationTopic/./text_analysis/tools/db_pool.py", line 11, in __init__ self.pool = PooledDB( File "/opt/analyze/environment/python3.8/lib/python3.8/site-packages/DBUtils/PooledDB.py", line 267, in __init__ idle = [self.dedicated_connection() for i in range(mincached)] File "/opt/analyze/environment/python3.8/lib/python3.8/site-packages/DBUtils/PooledDB.py", line 267, in idle = [self.dedicated_connection() for i in range(mincached)] File "/opt/analyze/environment/python3.8/lib/python3.8/site-packages/DBUtils/PooledDB.py", line 338, in dedicated_connection return self.connection(False) File "/opt/analyze/environment/python3.8/lib/python3.8/site-packages/DBUtils/PooledDB.py", line 327, in connection con = self.steady_connection() File "/opt/analyze/environment/python3.8/lib/python3.8/site-packages/DBUtils/PooledDB.py", line 273, in steady_connection return connect( File "/opt/analyze/environment/python3.8/lib/python3.8/site-packages/DBUtils/SteadyDB.py", line 137, in connect return SteadyDBConnection( File "/opt/analyze/environment/python3.8/lib/python3.8/site-packages/DBUtils/SteadyDB.py", line 192, in __init__ self._store(self._create()) File "/opt/analyze/environment/python3.8/lib/python3.8/site-packages/DBUtils/SteadyDB.py", line 211, in _create con = self._creator(*self._args, **self._kwargs) File "/opt/analyze/environment/python3.8/lib/python3.8/site-packages/pymysql/connections.py", line 358, in __init__ self.connect() File "/opt/analyze/environment/python3.8/lib/python3.8/site-packages/pymysql/connections.py", line 664, in connect self._request_authentication() File "/opt/analyze/environment/python3.8/lib/python3.8/site-packages/pymysql/connections.py", line 954, in _request_authentication auth_packet = self._read_packet() File "/opt/analyze/environment/python3.8/lib/python3.8/site-packages/pymysql/connections.py", line 772, in _read_packet packet.raise_for_error() File "/opt/analyze/environment/python3.8/lib/python3.8/site-packages/pymysql/protocol.py", line 221, in raise_for_error err.raise_mysql_exception(self._data) File "/opt/analyze/environment/python3.8/lib/python3.8/site-packages/pymysql/err.py", line 143, in raise_mysql_exception raise errorclass(errno, errval) pymysql.err.OperationalError: (1049, "Unknown database 'analyze'") WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x145a260 pid: 59322 (default app) uWSGI running as root, you can use --uid/--gid/--chroot options *** WARNING: you are running uWSGI as root !!! (use the --uid flag) *** *** uWSGI is running in multiple interpreter mode *** spawned uWSGI worker 1 (and the only) (pid: 59322, cores: 2)