I'm moving from Windows Hyper-V to Proxmox and was excited, but I'm noticing that the websites hosted by these VMs (running Ubuntu Jammy) are loading incredibly slow. So much so that often on the first page load, I get an error 522 from Cloudflare (the sites are proxied through them) and then if I refresh the page it loads up... most of the time. Sometimes it takes a couple refreshes.
I'm new to Proxmox, so I've tried to figure this out and read about different performance tweaks and whatnot... but this issue seems to be occurring a lot when you search the forums and there's no clear answer. I do believe it's related to HTTPS as I'm running Home Assistant off it and that's HTTP but I'm using Nabu Casa to access it remotely, and that loads up REALLY quick.
My host machine is a new Dell Optiplex 7000 with an Intel I7-12700 processor, 128GB of ram, and currently on a 2TB PCIe 5 NVME with (2) 10G networking ports (have a 10G switch, Synology on 10G, but my outgoing internet is 1gb).
So, one VM, for example, is for Cloudron.
This is my first post, so I apologize if I didn't post everything needed to help me debug this issue. If you can offer any assistance or let me know if you need any additional details, please let me know. Otherwise, I feel like I've made a huge mistake as these VMs (some are like Cloudron, others are just running either Caddy or NGINX with either Node or PHP apps, but are configured similarly).
(Oh, I forgot to mention that there are no issues internally. Meaning, if I try to access Cloudron via internal IP address, it loads up super quick. However, as soon as I use the external web address, I experience the performance hit.)
I'm new to Proxmox, so I've tried to figure this out and read about different performance tweaks and whatnot... but this issue seems to be occurring a lot when you search the forums and there's no clear answer. I do believe it's related to HTTPS as I'm running Home Assistant off it and that's HTTP but I'm using Nabu Casa to access it remotely, and that loads up REALLY quick.
My host machine is a new Dell Optiplex 7000 with an Intel I7-12700 processor, 128GB of ram, and currently on a 2TB PCIe 5 NVME with (2) 10G networking ports (have a 10G switch, Synology on 10G, but my outgoing internet is 1gb).
So, one VM, for example, is for Cloudron.
- Memory: 12gb RAM
- Processor: 4 (2 sockets, 2 cores) [host,flags=+md-clear;+pcid;+spec-ctrl;+ssbd;+pdpe1gb;+aes] [numa=1]
- Bios: SeaBIOS
- Machine: i440fx
- SCSI Controller: VirtIO SCSI Single
- Hard Disk: local-2tb:vm-106-disk-0,aio=io_uring,cache=writeback,discard=on,iothread=1,size=128G,ssd=1
- Networking Device: virtio=00:00:8b:c3:95:3b,bridge=vmbr0,mtu=1,queues=4
- CPU Usage: 1.57% (peaks at 25% here and there, perhaps due to something with HTTPS?)
- Memory: 26.20%
This is my first post, so I apologize if I didn't post everything needed to help me debug this issue. If you can offer any assistance or let me know if you need any additional details, please let me know. Otherwise, I feel like I've made a huge mistake as these VMs (some are like Cloudron, others are just running either Caddy or NGINX with either Node or PHP apps, but are configured similarly).
(Oh, I forgot to mention that there are no issues internally. Meaning, if I try to access Cloudron via internal IP address, it loads up super quick. However, as soon as I use the external web address, I experience the performance hit.)