Content Management and Capture

 View Only
  • 1.  Difference between "Maximum number of virtual stations" and "Max connections"

    Posted Sun November 24, 2024 11:25 PM

    Hi,

    Rulerunner Server Registry has "Max connections" entry which is set to 500 by default.

    "Maximum number of virtual stations" on  Datacap Web Client or Datacap Navigator web client is set to 9999 by default.

    What is the difference between these configuration entries?

    Is the maximum number of sessions equal to the number set by "Max connections" which is 500?

    Or is it set by "Maximum number of virtual stations" which is 9999?

    We see these errors onsite. We'd like to know which of the above configuration entries is related.

    1) Error #1

    15:04:46.240 t:50A0 p:4EDB708 T: 13 wTmId: d6aeeaf6-da75-4736-8395-e70518621553 Message: Logon returned false.  application: AP16, user: , station: 
    15:04:46.241 t:50A0 p:4EDB708 T: 13 wTmId: d6aeeaf6-da75-4736-8395-e70518621553 Message: Error: The login to the application: AP16, user: , station:  failed.
    15:04:46.242 t:50A0 p:4EDB708 T: 13 wTmId: d6aeeaf6-da75-4736-8395-e70518621553 Message: SetWTMRC: 6705
    15:04:46.242 t:50A0 p:4EDB708 T: 13 wTmId: d6aeeaf6-da75-4736-8395-e70518621553 Message: GetBatchList leave

    2) Error #2

    15:14:10.389 t:4AB8 p:1F7843F0 T: 27 wTmId: 3284e275-000e-4888-906f-990f7396507c Message: Error: Establish connection returned false for user admin on station 1 for application APXX
    15:14:10.390 t:4AB8 p:1F7843F0 T: 27 wTmId: 3284e275-000e-4888-906f-990f7396507c Message: Error: The connection to the application: APXX, user: admin, station: 1 cannot be established.
    15:14:10.391 t:4AB8 p:1F7843F0 T: 27 wTmId: 3284e275-000e-4888-906f-990f7396507c Message: Error: The connection to the application: APXX, user: admin, station: 1 cannot be established.
    15:14:10.391 t:4AB8 p:1F7843F0 T: 27 wTmId: 3284e275-000e-4888-906f-990f7396507c Message: SetWTMRC: 6704
    15:14:10.393 t:4AB8 p:1F7843F0 T: 27 wTmId: 3284e275-000e-4888-906f-990f7396507c Message: Logon leave

    * Reference

    1. Maximum number of virtual stations

    "When you set up virtual stations, Datacap assigns a unique substation identifier to each login and allows multiple logins up to the Maximum number specified. If a user's session times outs and the Maximum number of virtual stations is greater than zero, the user can log in again without requiring support from the system administrator. When the Maximum number of virtual stations is set to zero or the maximum number of virtual stations is reached, the user's next attempt to log in will fail. The system administrator must clear the virtual stations for that station ID to allow the user to log in again."

    Users, groups, and stations administration

    2. Maximum Connection

    TMS registry keys control the number of maximum connections. Modify the value as you want.
    • HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Datacap\TMS\InterThread
    • Max connections =dword:000001f4(500)
    • If needed you can increase this value, which is based on your system.

    https://www.ibm.com/support/pages/how-do-i-configure-maximum-connection-ibm-datacap-taskmaster-service



    ------------------------------
    dsakai
    ------------------------------


  • 2.  RE: Difference between "Maximum number of virtual stations" and "Max connections"

    Posted Wed November 27, 2024 11:35 AM

    If I am not mistaken the max virtual stations are virtual session you can set for the station ID but the max connection under tms server register are connection to the DB. 



    ------------------------------
    Duke Lam
    ------------------------------



  • 3.  RE: Difference between "Maximum number of virtual stations" and "Max connections"

    Posted Thu November 28, 2024 05:33 AM
    once you define a Rulerunner server on a computer with he name of the computer you have to define it as a station.
    Virtual station max number could be maximum  9999 as you defined for the virtual station 1 for tests,for example, this max  number permits for this vitual station 9999 Datacap users to work parallel using this virtual station, doesn't matter where they are... if you do not have for example ADSI and doesn't matter if they are Rulerunner background tasks or DStudio or tmweb or Scan/Verify or ICN or other Datacap application... 

    The  Max connections of the Rulerunner refers to the Rulerunner service which is running on the computer with this name. If you have a lot of threads these threads are working in parallel so the logon is made parallel but this max conenction must be smaller than the max number of vurtual stations!
    I hope you understood. and do not forget never use 500 threads  or 9999 users working on a station...  there are only maximum but you must take cre of the threads you have on your computer and the users ...


    Good luck
    dorothea
     
    ______________________________

    Dorothea Vulcan


    ________________________________
    This email is strict confidential otherwise not specified. All other receivers are required to use no content and addresses and to delete  them from all clients and servers. In any other cases they could be punished conform international laws.
    ___________________






  • 4.  RE: Difference between "Maximum number of virtual stations" and "Max connections"

    Posted Thu November 28, 2024 09:06 PM

    If we increase Max connections of the Rulerunner, 1ill it have any kind of effect?
    For example, I think utilization of resources such as CPU, memory is increased when we increase Max connections.
    What other effect will it have?

     



    ------------------------------
    AIKO YANAGIYAMA
    ------------------------------



  • 5.  RE: Difference between "Maximum number of virtual stations" and "Max connections"

    Posted Mon December 02, 2024 11:56 AM


    Hi Aiko,
    the number of connections depends on threads defined by you... respectively of all your rulerunner servers (PCs) you have to define the threads depending or your CPUs of your computer / server. you may define on one Rulerunner server only max CPU-1 threads!
    Do not play with max Connections.. I do not think there are any customer using the MaxConnection=500.... but everything is possible..

    check using taskmanager the Memroy and CPU...one CPU you need for Operating system and in rest for your Rulerunner threads.. this is the definition


    good luck Aiko,
    dorothea

    ______________________________

    Dorothea Vulcan

    phone: +49 171 7832 120
    ________________________________
    This email is strict confidential otherwise not specified. All other receivers are required to use no content and addresses and to delete  them from all clients and servers. In any other cases they could be punished conform international laws.
    ___________________






  • 6.  RE: Difference between "Maximum number of virtual stations" and "Max connections"

    Posted Mon December 09, 2024 06:55 AM
    if your maxconenction are less than the rulerunner instances respectively all threads on all rulerunner servers, you can have  some of the threads that could not logon and will wait to be able to logon.. this means some taskthreads could run sequnetially 

    ______________________________

    Dorothea Vulcan