Direkt zum Inhalt

Could not create session. The maximum number of sessions has been reached

0

i installed nice dcv on my linux ec2 instance using the cloud formation and this works well, but i am unable to make sessions

dcv list-sessions
Session: 'console' (owner:dcvuser type:console)

then if i run this to just test:

dcv create-session test
Could not create session. The maximum number of sessions has been reached

don't know if i am missing anything or not doing it properly, what i plan to do eventually is to have multiple sessions for users that visit my web, and i just auto start an application when the open up on the web (they won't have access to the pc, kind of how appStream2.0 works)

gefragt vor 2 Jahren946 Aufrufe
2 Antworten
1
Akzeptierte Antwort
dcv list-sessions
Session: 'console' (owner:dcvuser type:console)

You can only have one console session per server. To support multiple sessions, you need to disable console and switch to virtual sessions

More information at Introduction to NICE DCV sessions

AWS
EXPERTE
beantwortet vor 2 Jahren
EXPERTE
überprüft vor 10 Monaten
  • ah, this is it! thank Mike, [ec2-user@ip-172-31-54-197 ~]$ sudo dcv list-sessions Session: 'testing' (owner:ec2-user type:virtual) Session: 'test' (owner:ec2-user type:virtual)

0

Hi,

What is the value that you gave to --max-concurrent-clients ?

From https://docs.aws.amazon.com/dcv/latest/adminguide/managing-sessions-start.html

dcv create-session \
    --type console|virtual \
    --name session_name \
    --user username \
    --owner owner_name \
    --permissions-file /path_to/permissions_file \
    --storage-root /path_to/storage_directory \
    --gl on|off \
    --max-concurrent-clients number_of_clients \
    --init /path_to/init_script \
    session_ID

Best,

Didier

EXPERTE
beantwortet vor 2 Jahren
  • in my config /etc/dcv/dcv.conf i have the max-concurrent-clients commented out which default to -1 (no limit is enforced) , in creating a new session i am for test just using the dcv create-session session_ID which gives me that error of Could not create session. The maximum number of sessions has been reached

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.