[SOLVED] Cannot remote connect to Proxmox VE Server

naupe

Member
Apr 8, 2019
36
4
13
37
I have a Dell PowerEdge R710 I installed with Proxmox VE 5.3. I gave the server to a friend and we were able to get Proxmox to connect properly to the Internet from his Home Router, along with the VMs installed on it.

I have an Nginx VM, GitLab VM as well as a few others. The Nginx VM Reverse Proxies the other VMs (so they can connect to the Internet). The GitLab VM (the main point of the server) hosts our project.

Recently someone tried to Git Push too much to the Server, and Nginx kept crashing (maxing out on disk space). I saved a Snapshot of the Nginx VM that wasn't maxed out and rolled back to when it wasn't filled up. This usually would resolve Nginx crashing ... but it wasn't this time.

So I did something more extreme and tried to increase the Disk Space on the Nginx VM by 1GB:

1. In Proxmox: qm resize 100 scsi0 +1G (100 = Nginx VM ID)
Proxmox then reports the following:

For thin pool auto extension activation/thin_pool_autoextend_threshold should be below 100. Size of logical volume pve/vm-100-disk-0 changed from 10.00 GiB (2560 extents) to 11.00 GiB (2816 extents). Logical volume pve/vm-100-disk-0 successfully resized. WARNING: Sum of all thin volume sizes (6.09 TiB) exceeds the size of thin pool pve/data and the size of whole volume group (836.12 GiB)!

2. In Nginx VM: sudo /sbin/lvresize -l +100%FREE /dev/mapper/ubuntu--vg-ubuntu--lv
3. In Nginx VM: sudo /sbin/resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv

This caused FAR more problems, and Nginx kept breaking. I have no idea why, as I'm quite sure this is the proper way to increase the Nginx Disk Space. Unsure what else could be the issue, I decided to restart Proxmox ... and now I can't even remotely connect to Proxmox: not via Proxmox GUI nor via Putty (using the External IP Address).

My friend's network is fine, the Dell PowerEdge R710 is online and Proxmox itself isn't maxed out according to my fiend. All the issues were with the Nginx VM remember. What could be the problem!? I've never had issues connecting to Proxmox since it moved to my friend's home and we got it networking with his Router properly.
 
Last edited:
I believe I have resolved the situation: So why could I not putty/connect to the Proxmox GUI? Because my friend had to click F1 during boot. So unless you have physical access to the Hardware of a Proxmox Server, you can't properly boot the software.

What about the Nginx issues? I think the ultimate problem is the LARGE Snapshots, and LARGE numbers of them, that I have on my Proxmox Server that was causing issues with my Nginx VM. Who would have thought?

So here is what I did :
  1. Deleted quite a few Snapshots on Proxmox VE (only keeping a couple of the latest Snapshots on each VM).
  2. Rolled back Nginx to the last working Snapshot.
  3. Logged into Nginx and ran the sudo /sbin/lvresize -l +100%FREE /dev/mapper/ubuntu--vg-ubuntu--lv and sudo /sbin/resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv commands. Not only did I add 1 GB to the Nginx VM, but I apparently had 5 GB of unassigned disk space as well. Nginx is no longer maxing out.
  4. Added 1 GB more of RAM, so Nginx has more RAM to handle reverse proxying.
  5. Started up all the other VMs. They all connect just fine.
So yeah, lesson here for all Proxmox users:
  1. You need physical access to a Proxmox Server when rebooting it, or you can't actually start it.
  2. Don't keep too many Snapshots around ... especially of your large GitLab VM. I probably need to take better care to remove even more Snapshots.
So yeah, I'd say this is SOLVED.

I also wanted to share here the exact error the Nginx VM reported before it would lock up:
ngx login: [2216470.765077] watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [swrapper/0:0]
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!