Tom
February 10, 2022, 9:53am
#1
The CPU usage at 10AM yesterday went from 0% to a stuck 57%, this happened when I pushed a version of Directus to the server at 10:15AM.
I’ve noticed the uptime is also stuck at 00:00. Now the server is stuck on generating app:
The client is wanting to go live with their website today so this is causing some stress.
anish
February 10, 2022, 10:02am
#2
Hello @Tom ,
This might be mainly due to MySQL logs if MySQL is installed. We will have a quick look at your server and get back to you.
1 Like
Tom
February 10, 2022, 10:06am
#3
Interesting, why would MySQL logs take up CPU usage? Regardless I’m using PostgresSQL 14.
anish
February 10, 2022, 10:09am
#4
My bad.
I was working on something similar so considered CPU to disk space.
We’ll look into it to see if we can find anything and get back to you.
anish
February 10, 2022, 10:11am
#5
In the mean time, can you try rebooting your server?
Tom
February 10, 2022, 10:42am
#6
Rebooting my server took it back to 0%. Strange issue.
Tom
February 10, 2022, 10:43am
#7
It is however, still stuck on generating app:
It started doing this after adding the following into Astro:
buildOptions: {
sitemap: true,
site: 'https://polinations.com/',
}
I’ll check if removing that allows it to build again.
anish
February 10, 2022, 10:58am
#8
Hello @Tom ,
I’m glad that you were able to figure this out and the CPU usage has dropped.
Sure. Let us know if we could be of any help.
Tom
February 10, 2022, 11:01am
#9
Actually @anish ,
It bounced right back up after restart. Also you didn’t response to the fact that the Astro site would get stuck on “Generating App” when applying buildOptions
which important for SEO.
Thanks,
Tom
anish
February 10, 2022, 11:07am
#10
We’re already looking into it, @Tom . I will keep you updated if we find anything.
Tom
February 10, 2022, 11:15am
#11
CPU still running like crazy even after reboot also:
PM2 Logs:
Tom
February 10, 2022, 11:36am
#12
The CMS isn’t loading after renaming the website either.
Respectfully, the last thing I want is the website to launch and be down.
anish
February 10, 2022, 12:35pm
#13
1 Like