If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > Please Helpme, out of virtual shared memory

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-22-04, 20:14
Saul Villegas Saul Villegas is offline
Registered User
 
Join Date: Jan 2004
Location: Mexico
Posts: 2
Unhappy Please Helpme, out of virtual shared memory

Can somebody helpme !, a few days ago may IDS 7.3 is failing an the log show this:

15:52:32 Checkpoint Completed: duration was 0 seconds.
15:53:43 dynamically allocated new shared memory segment (size 8388608)

15:53:44 dynamically allocated new shared memory segment (size 8388608)

15:53:47 dynamically allocated new shared memory segment (size 8388608)

15:54:13 dynamically allocated new shared memory segment (size 8388608)

15:54:29 dynamically allocated new shared memory segment (size 8388608)

15:54:32 dynamically allocated new shared memory segment (size 8388608)

15:54:41 dynamically allocated new shared memory segment (size 8388608)

15:54:44 shmat: [ENOMEM][12]: out of available data space, check system MAXMEM

15:54:44 shmat: [ENOMEM][12]: out of available data space, check system MAXMEM

15:54:44 out of virtual shared memory

It was stable for months,but suddenly it fails, Thanks for the Help.
Reply With Quote
  #2 (permalink)  
Old 01-23-04, 12:07
fprose fprose is offline
Registered User
 
Join Date: Apr 2003
Location: Phoenix, AZ
Posts: 177
Since all the requests for shared memory occured within second/minutes I'd say you have an application program, possibly a stored procedure, that's got a "run away" stack.
__________________
Fred Prose
Reply With Quote
  #3 (permalink)  
Old 01-28-04, 11:10
DBAgirl DBAgirl is offline
Registered User
 
Join Date: Jan 2004
Location: San Antonio, Texas
Posts: 47
Re: Please Helpme, out of virtual shared memory

i think the first reply may be right. It is suspicious for this to happen all of a sudden. You should check with the developers for new code or have the number of connections, transactions or amount of data changed recently? Look for the sql in the AF file and identify the user.

Either way it is telling you there is no more memory on the machine. This will produce a crash. If this is the only instance on this machine and it is set to 0 and the additional memory needed is valid you will need more memory.

If there are others instances, RDBMS's, applications that could be taking the memory that should be allocated to Informix then something else needs to be done. When SHMMAX is set to 0 that means Informix can take whatever memory is available.

If SHMMAX was set to 1GB and on a normal day you used 500MB but then Informix needed the extra 500MB on day and only 300MB were available because something lese took the memory you would also see this message and a crash would result. A way to prevent this is to allocate all the Informix memory up front so no one else can take it. It takes away from being able to share which is what Informix does but If you like us and you must run "other" RDBMS's on the same machines it's in Informix's best interest to not share because no one else plays well. :-)

Regards,
DBAgirl

Quote:
Originally posted by Saul Villegas
Can somebody helpme !, a few days ago may IDS 7.3 is failing an the log show this:

15:52:32 Checkpoint Completed: duration was 0 seconds.
15:53:43 dynamically allocated new shared memory segment (size 8388608)

15:53:44 dynamically allocated new shared memory segment (size 8388608)

15:53:47 dynamically allocated new shared memory segment (size 8388608)

15:54:13 dynamically allocated new shared memory segment (size 8388608)

15:54:29 dynamically allocated new shared memory segment (size 8388608)

15:54:32 dynamically allocated new shared memory segment (size 8388608)

15:54:41 dynamically allocated new shared memory segment (size 8388608)

15:54:44 shmat: [ENOMEM][12]: out of available data space, check system MAXMEM

15:54:44 shmat: [ENOMEM][12]: out of available data space, check system MAXMEM

15:54:44 out of virtual shared memory

It was stable for months,but suddenly it fails, Thanks for the Help.
Reply With Quote
  #4 (permalink)  
Old 01-28-04, 12:59
dananio dananio is offline
Registered User
 
Join Date: Mar 2002
Posts: 112
Re

- Program from client cause this problem
- Your param. SHMADD is too small for live system
- Bug of CSDK version that's client program used to compiled and run
Reply With Quote
  #5 (permalink)  
Old 01-29-04, 21:17
Saul Villegas Saul Villegas is offline
Registered User
 
Join Date: Jan 2004
Location: Mexico
Posts: 2
Re: Please Helpme, out of virtual shared memory

Thanks to all, yes was a new process, we search the new code and we found it.

Thanks a lot, from Mexico D.F.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On