infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Cloverleaf
thread / process slow to start
Stewart
What would cause slowness in the thread / process starting?
Find more posts tagged with
Clovertech
Comments
Jim Kosloskey
One thing - but not the only thing - is a Recovery DB which has a lot of Active messages in it.
Paul Bishop
A couple of things could be the database files have grown large or there are a lot of queued messages on the thread.
You can use the db init command (hcidbinit) to re-initialize the database files - BE VERY CAREFUL WITH THIS COMMAND - it will wipe out all queued messages in the recovery and error databases for that site. When I need to issue this command, I do the following steps:
do a setsite command if you are doing this from a text session
shut down all incoming threads in the site
wait for all the messages to clear out. The alternative to this is to use the hcidbdump command to offload all the messages, but this is cumbersome if there are a lot of messages and/or threads since they need to be offloaded by each destination and state.
once all messages have cleared out, shut down all other threads and processes for that site.
Stop the Lock Manager and Monitor Daemon for that site
Issue the db init command (hcidbinit). I use the "-ACf" flags with it - look in help for explanations.
Start the Lock Manager and Monitor Daemons up
Start up your processes and threads.
Stewart
The process had 830k messages in the recovery DB. This is a test system so I exported and cleared them out. There are no messages in the recovery or error DB's. However, I'm still seeing slowness in the process coming up.
Paul Bishop
By clearing them out, do you mean you just deleted them or did you do the database initialization? If you didn't do the initialization, the database file is still at the same size it was with the 830K messages and will take a while to load up even if it is empty.
Stewart
Deleted. I did the dbinit and the processes are starting up as expected now. Thank you for the help. Since the DB's size won't change when the messages are deleted, is it recommended to reinitialize the DB's when they grow this large?
Stewart
Is there anyway to limit the size of the DB or to prevent this from happening?
Rob Abbott
Limit the size of the DB? No. If we did that then data could potentially be lost.
If you are really worried about space and speed, you can turn off recovery DB in your test environment if you don't need to worry about persisting the messages when you stop and start things. This is a setting on each thread's properties.
Note that the database file size will reach a "high water mark", that is if messages are deleted from the database, the space will be re-used as new messages are added.
Another thing you can do to shrink the size of the database non-destructively is run the following commands (lock manager, all processes need to be shut down first)
hcidbinit -i -C -f
dbdefrag rlog
Jim Kosloskey
Is this a Test environment or the Production Environment?
Are the Test and Prod Environment on different servers?
Stewart
Future PROD environment. Our current LIVE / PROD (6.1) cloverleaf resides on the same server. I am working on moving over to this new server (19.1.1). I've moved a few things over and am using it for non-critical interfaces and some testing until 19.1.2 has came out at which time, LIVE and PROD will then be on 2 separate servers.
Jim Kosloskey
If I understand correctly there are 2 Cloverleaf versions on the same server.
Could it be the server is not properly sized for the workload? Don't forget about I/O.
I think you have some detective work to do.
Stewart
Only 1 version on each server.
server1: current prod/test [6.1] (future test)
server2: future prod [19.1.1]
Stewart
This is occurring on server2 and have seen it on server1 as well.
Jim Kosloskey
Consider over committed processes or sites if platform is properly sized. But make sure the platform is properly sized for the workload.
It is also possible Tcl code used at thread startup is less than efficient.