• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue postfix hangs after lots of restarts when deleting a lot of domains or domain aliasses at once

Linulex

Silver Pleskian
I tried to create a issue report but keep getting this message:
"Oops! We ran into some problems. Please try again later. More error details may be in the browser console."

so i'll post it here for now

when deleting a subscription/domain with a lot of domains aliasses, hostings and mail alliasses, plesk keeps sending postfix a restart command and postfix eventualy hangs.


/var/log/messages:

Code:
Aug 13 14:07:03 s8 systemd: Started Plesk task: Event 'mailname_delete' for object with ID '447' (task=3894 process=3894 trace=25452:6116606664b13).
Aug 13 14:07:03 s8 systemd: Stopped Plesk task: Event 'mailname_delete' for object with ID '447' (task=3894 process=3894 trace=25452:6116606664b13).
Aug 13 14:07:03 s8 systemd: Started Plesk task: Event 'mailname_delete' for object with ID '448' (task=3895 process=3895 trace=25452:6116606664b13).
Aug 13 14:07:03 s8 systemd: Stopped Plesk task: Event 'mailname_delete' for object with ID '448' (task=3895 process=3895 trace=25452:6116606664b13).
Aug 13 14:07:04 s8 systemd: Started Plesk task: Event 'ftpuser_delete' for object with ID '0' (task=3896 process=3896 trace=25452:6116606664b13).
Aug 13 14:07:04 s8 systemd: Stopped Plesk task: Event 'ftpuser_delete' for object with ID '0' (task=3896 process=3896 trace=25452:6116606664b13).
Aug 13 14:07:07 s8 systemd: Started Plesk task: Event 'phys_hosting_delete' for object with ID '400' (task=3897 process=3897 trace=25452:6116606664b13).
Aug 13 14:07:07 s8 systemd: Started Plesk task: Event 'phys_hosting_delete' for object with ID '400' (task=3899 process=3899 trace=25452:6116606664b13).
Aug 13 14:07:07 s8 systemd: Started Plesk task: Event 'phys_hosting_delete' for object with ID '400' (task=3900 process=3900 trace=25452:6116606664b13).
Aug 13 14:07:07 s8 systemd: Started Plesk task: Event 'phys_hosting_delete' for object with ID '400' (task=3901 process=3901 trace=25452:6116606664b13).
Aug 13 14:07:07 s8 systemd: Started Plesk task: Event 'phys_hosting_delete' for object with ID '400' (task=3898 process=3898 trace=25452:6116606664b13).
Aug 13 14:07:07 s8 systemd: Stopping Postfix Mail Transport Agent...
Aug 13 14:07:08 s8 systemd: Stopped Postfix Mail Transport Agent.
Aug 13 14:07:08 s8 systemd: Starting Postfix Mail Transport Agent...
Aug 13 14:07:08 s8 systemd: Stopped Plesk task: Event 'phys_hosting_delete' for object with ID '400' (task=3897 process=3897 trace=25452:6116606664b13).
Aug 13 14:07:08 s8 systemd: Stopped Plesk task: Event 'phys_hosting_delete' for object with ID '400' (task=3898 process=3898 trace=25452:6116606664b13).
Aug 13 14:07:08 s8 systemd: Stopped Plesk task: Event 'phys_hosting_delete' for object with ID '400' (task=3899 process=3899 trace=25452:6116606664b13).
Aug 13 14:07:08 s8 systemd: Stopped Plesk task: Event 'phys_hosting_delete' for object with ID '400' (task=3900 process=3900 trace=25452:6116606664b13).
Aug 13 14:07:08 s8 systemd: Stopped Plesk task: Event 'phys_hosting_delete' for object with ID '400' (task=3901 process=3901 trace=25452:6116606664b13).
Aug 13 14:07:08 s8 systemd: Started Postfix Mail Transport Agent.
Aug 13 14:07:08 s8 systemd: Started Plesk task: Event 'domain_alias_delete' for object with ID '167' (task=3903 process=3903 trace=25452:6116606664b13).
Aug 13 14:07:08 s8 systemd: Started Plesk task: Event 'domain_alias_delete' for object with ID '167' (task=3902 process=3902 trace=25452:6116606664b13).
Aug 13 14:07:08 s8 systemd: Stopping Postfix Mail Transport Agent...
Aug 13 14:07:08 s8 systemd: Stopped Postfix Mail Transport Agent.
Aug 13 14:07:08 s8 systemd: Starting Postfix Mail Transport Agent...
Aug 13 14:07:08 s8 systemd: Stopped Plesk task: Event 'domain_alias_delete' for object with ID '167' (task=3902 process=3902 trace=25452:6116606664b13).
Aug 13 14:07:08 s8 systemd: Stopped Plesk task: Event 'domain_alias_delete' for object with ID '167' (task=3903 process=3903 trace=25452:6116606664b13).
Aug 13 14:07:09 s8 systemd: Started Postfix Mail Transport Agent.
Aug 13 14:07:09 s8 systemd: Started Plesk task: Event 'domain_alias_delete' for object with ID '168' (task=3904 process=3904 trace=25452:6116606664b13).
Aug 13 14:07:09 s8 systemd: Started Plesk task: Event 'domain_alias_delete' for object with ID '168' (task=3905 process=3905 trace=25452:6116606664b13).
Aug 13 14:07:09 s8 systemd: Stopping Postfix Mail Transport Agent...
Aug 13 14:07:09 s8 systemd: Stopped Postfix Mail Transport Agent.
Aug 13 14:07:09 s8 systemd: Starting Postfix Mail Transport Agent...
Aug 13 14:07:09 s8 systemd: Stopped Plesk task: Event 'domain_alias_delete' for object with ID '168' (task=3904 process=3904 trace=25452:6116606664b13).
Aug 13 14:07:09 s8 systemd: Stopped Plesk task: Event 'domain_alias_delete' for object with ID '168' (task=3905 process=3905 trace=25452:6116606664b13).
Aug 13 14:07:09 s8 systemd: Started Postfix Mail Transport Agent.
Aug 13 14:07:09 s8 systemd: Started Plesk task: Event 'domain_alias_delete' for object with ID '169' (task=3906 process=3906 trace=25452:6116606664b13).
Aug 13 14:07:09 s8 systemd: Started Plesk task: Event 'domain_alias_delete' for object with ID '169' (task=3907 process=3907 trace=25452:6116606664b13).
Aug 13 14:07:09 s8 systemd: Stopping Postfix Mail Transport Agent...
Aug 13 14:07:09 s8 systemd: Stopped Postfix Mail Transport Agent.
Aug 13 14:07:09 s8 systemd: Starting Postfix Mail Transport Agent...
Aug 13 14:07:09 s8 systemd: Stopped Plesk task: Event 'domain_alias_delete' for object with ID '169' (task=3906 process=3906 trace=25452:6116606664b13).
Aug 13 14:07:09 s8 systemd: Stopped Plesk task: Event 'domain_alias_delete' for object with ID '169' (task=3907 process=3907 trace=25452:6116606664b13).
Aug 13 14:07:10 s8 systemd: Started Postfix Mail Transport Agent.
Aug 13 14:07:10 s8 systemd: Started Plesk task: Event 'domain_alias_delete' for object with ID '170' (task=3909 process=3909 trace=25452:6116606664b13).
Aug 13 14:07:10 s8 systemd: Started Plesk task: Event 'domain_alias_delete' for object with ID '170' (task=3908 process=3908 trace=25452:6116606664b13).
Aug 13 14:07:10 s8 systemd: Stopping Postfix Mail Transport Agent...
Aug 13 14:07:10 s8 systemd: Stopped Postfix Mail Transport Agent.
Aug 13 14:07:10 s8 systemd: Starting Postfix Mail Transport Agent...
Aug 13 14:07:10 s8 systemd: Stopped Plesk task: Event 'domain_alias_delete' for object with ID '170' (task=3908 process=3908 trace=25452:6116606664b13).
Aug 13 14:07:10 s8 systemd: Stopped Plesk task: Event 'domain_alias_delete' for object with ID '170' (task=3909 process=3909 trace=25452:6116606664b13).
Aug 13 14:07:10 s8 systemd: Started Postfix Mail Transport Agent.
Aug 13 14:07:10 s8 systemd: Started Plesk task: Event 'domain_alias_delete' for object with ID '171' (task=3910 process=3910 trace=25452:6116606664b13).
Aug 13 14:07:10 s8 systemd: Started Plesk task: Event 'domain_alias_delete' for object with ID '171' (task=3911 process=3911 trace=25452:6116606664b13).
Aug 13 14:07:10 s8 systemd: Stopping Postfix Mail Transport Agent...
Aug 13 14:07:10 s8 systemd: Stopped Postfix Mail Transport Agent.
Aug 13 14:07:10 s8 systemd: start request repeated too quickly for postfix.service
Aug 13 14:07:10 s8 systemd: Failed to start Postfix Mail Transport Agent.
Aug 13 14:07:10 s8 systemd: Unit postfix.service entered failed state.
Aug 13 14:07:10 s8 systemd: postfix.service failed.
Aug 13 14:07:11 s8 systemd: Stopped Plesk task: Event 'domain_alias_delete' for object with ID '171' (task=3910 process=3910 trace=25452:6116606664b13).
Aug 13 14:07:11 s8 systemd: Stopped Plesk task: Event 'domain_alias_delete' for object with ID '171' (task=3911 process=3911 trace=25452:6116606664b13).
Aug 13 14:07:11 s8 systemd: Started Plesk task: Event 'domain_alias_delete' for object with ID '172' (task=3913 process=3913 trace=25452:6116606664b13).
Aug 13 14:07:11 s8 systemd: Started Plesk task: Event 'domain_alias_delete' for object with ID '172' (task=3912 process=3912 trace=25452:6116606664b13).
Aug 13 14:07:11 s8 systemd: start request repeated too quickly for postfix.service
Aug 13 14:07:11 s8 systemd: Failed to start Postfix Mail Transport Agent.
Aug 13 14:07:11 s8 systemd: postfix.service failed.
Aug 13 14:07:11 s8 systemd: Stopped Plesk task: Event 'domain_alias_delete' for object with ID '172' (task=3912 process=3912 trace=25452:6116606664b13).
Aug 13 14:07:11 s8 systemd: Stopped Plesk task: Event 'domain_alias_delete' for object with ID '172' (task=3913 process=3913 trace=25452:6116606664b13).
Aug 13 14:07:11 s8 systemd: Started Plesk task: Event 'domain_alias_delete' for object with ID '173' (task=3915 process=3915 trace=25452:6116606664b13).
Aug 13 14:07:11 s8 systemd: Started Plesk task: Event 'domain_alias_delete' for object with ID '173' (task=3914 process=3914 trace=25452:6116606664b13).
Aug 13 14:07:11 s8 systemd: start request repeated too quickly for postfix.service
Aug 13 14:07:11 s8 systemd: Failed to start Postfix Mail Transport Agent.
Aug 13 14:07:11 s8 systemd: postfix.service failed.
Aug 13 14:07:11 s8 systemd: Stopped Plesk task: Event 'domain_alias_delete' for object with ID '173' (task=3914 process=3914 trace=25452:6116606664b13).
Aug 13 14:07:11 s8 systemd: Stopped Plesk task: Event 'domain_alias_delete' for object with ID '173' (task=3915 process=3915 trace=25452:6116606664b13).
Aug 13 14:07:11 s8 systemd: Started Plesk task: Event 'domain_alias_delete' for object with ID '174' (task=3917 process=3917 trace=25452:6116606664b13).
Aug 13 14:07:11 s8 systemd: Started Plesk task: Event 'domain_alias_delete' for object with ID '174' (task=3916 process=3916 trace=25452:6116606664b13).
Aug 13 14:07:12 s8 systemd: start request repeated too quickly for postfix.service
Aug 13 14:07:12 s8 systemd: Failed to start Postfix Mail Transport Agent.
Aug 13 14:07:12 s8 systemd: postfix.service failed.


Regards
Jan
 
Systemd is preventing the restart of the postfix service for some time due to too many restarts.

Workaround:
# systemctl edit postfix.service

Then paste the following:
Code:
[Service]
StartLimitInterval=0

Then reload:
# systemctl daemon-reload
 
Thanks for the workaround, but that's not the issue.

I know this configuration exist but i should not have to change the default systemd on dozens of servers. Plesk should not send so many restart requests. If i have these problems, then less linux knowledgeable users will have the same problem and they can not alter systemd.

btw, its actualy:

systemd < 230 (centos 7 = 2.19)

[Unit]
StartLimitInterval=

systemd > 230 (almalinux, centos 8 = 2.39)

[Unit]
StartLimitIntervalSec=


regards
Jan
 
Back
Top