Skip to main content

Manage infobase user sessions

Last update:

You can manage infobase user sessions in the Control panel:

You can also manage 1C server cluster sessions — view the session list for all infobases in the cluster and terminate one or all sessions.

View session list

  1. In the Control panel, on the top menu, click Products and select Managed 1C Cloud.

  2. Go to the Infobases section.

  3. Open the infobase page → Session Management tab.

  4. View the session list. The following is displayed for each session:

    User1C username
    Connection typeInfobase user type — client application, external connection, background job, or web service call
    Start timeSession start time in timestamp format
    Last activityUser's last activity time
    SleepingWhether the session is in sleep mode
    Session numberSession number
    Client IP addressClient IP address from which the connection is established
    CPU time, sec

    CPU time used:

    • Current — by the current incomplete server call; ;
    • 5 min — by completed session server calls over the last 5 minutes; ;
    • Total — by completed session server calls for the entire session duration
    Memory consumption

    Byte difference between memory allocated and deallocated:

    • Current — by the thread executing the current call, since the call started; ;
    • 5 min — threads that executed completed session calls over the last 5 minutes;
    • Total — by threads that executed completed session calls for the entire session duration
    Data volume

    Volume of data transferred in completed session server calls:

    • 5 min — over the last five minutes; ;
    • Total — for the entire session duration
    Call count

    Number of completed server calls for this session:

    • 5 min — over the last five minutes; ;
    • Total — for the entire session duration
    DBMS data

    Volume of data transferred during the session between the 1C server cluster and the database:

    • 5 min — over the last five minutes; ;
    • Total — for the entire session duration

Terminate one or all sessions

  1. In the Control panel, on the top menu, click Products and select Managed 1C Cloud.
  2. Go to the Infobases section.
  3. Open the infobase page → Session Management tab.
  4. To terminate a single session, click in the session row and confirm. You can search for a specific session by username by typing the name in the field above the session list.
  5. To terminate all sessions, click Terminate all sessions and confirm.

Set a session lock

When a session lock is enabled for an infobase, active users will be prompted to save their data and their sessions will be terminated. It will not be possible to connect to the infobase until the specified end time, or until you remove the lock.

In the Control panel, you cannot see whether a session lock is currently enabled for an infobase. If a session lock is already active for an infobase and you set a new one, the previous lock will be reset.

You can view active locks using the cluster administration utility. For more information, see Infobase property view in the 1C documentation.

  1. In the Control panel, on the top menu, click Products and select Managed 1C Cloud.
  2. Go to the Infobases section.
  3. Open the infobase page → Configuration tab.
  4. In the Support and Maintenance block, in the User sessions row, click Set lock.
  5. Enter the lock start date and time (UTC+3). If you do not specify a start date and time, the lock will be set immediately.
  6. Enter the lock end date and time. If you do not specify an end date and time, the infobase will remain locked until you remove the lock.
  7. Optional: enter a message that will be displayed when someone tries to connect to the locked infobase.
  8. Optional: enter a lock parameter — custom text. It will be set as a parameter of the LockSessions object.
  9. Optional: to allow connecting to the locked infobase, enter an authorization code—any combination of letters and numbers. The authorization code must be specified when connecting to the locked infobase in the connection string parameter UC or in the command-line parameter /UC, for example /UC123456.
  10. Click Next.
  11. Enter the username and password of an infobase user with administrator rights.
  12. Click Set.

Remove a session lock

Once you remove the lock, users will be able to connect to the infobase again.

  1. In the Control panel, on the top menu, click Products and select Managed 1C Cloud.
  2. Go to the Infobases section.
  3. Open the infobase page → Configuration tab.
  4. In the Support and Maintenance block, in the User sessions row, click Remove lock.
  5. Enter the username and password of an infobase user with administrator rights.
  6. Click Remove.