-
AuthorPosts
-
March 21, 2025 at 12:41 pm #231782
Keiran BrownParticipantI’ve observed significant resource consumption when syncing a large number of products (e.g., ~500) using the webhook functionality of your plugin. Specifically, while RAM usage remains moderate, CPU utilization spikes rapidly and continues to increase until it reaches the allocated limit.
For context, WooCommerce was initially restricted to:
4 GB RAM
125 Entry Processes (EP)
2 CPU cores
During the sync, only a portion of the RAM is utilized, but CPU usage steadily climbs. When I increased the allocation to 4 CPU cores and 175 EP, the CPU and EP usage again peaked shortly after, suggesting the plugin continues consuming all available CPU and entry processes until hitting the limit.This behavior makes it difficult to manage server performance. Continually increasing resource limits is not a sustainable solution.
Is there a way to throttle or limit the plugin’s resource usage, particularly CPU and EP, during webhook-based product sync operations? Any built-in settings, hooks, or recommended server configurations that could help mitigate this would be greatly appreciated.
Looking forward to your guidance.
-
AuthorPosts
You must be logged in to see replies to this topic. Click here to login or register