Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
David Palmer got shmat EINVAL, base address illegal and out of virtual shared memory on Informix 7.3 (also called 7.2). Alnis Bajars asked for ONCONFIG, kernel parameters and onstat -g seg. David Williams advised adding SHMBASE to ONCONFIG and raising SHMVIRTSIZE so only one V segment shows. June Tong said SHMMAX is usually too low. Palmer posted onstat -g seg output; no outcome was reported.
Auto-generated by Claude from the posts below — may be imperfect; read the full thread.
David Palmer — — source: Informix-list mailing list archive (1991-1998)
On 7.2.0, I'm getting a message in the log that is as follows:
14:34:11 shmat: [EINVAL][22]: shared memory base address illegal
14:34:11 using 0xd0000000, needs 0xffffffff
14:34:11 out of virtual shared memory
Could someone explain this for me and suggest a remedy?
↪ replying to David Palmer
Alnis Bajars — — source: Informix-list mailing list archive (1991-1998)
Hi David.
Plz. supply your $ONCONFIG file. Reviewing your kernel parameters would be good. If your server is still running, output from onstat -g seg may be helpful.
David Palmer <dapalmer@imt.net> wrote in message news:s9kh3oucdh55@corp.supernews.com...
On 7.2.0, I'm getting a message in the log that is as follows:
14:34:11 shmat: [EINVAL][22]: shared memory base address illegal
14:34:11 using 0xd0000000, needs 0xffffffff
14:34:11 out of virtual shared memory
Could someone explain this for me and suggest a remedy?
↪ replying to David Palmer
David Palmer — — source: Informix-list mailing list archive (1991-1998)
Here is the onstat -g seg...and it's 7.3 and 7.2....
$onstat -g seg
Informix Dynamic Server Version 7.30.UC7 -- On-Line -- Up 1 days 11:19:51 -- 9
2272 Kbytes
Segment Summary:
id key addr size ovhd class blkused blkfree
262156 1381386241 30000000 27574272 1280 R 3358 8
262158 1381386242 40000000 8192000 724 V 1000 0
262160 1381386243 50000000 2195456 632 M 260 8
131085 1381386244 60000000 8388608 724 V 370 654
19 1381386245 70000000 8388608 724 V 267 757
20 1381386246 80000000 8388608 724 V 260 764
21 1381386247 90000000 8388608 724 V 179 845
22 1381386248 a0000000 8388608 724 V 119 905
23 1381386249 b0000000 8388608 724 V 166 858
24 1381386250 c0000000 8388608 724 V 158 866
Total: - - 96681984 - - 6137 5665
(* segment locked in memory)
↪ replying to David Palmer
David Williams — — source: Informix-list mailing list archive (1991-1998)
In article <s9kh3oucdh55@corp.supernews.com>, David Palmer
<dapalmer@imt.net> writes
> On 7.2.0, I'm getting a message in the log that is as follows:
>
> 14:34:11 shmat: [EINVAL][22]: shared memory base address illegal
> 14:34:11 using 0xd0000000, needs 0xffffffff
> 14:34:11 out of virtual shared memory
>
> Could someone explain this for me and suggest a remedy?
Check in the files
$INFORMIXDIR/release/0333/en_us/IDS*
$INFORMIXDIR/release/0333/en_us/ONLINE*
You probably need to add an entry for
SHMBASE
into the ONCONFIG file. Also increase SHMVIRTSIZE so that
onstat -g seg only shows 1 segment of type 'V'.
--
David Williams
↪ replying to David Palmer
June Tong — — source: Informix-list mailing list archive (1991-1998)
> David Palmer wrote:
>
> On 7.2.0, I'm getting a message in the log that is as follows:
>
> 14:34:11 shmat: [EINVAL][22]: shared memory base address illegal
> 14:34:11 using 0xd0000000, needs 0xffffffff
> 14:34:11 out of virtual shared memory>
> Could someone explain this for me and suggest a remedy?
Usually due to the kernel parameter SHMMAX not being high enough.
See my Unofficial FAQ:
http://www.geocities.com/SiliconValley/Bridge/4578/faq.html
June
--
june_t@hotmail.com
Living on Snickers bars in San Mateo
Please do not send Informix questions to this account.
I would add 'Please do not send spam to this account'
but I suppose I would be wasting my bits.
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.