• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Plesk API Subscription Response Timeout

Rob123

New Pleskian
I'm using the API to dynamically create new subscriptions. However, I frequently never receive a response back for my request.

I have enabled graceful restart, which has made an improvement, but my requests still fail to return a response every now and then.

This is problematic, because the script needs to know whether the subscription has been successfully created or not. Often times, when the script times out, the subscription was successfully created. But Once and and a while that's not true, and it is causing inconsistencies in my system.

Has anyone encountered something like this or have any suggestions? Thanks!
 
Hi Rob123,

the cause can be a small amount of memory on your server, or as well defined MySQL limits. Compare your my.cnf with the example configuration from my-huge.cnf and adjust your own my.cnf with them and if your system can keep up with the new settings. Tweaking your system configurations can also solve such issues ( response timeouts ), but depend on your very own system and its configuration and can't be generally answered.

Keep an eye on logfiles, so that you may get an information about the initial cause and report them here for further investigations and suggestions.
 
Back
Top