This repository was archived by the owner on Feb 27, 2024. It is now read-only.
Heavy CPU load on graphql calls #968
Unanswered
joaovpmamede
asked this question in
Q&A
Replies: 1 comment 1 reply
-
We have noticed high usage on builds as well. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
First of all, sorry if this is not suited here (on this section or even on this repo) but I guess I'm having a hard time figuring what the heck is happening with my project and it could be that it's happening with others ( here and here) too.
So basically everyt ime I build my nextjs project it takes a lot of time and by going to the server and running
top
I've found thatphp-fpm
is using a lot of CPU.Not only that but just a simple Postman call to graphql will have the same effect.
I've already tried different "backends"/stacks (trellis on Digital Ocean, trellis on AWS Lightsail and a simple app container with Wordpress on Lightsail as well) and I get the same issue all the time.
Adding a Cache won't help here and in fact I'm already using Redis with wp-graphql-cache.
Is this something that happens/have happened to you already?
Beta Was this translation helpful? Give feedback.
All reactions