'no more lcts' means udtconfig NUSERS is too small to handle all of the udt processes you want to spawn concurrently on a system. Default is 25% > license - but may be insufficient if you run a lot of phantoms.
Based on your sms -L review, it sounds more like you are getting 'no more entries in MI table' error. If that is the case: 1) increase SHM_LMINENTS (max is 255) and/or increase SHM_GPAGESZ (assuming the entries in the MI table are for global pages - vs self-created segments). 2) You may also need to implement an occasional GARBAGECOLLECT in your app to defrag application memory use (storage for UniBasic variable contents). More detailed discussions would be best handled by opening a support case with the U2 UK support staff (based on your email address...). Would need to see your udtconfig settings, specific output of sms -L, etc. Regards, Wally Terhune U2 Support Architect Rocket Software 4700 S. Syracuse Street, Suite 400 **Denver, CO 80237 **USA Tel: +1.720.475.8055 Email: wterh...@rs.com Web: www.rocketsoftware.com/u2 -----Original Message----- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Edward Brown Sent: Thursday, May 13, 2010 7:55 AM To: U2 Users List Subject: [U2] [UD] Running out of LCTs Hello all. I'm running a batch job which after a number of iterations fails with a 'no more LCTs' error. I'm able to track the memory usage with sms -L process number and I can see the number in the Memory Info section moving slowly up from 2 or 3 up to 31 as the batch job runs. I know I could increase the number of slots available but I'd rather understand how I can change the batch routine to stop it using all these lcts in the first place. Each iteration calls through to a set of (large) routines that do file opens, reads, writes and a bunch of business logic - nothing really outside of what generic 'pick' code would do though. It's not accumulating the results of each iteration in memory (at least not in a significant way) - any output is written to disk. So can anyone suggest what, specifically, causes LCTs to be used up? Are there any tools I can use to tell what's in them? (My current theory is file opens that are not balanced by a close - but we have loads of other batch routines that process many thousands of records without any problems and are generally careless about opening files each time round the loop... Thanks Ed Edward Brown Senior Analyst Civica UK Limited Tel: 01246 267918 E-mail: edward.br...@civica.co.uk <mailto:david.car...@civica.co.uk> Website: www.civica.co.uk <http://www.civica.co.uk/> ------------------------------------------------------------------------------------------- This e-mail and any attachment(s), is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the addressee, dissemination, copying or use of this e-mail or any of its content is prohibited and may be unlawful. If you are not the intended recipient please inform the sender immediately and destroy the e-mail, any attachment(s) and any copies. All liability for viruses is excluded to the fullest extent permitted by law. It is your responsibility to scan or otherwise check this email and any attachment(s). Unless otherwise stated (i) views expressed in this message are those of the individual sender (ii) no contract may be construed by this e-mail. Emails may be monitored and you are taken to consent to this monitoring. Civica Services Limited, Company No. 02374268; Civica UK Limited, Company No. 01628868 Both companies are registered in England and Wales and each has its registered office at 2 Burston Road, Putney, London, SW15 6AR. ------------------------------------------------------------------------------------------- _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users