Error: Unable to find free port (61000-61099)

holr

Well-Known Member
Jan 4, 2019
33
1
48
54
Hello,
I have one proxmox server in a cluster (proxmox 6.1-7) that is running many virtual machines. After a recent cloning process to create another batch, I am finding several cannot be started, instead exhibiting the following error message:

Code:
Error: Unable to find free port (61000-61099)

We are running spice and seem to be running into the issue described in step 3 in:
Code:
https://forum.proxmox.com/threads/capacity-testing-with-proxmox-4-4.32513/

Unfortunately, there wasn't a solution in that thread, or in others we've been looking into. Is there a way, other than changing the SPICE back to NoVNC, that could help alleviate this cap please?
Thanks!
 
Hi,

Can you see if the port 61000 in this file? cat /var/tmp/pve-reserved-ports if the port there already, see which program listen to port netstat -tlp, also see journalctl -f as well.
 
Did you have any luck sorting this? I'm getting that exact error on 6.4.8. I'm running 25-30 LXC containers and only 1 VM this error happens when I try and start it with SPICE as the Display (I haven't added a new LXC/VM in many months and have never seen this issue). Changing the Display to default gets it booting again. I tried it with a new VM and that errored with SPICE. Also, not sure if this could be related (they're both network related though, so maybe?), but NUT doesn't seem to work anymore. upsc upsName@localhost just times out, but starting nut-server runs fine and that appears to connect to the UPS. I've tried google, tried rebooting, am now on 5.11 kernel, no luck with any of those. I'm on the latest apt update, so possibly a bug somewhere there?
 
Hello, I only went as far as filing the bug and left it there, sorry. I've had to fall back to novnc until the limit is altered. I only experienced the error with 100 or more spice enabled vms running simultaneously. Sorry I can't be more help!
 

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!