Issue with mariadb Lock wait timeout exceeded; try restarting transaction #2926
Unanswered
rccess
asked this question in
Help with using Postal
Replies: 1 comment
-
do you mean you are long overdue an update to Postal v3?
you need to have a look at the process list in your mariadb server for a clue as to what is keeping the table busy |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
i have Server with the following configuration
2xE5-2680v2 (2.8 GHz)
10 core
128 GB RAM
960 SSD
i am running non docker postal
postal configuration below
workers:
quantity: 20
threads: 20
main_db:
host: 127.0.0.1
username: xxxx
password: xxxx
database: migodb
pool_size: 100
using Ip_pool with 20 IPs
my mariadb configuration
in file /etc/mysql/mariadb.conf.d/50-server.cnf
[mysqld]
user = mysql
pid-file = /run/mysqld/mysqld.pid
socket = /run/mysqld/mysqld.sock
#port = 3306
basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmp
lc-messages-dir = /usr/share/mysql
#skip-external-locking
bind-address = 127.0.0.1
innodb_force_recovery = 3
innodb_buffer_pool_size = 3048M
max_connections = 9000
connect_timeout = 6
wait_timeout = 31536000
max_allowed_packet = 256M
but emails get stuck in queue after sending 20k emails and when i try to run the following command
update queued_messages set locked_by = NULL, locked_at = NULL, retry_after = NULL, ip_address_id = NULL;
get this error : Lock wait timeout exceeded; try restarting transaction
and no email sent, when check the log, same error showing in log
i have tried all the possible options which were highlighted in other threads but no luck, same issue again and again
please help me
Thanks
Beta Was this translation helpful? Give feedback.
All reactions