shared memory problem
Posted in 2000
Topics: Error Codes & Troubleshooting, Server Administration
environment:
server1 (ULLA): Compaq DS20E, 2x 500Mhz CPU, 1.5GB memory, BaaN IVc3,
I-connenct 2.20, Unix True64 4.0F
server2 (GELLA): Compaq DS20E, 2x 500Mhz CPU, 1.5GB memory, Informix
7.31.FC6, Unix True64 4.0F
onconfig : SHMVIRTSIZE 524000, SHMADD 8192, SHMTOTAL 0
Problem:
Informix crashes with
14:40:54 shmat: [ENOMEM][12]: out of available data space, check systemMAXMEM
14:40:54 out of virtual shared memory
14:40:54 Assert Failed: No Exception Handler
14:40:54 Informix Dynamic Server Version 7.31.FC6
14:40:54 Who: Session(572, kleinw@ULLA.soudal, 4623, 499379912)
Thread(4108, sqlexec, 21dc2c4e8, 1)
File: mtex.c Line: 446
14:40:54 Results: Exception Caught. Type: MT_EX_BE, Context: mt_ex_setup:no mem
14:40:54 Action: Please notify Informix Technical Support.
14:41:15 See Also: /tmp/af.13f44766, shmem.13f44766.0
14:41:22 Error writing '/tmp/shmem.13f44766.0' errno = 28
14:41:22 mtex.c, line 446, thread 4108, proc id 880, No Exception Handler.
14:41:22 PANIC: Attempting to bring system down
onstat -g seg shows a total size of 1015021568, details:class R* : size 142606336
class V : initial size 536870912, 39 x 8388608 added
Thsi happens after 1/2 days working. If I keep running onstat -g seg and I
see that it is coming near the above mentioned total size, I tried onmode -F
and it releases enough to keep on working for the second half of the day. If
I don't do onmode -F it crashes again.
What is going wrong?
The release notes are telling me that MAXMEM is not applicable.
--
*** remove spam twice when replying ***
You kernel is not allowing the engine to create any more shared
memory segments. Build a new kernel increasing all relevant shared
memory parameters especially any that relate to the number of
segments a process is permitted. For now increase SHMVIRTSIZE and
SHMADD since it seems to be the number of segments that is the
problem not the size of one.
Art S. Kagel
Daniel Willems wrote:
>
> environment:
> server1 (ULLA): Compaq DS20E, 2x 500Mhz CPU, 1.5GB memory, BaaN IVc3,
> I-connenct 2.20, Unix True64 4.0F
> server2 (GELLA): Compaq DS20E, 2x 500Mhz CPU, 1.5GB memory, Informix
> 7.31.FC6, Unix True64 4.0F
> onconfig : SHMVIRTSIZE 524000, SHMADD 8192, SHMTOTAL 0
>
> Problem:
> Informix crashes with
> 14:40:54 shmat: [ENOMEM][12]: out of available data space, check system> MAXMEM
> 14:40:54 out of virtual shared memory
> 14:40:54 Assert Failed: No Exception Handler
> 14:40:54 Informix Dynamic Server Version 7.31.FC6
> 14:40:54 Who: Session(572, kleinw@ULLA.soudal, 4623, 499379912)
> Thread(4108, sqlexec, 21dc2c4e8, 1)
> File: mtex.c Line: 446
> 14:40:54 Results: Exception Caught. Type: MT_EX_BE, Context: mt_ex_setup:> no mem
> 14:40:54 Action: Please notify Informix Technical Support.
> 14:41:15 See Also: /tmp/af.13f44766, shmem.13f44766.0
> 14:41:22 Error writing '/tmp/shmem.13f44766.0' errno = 28
> 14:41:22 mtex.c, line 446, thread 4108, proc id 880, No Exception Handler.
> 14:41:22 PANIC: Attempting to bring system down>
> onstat -g seg shows a total size of 1015021568, details:> class R* : size 142606336
> class V : initial size 536870912, 39 x 8388608 added
>
> Thsi happens after 1/2 days working. If I keep running onstat -g seg and I
> see that it is coming near the above mentioned total size, I tried onmode -F
> and it releases enough to keep on working for the second half of the day. If
> I don't do onmode -F it crashes again.
>
> What is going wrong?
>
> The release notes are telling me that MAXMEM is not applicable.
> --
> *** remove spam twice when replying ***
Related threads
- Posting from the Informix-list
- Migrating from IDS 9.40.UC6 to 11.50.UC3
- Ip for a network session
- questions onstat -g