Title: | DIGITAL UNIX (FORMERLY KNOWN AS DEC OSF/1) |
Notice: | Welcome to the Digital UNIX Conference |
Moderator: | SMURF::DENHAM |
Created: | Thu Mar 16 1995 |
Last Modified: | Fri Jun 06 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 10068 |
Total number of notes: | 35879 |
Hi, there. My customer has problem related to shared memory. He cannot remove the shared memories which were allocated and released by informix. Well the processes related to shm # 513 and shm # 514 is no longer alive. And KEY of zero means that he run ipcrm. I don't know why system would not release shared memory in situation that ipcrm was run and all related processes was killed. Is there any mothod to release these shared memories in this case ? Digital UNIX V3.2G is used. Please help !!! # ipcs -am Shared Memory: T ID KEY MODE OWNER GROUP CREATOR CGROUP NATTCH SEGSZ CPID LPID ATIME DTIME CTIME m 0 844348508 --rw-rw-rw- root system root system 2 648 377 18587 10:45:42 10:45:42 11:05:38 m 513 0 --rw-rw---- root informix root informix 1 33972224 1252 2373 12:59:13 12:59:13 13:42:00 m 514 0 --rw-rw---- root informix root informix 1 40960000 1252 2373 12:59:08 12:59:13 13:42:00 m 771 1381386241 --rw-rw---- root informix root informix 12 33972224 2374 2489 15:03:38 15:03:39 12:59:17 m 772 1381386242 --rw-rw---- root informix root informix 12 40960000 2374 2489 15:03:38 15:03:39 12:59:20 You know, In this situation, I cannot # sysconfig -q ipc msg-max = 93952409 shm-min = 1 shm-mni = 256 shm-seg = 150 Jeong-eun Kim in Seoul
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
9631.1 | EVTAI1::SAMIE_F | francoise [email protected] | Mon Apr 28 1997 05:16 | 10 | |
The normal way to stop online is onmode -k In your particular case, probably you still have an old oninit process daemon running do ps -ef|grep oninit and kill the old one with PPID 1, this will remove the shm segments Francoise | |||||
9631.2 | onmode -k ? | DEKVC::JEONGEUNKIM | Wed Apr 30 1997 05:52 | 12 | |
Hi, Thank you for your response. Well, I can't your meaning "the way to stop online is onmode -k" What is this about ? Thank you in advance. Best Regards, Jeong-eun Kim | |||||
9631.3 | EVTAI1::SAMIE_F | francoise [email protected] | Tue May 06 1997 11:57 | 3 | |
$INFORMIXDIR/bin contains executables: oninit, onmode ... You should NEVER kill online but stop it properly |