![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| ||||
| ||||
|
|
Hi Martin, Two initial questions:- 1. What's your O/S version and Ingres version? Red Hat Linux release 7.1 (Seawolf) |
|
2. What's going on in your QSF Pool when you see QSR mutexes? I'm only monitoring with qs501 on a per 5 minute basis. |
|
FWIW a quick work-around is to start another iidbms... Sadly not possible. The kernel doesnt have enough shared memory |
|
Looking forward to hearing your answers to 1 & 2. Regards, Richard |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
Hi Dudes, I'm getting a LOT of mutexes on QSR sem, which is ultimatly trashing the server. Anyone got any idea what a QSR Sem is and why I should care? |
#6
| |||
| |||
|
|
At 2:09 PM +0000 3/9/06, martin.bowes (AT) ctsu (DOT) ox.ac.uk wrote: Hi Dudes, I'm getting a LOT of mutexes on QSR sem, which is ultimatly trashing the server. Anyone got any idea what a QSR Sem is and why I should care? If this is 2.6 or r3, my guess is that you are way short on QSF memory and it's going thru the LRU reclaim a lot. QSF mutexing was split up starting with 2.6 and the QSR mutex is held for only a short time in normal allocation. We only need to hold QSR when working with the head of the QSF memory lists, or when scanning the LRU reclaim list. If you can raise QSF memory, try that first. Karl -- |
#7
| |||
| |||
|
|
At 2:09 PM +0000 3/9/06, martin.bowes (AT) ctsu (DOT) ox.ac.uk wrote: Hi Dudes, I'm getting a LOT of mutexes on QSR sem, which is ultimatly trashing the server. Anyone got any idea what a QSR Sem is and why I should care? If this is 2.6 or r3, my guess is that you are way short on QSF memory and it's going thru the LRU reclaim a lot. QSF mutexing was split up starting with 2.6 and the QSR mutex is held for only a short time in normal allocation. We only need to hold QSR when working with the head of the QSF memory lists, or when scanning the LRU reclaim list. If you can raise QSF memory, try that first. Karl -- |
#8
| |||
| |||
|
|
Hi Marty, I cant speak with authority on what is going on inside ingres but I have always used a rule of thumb that 70-80% utilisation = FULL. 10mb is still not that much memory in the grand scheme of things. We have happily supported >1000 concurrent users with ~40mb and in R3 the defaults for a "large" configuration would be 100mb and for "huge" it 250mb. So I would suggest you bump this up by quite a lot until you are consistently below 70% utilisation. -- Peter T: +44 (0)1398 341777 PGale (AT) Comp-Soln (DOT) co.uk -----Original Message----- From: info-ingres-admin (AT) cariboulake (DOT) com [mailto:info-ingres-admin (AT) cariboulake (DOT) com] On Behalf Of martin.bowes (AT) ctsu (DOT) ox.ac.uk Sent: 10 March 2006 10:03 To: Betty & Karl Schendel Cc: info-ingres (AT) cariboulake (DOT) com Subject: Re: [Info-ingres] Mutex on QSR sem Hi Karl, IngresII2.6/0305 patch11279. The problem has come since I upgraded to this patch from 11063 - which seemed to be cool in this area. I bumped the QSF memory from 2.5M to 10M. But all this did was delay the inevitable. The qsf memory used builds up to around 80% used with trace point qs505 showing no LRU objects destroyed. My guess is that as it finally decides to reclaim some space and process the LRU list it never releases the semaphore. Marty At 2:09 PM +0000 3/9/06, martin.bowes (AT) ctsu (DOT) ox.ac.uk wrote: Hi Dudes, I'm getting a LOT of mutexes on QSR sem, which is ultimatly trashing the server. Anyone got any idea what a QSR Sem is and why I should care? If this is 2.6 or r3, my guess is that you are way short on QSF memory and it's going thru the LRU reclaim a lot. QSF mutexing was split up starting with 2.6 and the QSR mutex is held for only a short time in normal allocation. We only need to hold QSR when working with the head of the QSF memory lists, or when scanning the LRU reclaim list. If you can raise QSF memory, try that first. Karl -- Random Duckman Quote #62: Cornfed: In the Judeo-Christian iconography, the apple represents forbidden fruit, the ultimate sin, implying a desire to engage in the forbidden act, hence becoming a symbol of the ultimate harassment... and they were such a good source of vitamin A. _______________________________________________ Info-ingres mailing list Info-ingres (AT) cariboulake (DOT) com http://mailman.cariboulake.com/mailm...py/info-ingres |
#9
| |||
| |||
|
|
Hi Karl, IngresII2.6/0305 patch11279. The problem has come since I upgraded to this patch from 11063 - which seemed to be cool in this area. I bumped the QSF memory from 2.5M to 10M. But all this did was delay the inevitable. The qsf memory used builds up to around 80% used with trace point qs505 showing no LRU objects destroyed. My guess is that as it finally decides to reclaim some space and process the LRU list it never releases the semaphore. |
#10
| |||
| |||
|
|
I wonder if that is the version that clearing session objects on a rollback was introduced. Do your jobs do many rollbacks, or do you have a high connect/disconnect rate? |
|
10M isn't really all that much for QSF. Remember that it has to hold named objects (repeated, dbp's) as well as unnamed objects (on-the-fly query stuff, query plans, parse trees). |
|
I doubt that it isn't releasing the QSR sem at all, because then it would hang solid; but it sounds like it's holding it way too long for some reason. How long is your LRU queue? (I forget which QS5xx trace point tells you that.) |
![]() |
| Thread Tools | |
| Display Modes | |
| |