• 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.

Question How can sw-engine-fpm be restarted?

Bitpalast

Plesk addicted!
Plesk Guru
I'd like to restart the sw-engine-fpm service. According to the process list

root 8736 0.0 0.0 501808 39028 ? Ss Oct01 0:00 sw-engine-fpm: master process (/etc/sw-engine/sw-engine-fpm.conf)
psaadm 27200 1.8 0.0 539288 71948 ? S 10:59 0:06 sw-engine-fpm: pool plesk

there should be a service named "sw-engine-fpm". But:

# service sw-engine-fpm status
Redirecting to /bin/systemctl status sw-engine-fpm.service
Unit sw-engine-fpm.service could not be found.

What's the right name?
 
Hello,

The service name is "sw-engine". In general, binary name is not same as service name, for instance mariadb.service executes mysql_safe binary
 
Hmm, o.k., I already tried restarting sw-engine and other Plesk related services, but I feel that since a month sw-engine-fpm (the PHP-FPM part of the construction) is quite slow for unknown reason on this one machine. All transactions that sw-engine does on configuration changes are slow, although other processes (like database, webserver Apache and Nginx, other PHP modules, disk access etc.) are working fast as always. No database issues either. So I thought that restartig the PHP service that is responsible for sw-engine transactions must be the culprit.

Anyway, I'll continue to monitor it then.
 
Hmm, o.k., I already tried restarting sw-engine and other Plesk related services, but I feel that since a month sw-engine-fpm (the PHP-FPM part of the construction) is quite slow for unknown reason on this one machine. All transactions that sw-engine does on configuration changes are slow, although other processes (like database, webserver Apache and Nginx, other PHP modules, disk access etc.) are working fast as always. No database issues either. So I thought that restartig the PHP service that is responsible for sw-engine transactions must be the culprit.

Anyway, I'll continue to monitor it then.

Anecdotally I feel that it could be age -

I get the feeling some days that the sw-engine on one of our servers has more creaks and takes longer to get up in the morning than it should despite all other services moving within expected operating parameters ;)
 
I should not have used the word "feel". It is observance, and the lack of speed is very clear. For example on all of our machines creating a new domain or subdomain takes a few seconds. On that very one machine it takes a minute or longer while the overall cpu load is somewhere around 0.5 on a 12-core machine. The long process times are not only limited to this example. They occur on basically all things where Plesk does a configuration change of any type.
 
Just after that behavior occurs, is anything meaningful written to the /var/log/sw-cp-server/sw-engine.log file?
 
Nothing in that file but the stop/start sequence with no errors. I also have check all other system files like /var/log/messages, the disk status. No database inconsistencies either. It all looks normal, only the Plesk operations are much slower than on other systems. It's not so bad that users start complaining, but there is a noticeable difference, and normally that means: problem.
 
Back
Top