Increase user limit

ClipzZModz

Member
Feb 25, 2019
4
0
6
46
Hi,

I am currently developing a system using the Prox API - going smoothly and its very well documented so making my life really easy .. (thanks developers)

Only issue I can forsee for the future is the file limit on the user configs, I read somewhere you can only have around 5-6 thousands users, hence need many more once we reach that many clients.

The issue is only really for VNC, no one is going to be logged into Proxmox directly as thats all done via my billing and control panel I have been creating over the last few months, pretty much when a VPS has been ordered a user is created with VM.Console and VM.powermgt only so they can use VNC and start/stop/restart/reset etc etc etc
My system just simply pings the prox api with access credentials and I get the usual CSRF and token which I then store to the users browser as the standard cookie.

Pretty simple setup... but just wanted to see if anyone has any suggestions for the user limit, it won't be an issue for at least a year but it will become an issue in the future.

Before anyone mentions using a global account for all customers consoles I'll have to shut you down before you mention it lol thats extremely unsecure as everyone will have access to everyone else I may as well advertise the root accounts password on the website and re-open sshd haha ...

Any suggestions appreciated

Thanks in advance!
 
hi,

Only issue I can forsee for the future is the file limit on the user configs, I read somewhere you can only have around 5-6 thousands users, hence need many more once we reach that many clients.
do you remember where did you read that?

because i just tested this claim on my setup and i don't see any problem having more than 6k users:
Code:
root@pve:~# pveum user list --output-format yaml | grep userid | wc -l
9019

not having any issues logging in or noticing any problem (though i cannot test thousand users logging in at the same time)
how many users do you currently have? and which PVE version are you on? (pveversion -v)

edit: still not sure where you've read that, but one possible constraint would be the size limit on memdb for pmxcfs (our filesystem on /etc/pve had a file size limit of 512k, which was increased to 1M with the version 7.0-3 for pve-cluster
 
Last edited: