Re: swap partition increase

2006-09-12 Thread Carsten Otte

LJ Mace wrote:

I know the next statement isn't a permanent fix but  I
need to know if(and how) I can increase  my swap
space.

You can prepare another dasd with dasdfmt and fdasd, then use mkswap
to create a swap space on a partition you created, and activate it
using swapon. All commands have man-pages that explain their proper usage.
If you want to use the swap space on the next startup, add the disk to
/etc/fstab just like the swap partition you do already use (see "man
fstab").

cheers,
Carsten
--
Carsten Otte has stopped smoking: Ich habe in 3 Monate, 2 Wochen und 4
Tage schon 531,81 Euro gespart anstatt 2.215,90 Zigaretten zu kaufen.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


swap partition increase

2006-09-12 Thread LJ Mace
I'm running linux sles9 sp3 on z/vm 5.1 . The person
who genned the linux guests partitioned a 3390 as
 /dev/dasdb1   „   swap   „   „ 1020.0 MB„ 
 /dev/dasdb2„   /tmp   „   „    1.2 GB„ .

This next line is a my humble opinion. There is some
kind of memory leak in the java code written for the
apps on these guest. Why you ask? When the guests are
started we have ~190 tasks running with 0k swap space
used. Now as things get started I would expect some
swap space to be used. But as the week wears on the
number of tasks creep up (~260-280) and the swap space
decreases and never releases.  The tasks are not
zombies but show 'sleeping'.   
I know the next statement isn't a permanent fix but  I
need to know if(and how) I can increase  my swap
space. 
Or do I have an option "B" and what that option is and
how to impliment that option.
again I know the best thing to do is fix the code but
that won't happen. 
thanks
Mace



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390