Jonathan: Here's some info on LCTs:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This error can be displayed when a user is trying to start a UniData session by invoking a udt process. This is a fatal error. The process will not start. What is an LCT? What does this message mean? How can you correct the situation? LCT is an acronym for Local Control Table. This is a shared memory structure created and maintained by the UniData Shared Memory Manager (smm). One slot in this table is required for each: + udt process (licensed or phantom) + udtsvr process (NFA connection) + uniapisvr process (UniServer Objectcall connection) - requires 2 slots, consumes 1 license. + uniserver_bg process (UniServer ODBC connection) + guide process As of Release 5.2, guide spawns child processes for parallel processing. Each child consumes an LCT slot as well. The default number of child process is 4, but you can configure that with an option. The minimum number of slots you should plan on for a guide process is 5 (1 for the parent, 4 for the child processes). + acctrestore process (little used - not ACCT_RESTORE or MAG_RESTORE) + memresize process + rg or sg process (little used report or screen generator, aka UENTRY, UREPORT) By default, starting with UniData version 4.1, udtinstall sets this to 1.25 times the number of licensed users for your system. If you run more phantoms, or have licensed other layered products (noted above) you may need to increase this for your system. You can view the size of this table and the number of slots in use with the UniData Unix level command ' lstt'. Here is an example of this command on a UniData 3.3.2 or 4.0 system: tekibm> $UDTBIN/lstt ----------------------- LCTs Statistics ----------------------- Total LCTs (Process Groups allowed): 450 LCTs Used (Active Process Groups): 23 (5% of 450) Total Ps: 23 Total Global Pages Used: 46 (47104K bytes) Total Self-created.....: 0 (0K bytes) Total memory used......: 47104K bytes -------------------- End of LCTs Statistics ------------------- The 'No more LCTs' error simply means that the 'LCTs Used' number equals the 'Total LCTs' number. This table is created when the smm daemon starts (via the startud script). The size of the table is determined by a parameter in the udtconfig file. For UniData 3.3.2 versions, this parameter is: SHM_LNTBLS. For UniData 4.0 and later versions, this parameter is: NUSERS. For UNIX systems, the udtconfig file resides in the /usr/udnn/include directory where 'nn' represents the UniData version (eg 52, 60). For Windows systems, this resides in the UDTHOME\include directory (default for UniData 6.0 is c:\IBM\ud60\include). In order to increase this parameter, use whichever operating system editor you are comfortable with (e.g. vi) to modify the appropriate parameter in the appropriate udtconfig file for your UniData version. You can also use UniData utilities UniAdmin (client tool), shmconf or udtconf (on 4.1). You will then need to stop and restart the UniData daemons for this to take effect. Have your users gracefully exit their udt sessions; run stopud; run startud. You can confirm that the changes you made took effect by re-running the lstt command. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - In addition, there are a few troubleshooting guides for UniData that contain this subject. The command "sms -L {pid}" is often helpful. Hope this helps. Bill >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of >Jonathan Leckie >Sent: Tuesday, September 25, 2007 3:13 AM >To: u2-users@listserver.u2ug.org >Subject: [U2] No more LCTs > >I am trying to compile a programme and I get the error "No more LCTs", there >are 40 users logged in (we have a maximum of 48 allowed), if I log-out a >user I can compile the programme. Also if I try to login another user after >the 40th the connexion closes on me (presumably the same problem). Any >ideas, I can restart Unidata tonight (stopud, startud) if that would help. ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/