dbTalk Databases Forums  

Handling Memory Limits

comp.databases.informix comp.databases.informix


Discuss Handling Memory Limits in the comp.databases.informix forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
red_valsen@yahoo.com
 
Posts: n/a

Default Handling Memory Limits - 02-22-2010 , 02:30 PM






Occasionally we run into a situation on development hosts in which the
informixserver is running several memory-intensive processes and
attempts to procure more memory than the O/S permits. Since we don't
set SHMTOTAL (and RESIDENT=0), the informixserver at first fills its
tmp dbspaces, then its root dbspace, then just aborts, leaving behind
unhelpful assert failure files. If we set SHMTOTAL, however, in the
same circumstance the message log is flooded with notices redundantly
describing the lack of memory; the informixserver is rendered
unusable, not responding even to attempts to kill the offending
sessions, and we have to shutdown and restart the instance anyway.

Have others experienced this kind of error? Is there any way for the
informixserver itself to avoid these extremes in behavior -- seppuku
or schizophrenia -- somehow, and ensure that it can handle more
adroitly a lack of memory resources?

Running IDS 11.50.FC4 on HP-UX 11.23.

Reply With Quote
  #2  
Old   
brenddie
 
Posts: n/a

Default Re: Handling Memory Limits - 02-22-2010 , 02:47 PM






On Feb 22, 3:30*pm, "red_val... (AT) yahoo (DOT) com" <red_val... (AT) yahoo (DOT) com>
wrote:
Quote:
Occasionally we run into a situation on development hosts in which the
informixserver is running several memory-intensive processes and
attempts to procure more memory than the O/S permits. *Since we don't
set SHMTOTAL (and RESIDENT=0), the informixserver at first fills its
tmp dbspaces, then its root dbspace, then just aborts, leaving behind
unhelpful assert failure files. *If we set SHMTOTAL, however, in the
same circumstance the message log is flooded with notices redundantly
describing the lack of memory; the informixserver is rendered
unusable, not responding even to attempts to kill the offending
sessions, and we have to shutdown and restart the instance anyway.

Have others experienced this kind of error? *Is there any way for the
informixserver itself to avoid these extremes in behavior -- seppuku
or schizophrenia -- somehow, and ensure that it can handle more
adroitly a lack of memory resources?

Running IDS 11.50.FC4 on HP-UX 11.23.
I was hitting memory allocation limits for informix 32 bits and
changing SHMBASE ( to 0xB000000L) helped it allocate more memory. The
machine notes might have an example for your platform. ex: /home/
informix/release/en_us/0333/ids_machine_notes_11.50.txt
But I guess the only real solution would be to upgrade to 64bits

Reply With Quote
  #3  
Old   
theBP
 
Posts: n/a

Default Re: Handling Memory Limits - 02-22-2010 , 03:36 PM



On 22/02/2010 19:47, brenddie wrote:
Quote:
On Feb 22, 3:30 pm, "red_val... (AT) yahoo (DOT) com"<red_val... (AT) yahoo (DOT) com
wrote:
Occasionally we run into a situation on development hosts in which the
informixserver is running several memory-intensive processes and
attempts to procure more memory than the O/S permits. Since we don't
set SHMTOTAL (and RESIDENT=0), the informixserver at first fills its
tmp dbspaces, then its root dbspace, then just aborts, leaving behind
unhelpful assert failure files. If we set SHMTOTAL, however, in the
same circumstance the message log is flooded with notices redundantly
describing the lack of memory; the informixserver is rendered
unusable, not responding even to attempts to kill the offending
sessions, and we have to shutdown and restart the instance anyway.

Have others experienced this kind of error? Is there any way for the
informixserver itself to avoid these extremes in behavior -- seppuku
or schizophrenia -- somehow, and ensure that it can handle more
adroitly a lack of memory resources?

Running IDS 11.50.FC4 on HP-UX 11.23.

I was hitting memory allocation limits for informix 32 bits and
changing SHMBASE ( to 0xB000000L) helped it allocate more memory. The
machine notes might have an example for your platform. ex: /home/
informix/release/en_us/0333/ids_machine_notes_11.50.txt
But I guess the only real solution would be to upgrade to 64bits
Hi,

So, how much RAM is available?

How much memory is the INFORMIXSERVER "normally" running in?

"Memory intensive operations" ... big sorts? Loads of PDQ? Archive running?

Can you post the top of the very first assert failure? Or at least the online.log where the engine afs?

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.