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.
En Diego Morales va escriure el dia 9 Sep 99, a les 16:07:
>
>
>
>
>
> Hi all again.
>
> I'm working with a 7.31 UC2 with HP-UX 10.20
>
> I'm tunning the memory values of onconfig, exactly SHMVIRTSIZE and
> SHMADD.
>
> We have recently change to this version of Informix and who installed
> us this version changed the values of SHMVIRTSIZE and SHMADD (they was
> set to 240000 and 30000). He said that they was too high for us.
>
> Now I have SHMVIRTSIZE set to 200000 and SHMADD set to 8000
> (its original value). Since Monday I changed SHMVIRTSIZE from 140000
> to 200000 (a lot of segments were created daily). I suppose that a big
> number of new segments is very bad for the performance... is it right?
It's so good to have a small number of segments (I try to have 1 -
SHMVIRTSIZE- and exceptionally 1 plus -SHMADD- (my SHMADD
= 50% of SHMVIRTSIZE)).
Use "onstat -g seg" to view the segments and try to create a
unique segment for all the proces.
>
> It's better a low value to SHMADD or not?
>
> Is it possible to get the process that caught the additional segments?
> Perhaps the process that caught the segment didn't finish ok or
> perhaps Informix doesn't free the additional segments when he doesn't
> need them. If I can get the process perhaps I can free the segment
> but, is it possible
> to
> free a segment with blkused <> 1?
> I know that 'onmode -F' free the segments with blkused = 1.
Use "onstat -g ses" (without sid) and you can see a sumary for all
the users memory allocated and memory used.
To free a segment use "onmode -F". IDS don't deallocate unused
segments :-(( but reuses the allocated segments next time.
>
> Thanks in advance !!!
>
> DJMoralesM
> dmorales@giro.es
>
>
Bona sort.
---------------------------------------
Isidre PONS ROCA
BASE - Gesti' d'Ingressos Locals
(Diputacio de Tarragona)
Servei de Sistemes de Informacio
Av President Lluis Companys 12-C
43005 - Tarragona
SPAIN
Tel # +34 977 236731
Fax # +34 977 227302
http://www.altanet.org
ipons@dtgna.altanet.org
---------------------------------------
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.