docker icon indicating copy to clipboard operation
docker copied to clipboard

Docker container running on a single thread? Web app too slow...

Open Chinoman10 opened this issue 2 years ago • 2 comments

This issue is a copy of this previously opened discussion.

Hey guys,

First of all, thanks a lot for building this out as FOSS and being an open startup, this is great 💪

After we managed to successfully integrate our self-hosted Cal.com docker instance with Google Calendar, we're running into some CPU issues... Whenever the web app needs to check our calendar for events (like, when visiting a booking page), one of the cores goes to 100% and stays like that for 1-5 minutes, which completely halts the web app and Nginx starts delivering 400-500 timeout errors to anyone else visiting the cal web page(s). We believe this may be related to the integration with Google Calendar.

Our VM has 12 vCPU's, 48GB of RAM (~5GB being used), and ~1TB of NVMe storage (low usage across the board as well).

Thanks in advance for any suggestions or help!

Chinoman10 avatar Aug 03 '22 15:08 Chinoman10

@krumware may have some more insights on this

zomars avatar Aug 03 '22 16:08 zomars

This shouldn't be docker specific unless the environment is limiting cpu. Do you by chance have any metrics on memory usage at the time of this issue as well?

Also, is it possible to attempt the booking without using the Google calendar integration, to eliminate or target that possibility?

krumware avatar Aug 03 '22 16:08 krumware

closing for inactivity

krumware avatar Feb 07 '23 13:02 krumware

I didn't see the answer @krumware , apologies. Booking without Google Calendar works just fine. I'll take a look at the memory usage.

Chinoman10 avatar Feb 07 '23 14:02 Chinoman10