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

holr

Member
Jan 4, 2019
29
1
8
51
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!
 
Jan 24, 2020
228
22
18
28
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.
 

JosephKav

Member
Jul 21, 2017
1
0
6
31
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?
 

holr

Member
Jan 4, 2019
29
1
8
51
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 your own in 60 seconds.

Buy now!