Re: lug-bg: Informix
- Subject: Re: lug-bg: Informix
- From: luben@xxxxxxxxxxxxx (luben karavelov)
- Date: Tue, 19 Sep 2000 23:45:45 +0300
Peter Valchev wrote:
>
> Suddenly on Wed, Aug 09, 2000 at 07:19:07AM -0700, Georgi Georgiev wrote:
> : --- Yuliy Minchev <yuliy@xxxxxxxxxxxx> wrote: >
> : >
> : > Zdraveite!
> : >
> : > Instalirah si Informix Dynamic Server 9.2 na Linux
> : > Red Hat 6.2
> : > No za varvi traibva da se nastroi shared memory na
> : > server (SHMMAX, SHMMIN
> : > i oshte niakolko neshta) i tochno te sa mi problema
> : > - kade da gi promenia?
> :
> : Bi triabvalo kernela ti da ima IPC
> : (Inter Process Communication) support,
> : ama kak ottam natatak se deistva, ne znam.
> :
> : =====
> : Skelet
> : -------- http://people.bulgaria.com/skelet
>
> Zdravey,
> Sujaliavam che niamam linux naokolo da ti kaja tochno, no principno ..
> eto kak izglejdat neshtata v kernel-a na OpenBSD:
>
> /usr/src/sys/conf/param.c
> #define SHMMAX SHMMAXPGS
> #define SHMMIN 1
>
> suotvetno SHMMAXPGS se set-va v
> /usr/include/i386/vmparam.h -> ( machine/vmparam.h )
>
> /*
> * Size of shared memory map
> */
> #ifndef SHMMAXPGS
> #define SHMMAXPGS 2048
> #endif
>
> suotvetno ot param.c kato si #define SHMMAX SHMMAXPGS, ot vmparam.h mojesh da
> promenish stoinostta mu.
> a SHMMIN promeniash directno v param.c
>
> Mislia che tova shte ti e dostatuchno ..
>
> pogledni sushto taka sys/shm.h i sys/ipc.h za interesna informacia po
> tvoiata tema :)
>
> E, nadiavam se sum ti pomognal.
> Razgledai se i v Linux-skia kernel za podobni neshta (? param.c ?)
> Predpolagam ima *pone* i386/vmparam.h .. koito e za virtual && shared memory.
> ogledai go.
>
> informacia za shared memory mojesh da vidish s `ipcs -a`.. vaobshte vij ipcs(1).
>
> Uspeh!
>
> -erzr.
>
po lesnia variant e
echo "xxxxx" >/proc/sys/kernel/shmax
kato xxxxx e kolichestvoto pamet v bytove.
uspeh
Luben
==================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
Otpiswaneto RABOTI !!! : Majordomo@xxxxxxxxxxxxxxxxxx UNSUBSCRIBE LUG-BG
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|