Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello, I'm having problems on my server where it has freezes in the service responsible for the MUMPS server on our IBM/AIX. I have noticed that the MUMPS service freezes when the server load average increases. At certain times of the day the load average increases to values above 30. At the moment it is at 14.81.
SISMED1:/var/tmp> uptime
03:09PM up 34 days, 22:57, 50 users, load average: 14.81, 12.31, 13.20
When it increases a lot, the service responsible for MUMPS/MSM freezes and we have to kill the service to restart the MUMPS system. Is there anything I can check or is there any system tuning to improve processor performance?
Distribution: Ubuntu based stuff for the most part
Posts: 1,177
Rep:
Quote:
Is there anything I can check or is there any system tuning to improve processor performance?
From what you posted the MUMPS service seems to be the problem, not the hardware. Take a look at its logs to see what it is doing. It looks like you have 2 CPUs, so if the service is never running well perhaps you need to add more?
Perhaps there is a poorly constructed SQL query?
Memory leak in the app?
Did you talk to the developer to help troubleshoot?
From what you posted the MUMPS service seems to be the problem, not the hardware. Take a look at its logs to see what it is doing. It looks like you have 2 CPUs, so if the service is never running well perhaps you need to add more?
Perhaps there is a poorly constructed SQL query?
Memory leak in the app?
Did you talk to the developer to help troubleshoot?
The MUMPS/MSM service is a non-relational database. It's something very old, it's very difficult to find content.
The MUMPS/MSM service is a non-relational database. It's something very old, it's very difficult to find content.
One possible source of the problem could be contention for a lock file. You could check the program logic to see if interlocks are possible. Another possibility is that a particular lock is used so much that in a high volume situation the application essentially becomes single threaded.
One possible source of the problem could be contention for a lock file. You could check the program logic to see if interlocks are possible. Another possibility is that a particular lock is used so much that in a high volume situation the application essentially becomes single threaded.
When the system freezes you might take a look at the times when the various lock files were created or accessed to see if one or a combination of several lock files have been locked for a long time.
You might have to go into the logic of the program. When it updates a record does it lock the entire file or does it just lock a single record in the file? When it locks on a record does it also lock on an index file?
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,818
Rep:
Quote:
Originally Posted by rojao
Hello, I'm having problems on my server where it has freezes in the service responsible for the MUMPS server on our IBM/AIX. I have noticed that the MUMPS service freezes when the server load average increases. At certain times of the day the load average increases to values above 30. At the moment it is at 14.81.
SISMED1:/var/tmp> uptime
03:09PM up 34 days, 22:57, 50 users, load average: 14.81, 12.31, 13.20
When it increases a lot, the service responsible for MUMPS/MSM freezes and we have to kill the service to restart the MUMPS system. Is there anything I can check or is there any system tuning to improve processor performance?
Wow. I haven't encountered MUMPS since the mid-'90s. (I think I still have a book on the application/database stashed in a box somewhere.) Back then it was on VMS and the ODS filesystem combined with the way MUMPS dealt with data could fragment files pretty seriously. I was called to one site to investigate their performance issue, I found that there were most of individual files used by MUMPS that had upwards of 14,000 extents and the system was grinding virtually to a halt when hitting those files. Defragging the filesystem made a huge difference. In those days, the officially sanctioned method was to schedule downtime and backup/restore... ugh!. Not sure if this is something your site is suffering from but it might be a good idea to check it out.
Wow. I haven't encountered MUMPS since the mid-'90s. (I think I still have a book on the application/database stashed in a box somewhere.) Back then it was on VMS and the ODS filesystem combined with the way MUMPS dealt with data could fragment files pretty seriously. I was called to one site to investigate their performance issue, I found that there were most of individual files used by MUMPS that had upwards of 14,000 extents and the system was grinding virtually to a halt when hitting those files. Defragging the filesystem made a huge difference. In those days, the officially sanctioned method was to schedule downtime and backup/restore... ugh!. Not sure if this is something your site is suffering from but it might be a good idea to check it out.
Hello, we are using MUMPS/MSM from Intersystems. It runs on a Unix/AIX, the file system is jfs2. Where can I check these individual files you mentioned?
When the system freezes you might take a look at the times when the various lock files were created or accessed to see if one or a combination of several lock files have been locked for a long time.
You might have to go into the logic of the program. When it updates a record does it lock the entire file or does it just lock a single record in the file? When it locks on a record does it also lock on an index file?
I don't know how to report this. I'll see with development if they know anything about it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.