Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Swap problem and database in memory
@ 1995-09-06  4:00 Bassirou Bah
  1995-09-13  4:00 ` Georg Umgiesser
  0 siblings, 1 reply; 4+ messages in thread
From: Bassirou Bah @ 1995-09-06  4:00 UTC (permalink / raw)


"swap space below 10 percent free"
is the error message I am getting since we installed the
following entry in sysconfigdb file in order to configure 
Oracle:

vm:
  vm-maxvas=1073741824
  vm-mapentries=400
  ubc-minpercent=5
  ubc-maxpercent=15

The documentation is not clear as what the ubc-min/max are.
Are the percentage of swap file being used? or what?

I have 1GB of RAM and only 500 MB of swap for now !!
I have tried swapon -a to install all the swap space available 
I have oracle running and the when I enter the tstshm command
I get the following output:

Unable to obtain requested swap space

Number of segments gotten by shmget() = 16
Number of segments attached by shmat() = 16
Odd-sized segments are rounded up to even size
Segments attach at higher addresses
Maximum size segments are not attached contiguously!
  Segment separation = 4194304 bytes
Default shared memory address = 0x10000
Lowest shared memory address  = 0x10000
Highest shared memory address = 0x11fc10000
Total shared memory range     = 4831838208 (0x120000000)
Total shared memory attached  = 67108848 (0x3fffff0)
Largest single segment size   =  4194304 (0x400000)
Segment boundaries (SHMLBA)   =     8192 (0x2000)

DIGITAL and ORACLE have not responded yet to my call.

Any Idea ?

Please respond.

Regards!




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Swap problem and database in memory
  1995-09-06  4:00 Swap problem and database in memory Bassirou Bah
@ 1995-09-13  4:00 ` Georg Umgiesser
  1995-09-13  4:00   ` Peter R David
  1995-09-22  4:00   ` Michael Sternberg
  0 siblings, 2 replies; 4+ messages in thread
From: Georg Umgiesser @ 1995-09-13  4:00 UTC (permalink / raw)


Bassirou Bah <bbah@worldbank.org> wrote:
>
> "swap space below 10 percent free"
> is the error message I am getting since we installed the
> following entry in sysconfigdb file in order to configure 
> Oracle:
> 
> vm:
>   vm-maxvas=1073741824
>   vm-mapentries=400
>   ubc-minpercent=5
>   ubc-maxpercent=15
> 
> The documentation is not clear as what the ubc-min/max are.
> Are the percentage of swap file being used? or what?
> 
> I have 1GB of RAM and only 500 MB of swap for now !!
> I have tried swapon -a to install all the swap space available 
> 
> ...

I have a similar problem with OSF/1, version 2.1. Maybe it is related
to your problem. The problem lies in the X-server, that continues
to allocate virtual memory while never releasing any. It so happens
that after a shutdown, the virtual memory of the X-server is about
8 Mbytes, but after some weeks, I get up to 80 Mbytes. At this point
I get the same warning message as you: 
	"swap space below 10 percent free"
The only thing I can do is shutdown the computer and reboot it.
The problem is that after a logout, the server should be reset
to a clear state. This must be configurable, but I couln't find
where.

To see, if your problem is connected to mine, do a "ps aux" and look
for an entry "/usr/bin/X11/X". Look at the column "VSZ". If this value
is very big, you have the same problem.^[

By the way: Digital didn't respond to me either



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Swap problem and database in memory
  1995-09-13  4:00 ` Georg Umgiesser
@ 1995-09-13  4:00   ` Peter R David
  1995-09-22  4:00   ` Michael Sternberg
  1 sibling, 0 replies; 4+ messages in thread
From: Peter R David @ 1995-09-13  4:00 UTC (permalink / raw)



	If you change the line in /usr/lib/X11/xdm/Xservers to 

read 

0 local /usr/bin/X11/X -terminate -nice -2 

	The Xserver will restart itself each time the console is
logged out, thereby restoring the lost memory.  Later versions are
much better at the allocation of memory, because they do it smaller
chunks.

	Good luck,

	Peter David



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Swap problem and database in memory
  1995-09-13  4:00 ` Georg Umgiesser
  1995-09-13  4:00   ` Peter R David
@ 1995-09-22  4:00   ` Michael Sternberg
  1 sibling, 0 replies; 4+ messages in thread
From: Michael Sternberg @ 1995-09-22  4:00 UTC (permalink / raw)


Georg Umgiesser <georg@lagoon.isdgm.ve.cnr.it> writes:
> The problem lies in the X-server, that continues
>to allocate virtual memory while never releasing any.
>The only thing I can do is shutdown the computer and reboot it.

Nah - just restarting the X process would do the job, too.
See the man pages of init, xdm and X.

	/usr/sbin/init.d/xdm stop; /usr/sbin/init.d/xdm start

Make sure you either issue this as one line or are logged in from a terminal
since there are security issues involved.

>The problem is that after a logout, the server should be reset
>to a clear state. This must be configurable, but I couln't find
>where.

The last line in /usr/local/lib/X11/xdm should read:

:0 local /usr/bin/X11/X -terminate

Hope that helps.


BTW:  It should be fixed by now in the current releases.
--
Michael Sternberg, Physics Research Scholar	mgs@po.cwru.edu
Case Western Reserve University		Lab phone: (216) 368 4034
"Who disturrrbs me at this time?"	<< Zaphod Beeblebrox IV >>



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1995-09-22  4:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-09-06  4:00 Swap problem and database in memory Bassirou Bah
1995-09-13  4:00 ` Georg Umgiesser
1995-09-13  4:00   ` Peter R David
1995-09-22  4:00   ` Michael Sternberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox