› Clovertech Forums › Read Only Archives › Cloverleaf › Cloverleaf › Db_Vista database error -924 and another question
[dbi :dbi :ERR /0:
I’ll be interested to know if that is the case becuase with that in mind a strategy in my case could be easily implemented going forward.
Consequently, we haven’t made any effort to make process names unique.
I checked and by chance we have 10 process names that are not unique in prodcution across different sites.
I have never observed a shared memory issue serious enough to cause any prodcution down time in my 9 years of service at MD Anderson.
I do occasionaly get shared memory descrepancies to show up when running the don_check_shmem.ksh script you will see later on.
I run this script to help make me aware of how much risk my shared memory might have.
What I like to see are no discrepanices and just the site names listed when the script is run.
The more descrepancies I have the more nervous I become and try to resolve them when I get too uncomfortable.
Unfortunately, the discrepancies have been challenging to get rid of and I have to do a hcisiteinit and recreate the site to make them go away for good most of the time.
I have found out that creating a homegrown set of standard operating procedures for how to make certain changes and migrating interface into prodcution keeps the discrepancies under control.
When we deviate from our home grown known working standard operating procedures is when we have noticed more descrepanices.
I also have a growing suspicion that editing the NetConfig directly instead of using the IDE can contribute to the risk of shared memory discrepancies.
Yes we all know it is a bad idea to edit the NetConfig directly for many other reasons but some individuals persist anyway, even I’ve been known to get lazy and do it, please forgive me for I have sinned.
Here is the main KSH script given to us by Don Ramey if you want to run it and see just how many descrepancies show up.
don_check_shmem.ksh
[code]##################################################################################################################################################
# This script checks to see if the list of threads in shared memory
# matches what is in the NetConfig
#
#———
# History:
#———
#
# 2004.10.17 Russ Ross
#
# This script checks to see if the list of threads in shared memory
# matches what is in the NetConfig
#
#
Russ Ross
RussRoss318@gmail.com
I’ll try the scripts that you provided.
Thanks,
Jennifer
Every time I started the thread, the entire engine would crash.
I minimized the number of characters in the thread name and the problem dissapeared. This can happen with thread names and process names. Recommended that thread name be no more than 15 characters long, process names no longer than 9.
Dan Loch
When I had a quovadx support on the phone, he told me that he has seen only two reasons causing 924 error. One is running back-up job during busy hours can cause crash and the other is when a thread/process name has uppercase in it. But neither of them was our case and he couldn’t pinpoint what caused it on our case. Making unique process names throughout all sites was his recommendation.
According to you Dan, the length of process/thread name can be issue..I just counted our thread names and several of them are 14 – 17 characters long and these names have been always same throughout different versions of cloverleaf (currently we are on 5.4) and I think I have seen this 924 error two times so far only after we migrated to 5.4 and none before.
There is no specification from Quovadx about these recommendations, and so forth and I’m wondering how much their recommendations are truly affecting.
I am running around the office knocking on wood right at the moment.
Craig Weldy
Senior Interface Analyst
Beacon Health System
South Bend, In, 46615
Depending on the OS you will either get a separate shared memory for each site or one shared memory used by all sites. No control over that for cloverleaf. The ones who are on an OS with one shared memory (windows and a couple unix versions) have more risk of conflicts between sites. Thus some of you have seen this and some have not. My recommendation is to not have duplicate names across sites and then you are safe regardless of OS. You might be on an OS that is safe today but have the big whigs upstairs decree you switch to a different one next year. Might as well be set up where you are safe regardless. That is just my philosophy though.
The process and threadname length issue was found through a lot of experimentation by one of our support analysts. The exact length causing a problem varied by OS and was intermittent when encountered. Thus one person might have found one number to be a problem while those in a different environment saw something different.
If I remember right 26 or below was safe for all. I usually recommend staying at 26 or below when combining site+process+thread so I am safe regardless of OS. That way I do not have to remember exactly what number was a problem with each OS and if you have to migrate to a different OS in the future you are not at risk. Why do something that could cause a problem some day? That is just the defensive programming I was taught in college.