Saltar al contenido

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)

preguntada hace 2 años955 visualizaciones
2 Respuestas
1
Respuesta aceptada
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
EXPERTO
respondido hace 2 años
EXPERTO
revisado hace 10 meses
  • 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

EXPERTO
respondido hace 2 años
  • 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

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.