burnley
Regular Pleskian
User name: burnley
TITLE
Obsidian on CentOS 7: Deleting a subscription with several domains attached via Plesk API killed Dovecot
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
OS CentOS Linux 7.7.1908 (Core)
Product Plesk Obsidian Version 18.0.25 Update #2, last updated on April 8, 2020 09:53 PM
PROBLEM DESCRIPTION
Deleting a hosting with a number of domains & aliases attached caused a service restart storm for Dovecot as well as triggering Postfix services reload. All in under 10 seconds.
Extras from /var/log/maillog
Apr 16 12:03:48 server dovecot: master: Warning: Killed with signal 15 (by pid=21284 uid=0 code=kill)
Apr 16 12:03:51 server dovecot: master: Warning: Killed with signal 15 (by pid=21398 uid=0 code=kill)
Apr 16 12:03:53 server dovecot: master: Warning: Killed with signal 15 (by pid=21469 uid=0 code=kill)
Apr 16 12:03:53 server postfix/smtpd[19826]: table hash:/var/spool/postfix/plesk/certs(0,lock|fold_fix|src_rhs_is_file) has changed -- restarting
Apr 16 12:03:53 server postfix/smtpd[20381]: table hash:/var/spool/postfix/plesk/certs(0,lock|fold_fix|src_rhs_is_file) has changed -- restarting
Apr 16 12:03:53 server postfix/smtpd[19805]: table hash:/var/spool/postfix/plesk/certs(0,lock|fold_fix|src_rhs_is_file) has changed -- restarting
Apr 16 12:03:53 server postfix/smtpd[20311]: table hash:/var/spool/postfix/plesk/certs(0,lock|fold_fix|src_rhs_is_file) has changed -- restarting
Apr 16 12:03:55 server dovecot: master: Warning: Killed with signal 15 (by pid=21573 uid=0 code=kill)
Apr 16 12:03:56 server postfix/smtpd[21471]: table hash:/var/spool/postfix/plesk/certs(0,lock|fold_fix|src_rhs_is_file) has changed -- restarting
Apr 16 12:03:57 server dovecot: master: Warning: Killed with signal 15 (by pid=21683 uid=0 code=kill)
Apr 16 12:03:59 server dovecot: master: Warning: Killed with signal 15 (by pid=21784 uid=0 code=kill)
Apr 16 12:04:09 server postfix/smtpd[21620]: table hash:/var/spool/postfix/plesk/certs(0,lock|fold_fix|src_rhs_is_file) has changed -- restarting
Apr 16 12:04:09 server postfix/smtpd[21690]: table hash:/var/spool/postfix/plesk/certs(0,lock|fold_fix|src_rhs_is_file) has changed -- restarting
Apr 16 12:04:09 server postfix/smtpd[21674]: table hash:/var/spool/postfix/plesk/certs(0,lock|fold_fix|src_rhs_is_file) has changed -- restarting
Apr 16 12:04:14 server postfix/smtpd[22019]: table hash:/var/spool/postfix/plesk/vmailbox(0,lock|fold_fix|utf8_request) has changed -- restarting
Extras from /var/log/messages
Apr 16 12:03:48 server systemd: Stopping Dovecot IMAP/POP3 email server...
Apr 16 12:03:51 server systemd: Stopped Dovecot IMAP/POP3 email server.
Apr 16 12:03:51 server systemd: Started Dovecot IMAP/POP3 email server.
Apr 16 12:03:51 server systemd: Stopping Dovecot IMAP/POP3 email server...
Apr 16 12:03:53 server systemd: Stopped Dovecot IMAP/POP3 email server.
Apr 16 12:03:53 server systemd: Started Dovecot IMAP/POP3 email server.
Apr 16 12:03:53 server systemd: Stopping Dovecot IMAP/POP3 email server...
Apr 16 12:03:54 server systemd: Stopped Dovecot IMAP/POP3 email server.
Apr 16 12:03:54 server systemd: Started Dovecot IMAP/POP3 email server.
Apr 16 12:03:55 server systemd: Stopping Dovecot IMAP/POP3 email server...
Apr 16 12:03:56 server systemd: Stopped Dovecot IMAP/POP3 email server.
Apr 16 12:03:56 server systemd: Started Dovecot IMAP/POP3 email server.
Apr 16 12:03:57 server systemd: Stopping Dovecot IMAP/POP3 email server...
Apr 16 12:03:58 server systemd: Stopped Dovecot IMAP/POP3 email server.
Apr 16 12:03:58 server systemd: Started Dovecot IMAP/POP3 email server.
Apr 16 12:03:59 server systemd: Stopping Dovecot IMAP/POP3 email server...
Apr 16 12:04:00 server systemd: Stopped Dovecot IMAP/POP3 email server.
Apr 16 12:04:00 server systemd: start request repeated too quickly for dovecot.service
Apr 16 12:04:00 server systemd: Failed to start Dovecot IMAP/POP3 email server.
Apr 16 12:04:00 server systemd: Unit dovecot.service entered failed state.
Apr 16 12:04:00 server systemd: dovecot.service failed.
STEPS TO REPRODUCE
Couldn't reproduce it yet
ACTUAL RESULT
Dovecot service ends up in failed state because it exceeds the systemd restart threshold.
EXPECTED RESULT
Dovecot isn't left in failed state
ANY ADDITIONAL INFORMATION
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Help with sorting out
TITLE
Obsidian on CentOS 7: Deleting a subscription with several domains attached via Plesk API killed Dovecot
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
OS CentOS Linux 7.7.1908 (Core)
Product Plesk Obsidian Version 18.0.25 Update #2, last updated on April 8, 2020 09:53 PM
PROBLEM DESCRIPTION
Deleting a hosting with a number of domains & aliases attached caused a service restart storm for Dovecot as well as triggering Postfix services reload. All in under 10 seconds.
Extras from /var/log/maillog
Apr 16 12:03:48 server dovecot: master: Warning: Killed with signal 15 (by pid=21284 uid=0 code=kill)
Apr 16 12:03:51 server dovecot: master: Warning: Killed with signal 15 (by pid=21398 uid=0 code=kill)
Apr 16 12:03:53 server dovecot: master: Warning: Killed with signal 15 (by pid=21469 uid=0 code=kill)
Apr 16 12:03:53 server postfix/smtpd[19826]: table hash:/var/spool/postfix/plesk/certs(0,lock|fold_fix|src_rhs_is_file) has changed -- restarting
Apr 16 12:03:53 server postfix/smtpd[20381]: table hash:/var/spool/postfix/plesk/certs(0,lock|fold_fix|src_rhs_is_file) has changed -- restarting
Apr 16 12:03:53 server postfix/smtpd[19805]: table hash:/var/spool/postfix/plesk/certs(0,lock|fold_fix|src_rhs_is_file) has changed -- restarting
Apr 16 12:03:53 server postfix/smtpd[20311]: table hash:/var/spool/postfix/plesk/certs(0,lock|fold_fix|src_rhs_is_file) has changed -- restarting
Apr 16 12:03:55 server dovecot: master: Warning: Killed with signal 15 (by pid=21573 uid=0 code=kill)
Apr 16 12:03:56 server postfix/smtpd[21471]: table hash:/var/spool/postfix/plesk/certs(0,lock|fold_fix|src_rhs_is_file) has changed -- restarting
Apr 16 12:03:57 server dovecot: master: Warning: Killed with signal 15 (by pid=21683 uid=0 code=kill)
Apr 16 12:03:59 server dovecot: master: Warning: Killed with signal 15 (by pid=21784 uid=0 code=kill)
Apr 16 12:04:09 server postfix/smtpd[21620]: table hash:/var/spool/postfix/plesk/certs(0,lock|fold_fix|src_rhs_is_file) has changed -- restarting
Apr 16 12:04:09 server postfix/smtpd[21690]: table hash:/var/spool/postfix/plesk/certs(0,lock|fold_fix|src_rhs_is_file) has changed -- restarting
Apr 16 12:04:09 server postfix/smtpd[21674]: table hash:/var/spool/postfix/plesk/certs(0,lock|fold_fix|src_rhs_is_file) has changed -- restarting
Apr 16 12:04:14 server postfix/smtpd[22019]: table hash:/var/spool/postfix/plesk/vmailbox(0,lock|fold_fix|utf8_request) has changed -- restarting
Extras from /var/log/messages
Apr 16 12:03:48 server systemd: Stopping Dovecot IMAP/POP3 email server...
Apr 16 12:03:51 server systemd: Stopped Dovecot IMAP/POP3 email server.
Apr 16 12:03:51 server systemd: Started Dovecot IMAP/POP3 email server.
Apr 16 12:03:51 server systemd: Stopping Dovecot IMAP/POP3 email server...
Apr 16 12:03:53 server systemd: Stopped Dovecot IMAP/POP3 email server.
Apr 16 12:03:53 server systemd: Started Dovecot IMAP/POP3 email server.
Apr 16 12:03:53 server systemd: Stopping Dovecot IMAP/POP3 email server...
Apr 16 12:03:54 server systemd: Stopped Dovecot IMAP/POP3 email server.
Apr 16 12:03:54 server systemd: Started Dovecot IMAP/POP3 email server.
Apr 16 12:03:55 server systemd: Stopping Dovecot IMAP/POP3 email server...
Apr 16 12:03:56 server systemd: Stopped Dovecot IMAP/POP3 email server.
Apr 16 12:03:56 server systemd: Started Dovecot IMAP/POP3 email server.
Apr 16 12:03:57 server systemd: Stopping Dovecot IMAP/POP3 email server...
Apr 16 12:03:58 server systemd: Stopped Dovecot IMAP/POP3 email server.
Apr 16 12:03:58 server systemd: Started Dovecot IMAP/POP3 email server.
Apr 16 12:03:59 server systemd: Stopping Dovecot IMAP/POP3 email server...
Apr 16 12:04:00 server systemd: Stopped Dovecot IMAP/POP3 email server.
Apr 16 12:04:00 server systemd: start request repeated too quickly for dovecot.service
Apr 16 12:04:00 server systemd: Failed to start Dovecot IMAP/POP3 email server.
Apr 16 12:04:00 server systemd: Unit dovecot.service entered failed state.
Apr 16 12:04:00 server systemd: dovecot.service failed.
STEPS TO REPRODUCE
Couldn't reproduce it yet
ACTUAL RESULT
Dovecot service ends up in failed state because it exceeds the systemd restart threshold.
EXPECTED RESULT
Dovecot isn't left in failed state
ANY ADDITIONAL INFORMATION
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Help with sorting out