Re: OnLine shared memory question
Posted in 1994
>From: res@din.lois.perm.su (Igor G. Popov) >Subject: OnLine shared memory question >Date: Fri, 28 Oct 94 16:55:07 +0600 >X-Informix-List-Id: <news.9512> >When I attempt to increase BUFFERS value in tbconfig, >initializing fail and print message: >tbinit: shmat[EINVAL][22]: shared memory base address illegal > using 0x8040000, needs 0x80800000 >tbinit: fatal error in shared memory creation >INTERACTIVE UNIX 4.0 has Shared Memory parameters: >SHMMAX 2097152 >SHMMNI 100 >SHMSEG 6 >SHMALL 512 >INFORMIX-OnLine 5.00.UC2 has tbconfig settings: This is a common problem on 386 and 486 machines. These machines allocate shared memory on 4 MB page boundaries. OnLine requires its shared memory to be contiguous. Therefore, the size of a chunk of shared memory must be 4 MB. The fix is to change SHMMAX to 4194304. Yours, Jonathan Leffler (johnl@informix.com) #include <disclaimer.h>