Martin Berns wrote:
>
> Bill Weaver schrieb:
> >
> > Today for some reason we've added 5 shared memory segments dynamically. It almost never happens
> > that we even have 1 added since I've worked to size our initial segment to avoid this. How can
> > I tell what is causing us to add so many all of a sudden?
> [snip]
>
> Run 'onstat -g ses' and have a look at the 'total memory' column. This may indicate who is using
> the additional memory. Remember, sessions don't free memory by themselves: So if there is a big
> difference between 'total memory' and 'used memory' you should think about running 'onmode -F'
> every x minutes/hours by cron.
Don't do that!
If you have a one-off allocation of virtual segments, then free them
with a one-off onmode -F.
If you have regular allocation of virtual segments, then tune the
SHMVIRTSIZE & SHMADD parameters.
Cheers,
--
Mark.
+----------------------------------------------------------+-----------+
|Mark D. Stock - Informix SA http://www.informix.com |//////// /|
|mailto:mdstock@informix.com http://www.informix.com/idn |///// / //|
|http://www.iiug.org +-----------------------------------+//// / ///|
| Tel: +27 11 807 0313 |If it's slow, the users complain. |/// / ////|
| Fax: +27 11 807 2594 |If it's fast, the users keep quiet.|// / /////|
|Cell: +27 83 250 2325 |Therefore, "No news: travels fast"!|/ ////////|
+----------------------+-----------------------------------+-----------+