Re: Message in my Linux guest

2008-07-29 Thread Evans, Kevin R
Is your email signature supposed to be (missing an r?):

[EMAIL PROTECTED]

Regards,

Kevin

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Martin, Terry R. (CMS/CTR) (CTR)
Sent: Monday, July 28, 2008 6:52 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Message in my Linux guest

Thanks!

Thank You,

Terry Martin
Lockheed Martin - Information Technology
z/OS  z/VM Systems - Performance and Tuning
Cell - 443 632-4191
Work - 410 786-0386
[EMAIL PROTECTED]

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Shawn Wells
Sent: Monday, July 28, 2008 5:31 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Message in my Linux guest

Martin, Terry R. (CMS/CTR) (CTR) wrote:
 Hi


 From the output out of my Linux guest can does this look like a MEMORY
 problem or not enough SWAP problem? I highlighted in RED two of the
 statements. Since I am rather new at all of this I am not sure what to
 make of this.


Hi Terry,

My guess is out of memory.  Details:

 Jul 27 23:32:57 e49l021v kernel: oom-killer: gfp_mask=0x1d2


It is the job of the linux 'oom killer' to sacrifice one or more
processes in order to free up memory for the system when all else fails.
It will also kill any process sharing the same mm_struct as the selected
process, for obvious reasons. Any particular process leader may be
immunized against the oom killer if the value of it's /proc/pid/oomadj
is set to the constant OOM_DISABLE.

Reference http://linux-mm.org/OOM_Killer, it shows you both the process
and sections of code.

Without seeing the output of top or vmstat, my guess is that you have an
application that is sucking up ALL resources on your system.  The kernel
is essentially protecting itself by killing that process, and issuing
the error messages.  This is backed up by messages in your output:


 Jul 27 23:33:00 e49l021v kernel: Normal: empty
 Jul 27 23:33:00 e49l021v kernel: HighMem: empty

 Jul 27 23:33:00 e49l021v kernel: Swap cache: add 184153, delete 184157
 ,find 56852/73080, race 0+5

 Jul 27 23:33:00 e49l021v kernel: Free swap:0kB




 fdbk=9  msgid=APSM011E  stext=License file will expire in 9 day(s),

 08-06-2008 HALT .


Also, looks like you guys might want to look into licensing whatever
this is ;)



--
Shawn D. Wells
Global Solutions Architect
Lead, Linux on System z


--
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

--
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

--
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


NFS server and mapping UID/GID from z/OS USS

2008-07-29 Thread John D Randles
Hi there is there an easy way to map USS UID/GID from z/OS USS to Linux 
accross an NFS mount point ? In older versions of NFS there was a 
map_static=map.file parameter where you could build your own static 
mapping table, but in NFSv4 it seems to have gone. We dont have a common 
LDAP or NIIS server for both systems at this point. Any help greatly 
appreciated. 
 
John Randles
email: [EMAIL PROTECTED]
American Express made the following annotations on Tue Jul 29 2008 09:15:18
--
This message and any attachments are solely for the intended recipient and may 
contain confidential or privileged information. If you are not the intended 
recipient, any disclosure, copying, use, or distribution of the information 
included in this message and any attachments is prohibited. If you have 
received this communication in error, please notify us by reply e-mail and 
immediately and permanently delete this message and any attachments. Thank you.

American Express a ajouté le commentaire suivant le Tue Jul 29 2008 09:15:18

Ce courrier et toute pièce jointe qu'il contient sont réservés au seul 
destinataire indiqué et peuvent renfermer des renseignements confidentiels et 
privilégiés. Si vous n'êtes pas le destinataire prévu, toute divulgation, 
duplication, utilisation ou distribution du courrier ou de toute pièce jointe 
est interdite. Si vous avez reçu cette communication par erreur, veuillez nous 
en aviser par courrier et détruire immédiatement le courrier et les pièces 
jointes. Merci. 
**
---


--
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


How to increase swap V-disk sizes

2008-07-29 Thread Smith, Ann (ISD, IT)
I have a SLES10 server that is running a java app using tomcat5 and is
hitting out of memory conditions.
I bumped up the virtual storage in the VM directory and found the out of
memory problem went away.
Now I want to bump the virtual storage back down but instead increase
the size of the V-disks being used for SWAP. I saw that this server had
4 V-DISK MDISK statements. I increased each of the 4 minidisks from
20 blks to 60 blks:
 MDISK 0293 FB-512 V-DISK 60 MR LINUX SWAPAREA DASDDA
 MDISK 050D FB-512 V-DISK 60 MR LINUX SWAPAREA DASDDA
 MDISK 050C FB-512 V-DISK 60 MR LINUX SWAPAREA DASDDA
 MDISK 050B FB-512 V-DISK 60 MR LINUX SWAPAREA DASDDA
I also found the swap disks get formatted in the PROFILE EXEC:
For example:
queue '1'
queue 'LXSWAP'
'FORMAT 293 E ( BLK 512 '
if rc  0 then exit rc
I rebooted the server (test server that I can reboot as needed).
cat /proc/dasd/devices does show the size increase
For example:
0.0.050b(FBA ) at ( 94:   228) is dasdbf  : active at blocksize:
512, 60 blocks, 292 MB

What do I need to do on the SLES10 server to get it to use the V-DISK's
for swap and is there a command to query swap in use? 




Ann  Smith
Mainframe Systems Support -zVM and zLinux Support
Integrated Technology Delivery
IBM Global Service Integrated Operations At The Hartford 
Work phone: 860-547-6110
Pager: 800-204-6367
Email: mailto:[EMAIL PROTECTED]





*
This communication, including attachments, is
for the exclusive use of addressee and may contain proprietary,
confidential and/or privileged information.  If you are not the intended
recipient, any use, copying, disclosure, dissemination or distribution is
strictly prohibited.  If you are not the intended recipient, please notify
the sender immediately by return e-mail, delete this communication and
destroy all copies.
*


--
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


Re: How to increase swap V-disk sizes

2008-07-29 Thread Scott Rohling
What about  free -m  -- does it show swapped being used?  I've only used
swapon -s to see what devices are there and their priority...  So I'm not
sure of the accuracy of that 'Used' number -- would just want to compare
with free -m results...

Scott

On Tue, Jul 29, 2008 at 3:47 PM, Smith, Ann (ISD, IT) 
[EMAIL PROTECTED] wrote:

 Response from swapon -s

 swapon -s
 FilenameTypeSizeUsed
 Priority
 /dev/dasdb1 partition   297492  0
 42
 /dev/dasdbh1partition   297492  0
 42
 /dev/dasdbg1partition   297492  0
 42
 /dev/dasdbf1partition   297492  0
 42

 I'm a bit concerned that Used shows 0.
 The size looks good.
 Bottom line is I increased the swap disks substantially so that I could
 decrease the virtual storage (from 512M down to 128M). But according to
 the tomcat logs the out of memory problem is back.



 -Original Message-
 From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
 Scott Rohling
 Sent: Tuesday, July 29, 2008 5:36 PM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: How to increase swap V-disk sizes

 Then there's nothing you should need to do but restart the server.. see
 my previous post if you're trying to do it dynamically without
 restarting..

 Do the swapon -s  to determine what swap disks are being used..

 Scott

 On Tue, Jul 29, 2008 at 3:33 PM, Smith, Ann (ISD, IT) 
 [EMAIL PROTECTED] wrote:

  Yes. I think the server had swap disks. I just want to increase the
  size of the V-disks. I increased them as far as VM is concerned.
 
  -Original Message-
  From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
  Scott Rohling
  Sent: Tuesday, July 29, 2008 5:28 PM
  To: LINUX-390@VM.MARIST.EDU
  Subject: Re: How to increase swap V-disk sizes
 
  A little confused because you seem to be indicating the swap disks are

  used, but are asking how to get Linux to use them?
 
  Anyway --  your swap disks are probably defined in /etc/fstab - so
  check there to ensure they are all mounted as swap.  If you've added
  any disks, add the appropriate line to the fstab.
 
  To see what's in use:  swapon -s
 
  Hope that helps..
 
  Scott Rohling
 
  On Tue, Jul 29, 2008 at 3:19 PM, Smith, Ann (ISD, IT) 
  [EMAIL PROTECTED] wrote:
 
   I have a SLES10 server that is running a java app using tomcat5 and
   is
 
   hitting out of memory conditions.
   I bumped up the virtual storage in the VM directory and found the
   out of memory problem went away.
   Now I want to bump the virtual storage back down but instead
   increase the size of the V-disks being used for SWAP. I saw that
   this server had
   4 V-DISK MDISK statements. I increased each of the 4 minidisks from
   20 blks to 60 blks:
MDISK 0293 FB-512 V-DISK 60 MR LINUX SWAPAREA DASDDA  MDISK
   050D
   FB-512 V-DISK 60 MR LINUX SWAPAREA DASDDA  MDISK 050C FB-512
   V-DISK 60 MR LINUX SWAPAREA DASDDA  MDISK 050B FB-512 V-DISK
   60 MR LINUX SWAPAREA DASDDA I also found the swap disks get
   formatted in the PROFILE EXEC:
   For example:
   queue '1'
   queue 'LXSWAP'
   'FORMAT 293 E ( BLK 512 '
   if rc  0 then exit rc
   I rebooted the server (test server that I can reboot as needed).
   cat /proc/dasd/devices does show the size increase For example:
   0.0.050b(FBA ) at ( 94:   228) is dasdbf  : active at blocksize:
   512, 60 blocks, 292 MB
  
   What do I need to do on the SLES10 server to get it to use the
   V-DISK's for swap and is there a command to query swap in use?
  
  
  
  
   Ann  Smith
   Mainframe Systems Support -zVM and zLinux Support Integrated
   Technology Delivery IBM Global Service Integrated Operations At The
   Hartford Work phone: 860-547-6110
   Pager: 800-204-6367
   Email: mailto:[EMAIL PROTECTED]
  
  
  
  
  
   
   **
   *** This communication, including attachments, is for the exclusive
   use of addressee and may contain proprietary, confidential and/or
   privileged information.  If you are not the intended recipient, any
   use, copying, disclosure, dissemination or distribution is strictly
   prohibited.  If you are not the intended recipient, please notify
   the sender immediately by return e-mail, delete this communication
   and destroy all copies.
   
   **
   ***
  
  
   
   -- 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
  
 
  --
  For LINUX-390 subscribe / signoff / archive access instructions, send
  email to [EMAIL PROTECTED] with the 

Re: How to increase swap V-disk sizes

2008-07-29 Thread Smith, Ann (ISD, IT)
 free -m
 total   used   free sharedbuffers
cached
Mem:   493486  6  0 30
83
-/+ buffers/cache:373119
Swap: 1162  0   1162

So 'free -m' seems to show the size increase took effect. But again 0
used. 

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Scott Rohling
Sent: Tuesday, July 29, 2008 5:55 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: How to increase swap V-disk sizes

What about  free -m  -- does it show swapped being used?  I've only
used swapon -s to see what devices are there and their priority...  So
I'm not sure of the accuracy of that 'Used' number -- would just want to
compare with free -m results...

Scott

On Tue, Jul 29, 2008 at 3:47 PM, Smith, Ann (ISD, IT) 
[EMAIL PROTECTED] wrote:

 Response from swapon -s

 swapon -s
 FilenameTypeSizeUsed
 Priority
 /dev/dasdb1 partition   297492  0
 42
 /dev/dasdbh1partition   297492  0
 42
 /dev/dasdbg1partition   297492  0
 42
 /dev/dasdbf1partition   297492  0
 42

 I'm a bit concerned that Used shows 0.
 The size looks good.
 Bottom line is I increased the swap disks substantially so that I 
 could decrease the virtual storage (from 512M down to 128M). But 
 according to the tomcat logs the out of memory problem is back.



 -Original Message-
 From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of 
 Scott Rohling
 Sent: Tuesday, July 29, 2008 5:36 PM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: How to increase swap V-disk sizes

 Then there's nothing you should need to do but restart the server.. 
 see my previous post if you're trying to do it dynamically without 
 restarting..

 Do the swapon -s  to determine what swap disks are being used..

 Scott

 On Tue, Jul 29, 2008 at 3:33 PM, Smith, Ann (ISD, IT)  
 [EMAIL PROTECTED] wrote:

  Yes. I think the server had swap disks. I just want to increase the 
  size of the V-disks. I increased them as far as VM is concerned.
 
  -Original Message-
  From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf 
  Of Scott Rohling
  Sent: Tuesday, July 29, 2008 5:28 PM
  To: LINUX-390@VM.MARIST.EDU
  Subject: Re: How to increase swap V-disk sizes
 
  A little confused because you seem to be indicating the swap disks 
  are

  used, but are asking how to get Linux to use them?
 
  Anyway --  your swap disks are probably defined in /etc/fstab - so 
  check there to ensure they are all mounted as swap.  If you've added

  any disks, add the appropriate line to the fstab.
 
  To see what's in use:  swapon -s
 
  Hope that helps..
 
  Scott Rohling
 
  On Tue, Jul 29, 2008 at 3:19 PM, Smith, Ann (ISD, IT)  
  [EMAIL PROTECTED] wrote:
 
   I have a SLES10 server that is running a java app using tomcat5 
   and is
 
   hitting out of memory conditions.
   I bumped up the virtual storage in the VM directory and found the 
   out of memory problem went away.
   Now I want to bump the virtual storage back down but instead 
   increase the size of the V-disks being used for SWAP. I saw that 
   this server had
   4 V-DISK MDISK statements. I increased each of the 4 minidisks 
   from 20 blks to 60 blks:
MDISK 0293 FB-512 V-DISK 60 MR LINUX SWAPAREA DASDDA  MDISK 
   050D
   FB-512 V-DISK 60 MR LINUX SWAPAREA DASDDA  MDISK 050C FB-512 
   V-DISK 60 MR LINUX SWAPAREA DASDDA  MDISK 050B FB-512 V-DISK 
   60 MR LINUX SWAPAREA DASDDA I also found the swap disks get 
   formatted in the PROFILE EXEC:
   For example:
   queue '1'
   queue 'LXSWAP'
   'FORMAT 293 E ( BLK 512 '
   if rc  0 then exit rc
   I rebooted the server (test server that I can reboot as needed).
   cat /proc/dasd/devices does show the size increase For example:
   0.0.050b(FBA ) at ( 94:   228) is dasdbf  : active at
blocksize:
   512, 60 blocks, 292 MB
  
   What do I need to do on the SLES10 server to get it to use the 
   V-DISK's for swap and is there a command to query swap in use?
  
  
  
  
   Ann  Smith
   Mainframe Systems Support -zVM and zLinux Support Integrated 
   Technology Delivery IBM Global Service Integrated Operations At 
   The Hartford Work phone: 860-547-6110
   Pager: 800-204-6367
   Email: mailto:[EMAIL PROTECTED]
  
  
  
  
  
   **
   **
   **
   *** This communication, including attachments, is for the 
   exclusive use of addressee and may contain proprietary, 
   confidential and/or privileged information.  If you are not the 
   intended recipient, any use, copying, disclosure, dissemination or

   distribution is strictly prohibited.  If you are not the intended 
   recipient, please notify the sender immediately by return e-mail, 
   delete this communication and destroy all 

Re: How to increase swap V-disk sizes

2008-07-29 Thread Scott Rohling
hmm.. I just tried this on my Linux workstation and the numbers are pretty
close between free -m and swapon -s.

Could it be that something is attempting to load into memory that can't be
swapped out and really needs more than 128M?Maybe try 256M and see how
it goes?

Others here probably have more knowledge of Linux memory management and what
conditions are going to result in an out of memory w/o hitting swap...

Scott

On Tue, Jul 29, 2008 at 3:54 PM, Scott Rohling [EMAIL PROTECTED]wrote:

 What about  free -m  -- does it show swapped being used?  I've only used
 swapon -s to see what devices are there and their priority...  So I'm not
 sure of the accuracy of that 'Used' number -- would just want to compare
 with free -m results...

 Scott


 On Tue, Jul 29, 2008 at 3:47 PM, Smith, Ann (ISD, IT) 
 [EMAIL PROTECTED] wrote:

 Response from swapon -s

 swapon -s
 FilenameTypeSizeUsed
 Priority
 /dev/dasdb1 partition   297492  0
 42
 /dev/dasdbh1partition   297492  0
 42
 /dev/dasdbg1partition   297492  0
 42
 /dev/dasdbf1partition   297492  0
 42

 I'm a bit concerned that Used shows 0.
 The size looks good.
 Bottom line is I increased the swap disks substantially so that I could
 decrease the virtual storage (from 512M down to 128M). But according to
 the tomcat logs the out of memory problem is back.



 -Original Message-
 From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
 Scott Rohling
 Sent: Tuesday, July 29, 2008 5:36 PM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: How to increase swap V-disk sizes

 Then there's nothing you should need to do but restart the server.. see
 my previous post if you're trying to do it dynamically without
 restarting..

 Do the swapon -s  to determine what swap disks are being used..

 Scott

 On Tue, Jul 29, 2008 at 3:33 PM, Smith, Ann (ISD, IT) 
 [EMAIL PROTECTED] wrote:

  Yes. I think the server had swap disks. I just want to increase the
  size of the V-disks. I increased them as far as VM is concerned.
 
  -Original Message-
  From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
  Scott Rohling
  Sent: Tuesday, July 29, 2008 5:28 PM
  To: LINUX-390@VM.MARIST.EDU
  Subject: Re: How to increase swap V-disk sizes
 
  A little confused because you seem to be indicating the swap disks are

  used, but are asking how to get Linux to use them?
 
  Anyway --  your swap disks are probably defined in /etc/fstab - so
  check there to ensure they are all mounted as swap.  If you've added
  any disks, add the appropriate line to the fstab.
 
  To see what's in use:  swapon -s
 
  Hope that helps..
 
  Scott Rohling
 
  On Tue, Jul 29, 2008 at 3:19 PM, Smith, Ann (ISD, IT) 
  [EMAIL PROTECTED] wrote:
 
   I have a SLES10 server that is running a java app using tomcat5 and
   is
 
   hitting out of memory conditions.
   I bumped up the virtual storage in the VM directory and found the
   out of memory problem went away.
   Now I want to bump the virtual storage back down but instead
   increase the size of the V-disks being used for SWAP. I saw that
   this server had
   4 V-DISK MDISK statements. I increased each of the 4 minidisks from
   20 blks to 60 blks:
MDISK 0293 FB-512 V-DISK 60 MR LINUX SWAPAREA DASDDA  MDISK
   050D
   FB-512 V-DISK 60 MR LINUX SWAPAREA DASDDA  MDISK 050C FB-512
   V-DISK 60 MR LINUX SWAPAREA DASDDA  MDISK 050B FB-512 V-DISK
   60 MR LINUX SWAPAREA DASDDA I also found the swap disks get
   formatted in the PROFILE EXEC:
   For example:
   queue '1'
   queue 'LXSWAP'
   'FORMAT 293 E ( BLK 512 '
   if rc  0 then exit rc
   I rebooted the server (test server that I can reboot as needed).
   cat /proc/dasd/devices does show the size increase For example:
   0.0.050b(FBA ) at ( 94:   228) is dasdbf  : active at blocksize:
   512, 60 blocks, 292 MB
  
   What do I need to do on the SLES10 server to get it to use the
   V-DISK's for swap and is there a command to query swap in use?
  
  
  
  
   Ann  Smith
   Mainframe Systems Support -zVM and zLinux Support Integrated
   Technology Delivery IBM Global Service Integrated Operations At The
   Hartford Work phone: 860-547-6110
   Pager: 800-204-6367
   Email: mailto:[EMAIL PROTECTED]
  
  
  
  
  
   
   **
   *** This communication, including attachments, is for the exclusive
   use of addressee and may contain proprietary, confidential and/or
   privileged information.  If you are not the intended recipient, any
   use, copying, disclosure, dissemination or distribution is strictly
   prohibited.  If you are not the intended recipient, please notify
   the sender immediately by return e-mail, delete this communication
   and destroy all copies.
   

Re: How to increase swap V-disk sizes

2008-07-29 Thread Smith, Ann (ISD, IT)
I am going to bump it's storage back up before I go home. 

Interestingly enough - although I see swap being used on other servers I
do not see it used on the servers running this particular application.
But I was using vmstat while the customer created the problem and I
swear I saw swapping.  I'll try again tomorrow. At least the problem is
easily created.

The problem occurs when a customer tries to convert a large report over
on the zOS side to an EXCEL spreadsheet which gets saved on their PC.
The vendor product runs on zOS and the thin client is running on linux.
Smaller reports can be converted to EXCEL successfully and saved to the
PC.
When successful they receive a Windows prompt to save the file to disk
or open it. The good news is with SLES10 and tomcat5 the customer whose
download fails no longer hangs up tomcat. 

Thank you for your help. This is driving me crazy. A short trip :)
 
-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Scott Rohling
Sent: Tuesday, July 29, 2008 6:01 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: How to increase swap V-disk sizes

hmm.. I just tried this on my Linux workstation and the numbers are
pretty close between free -m and swapon -s.

Could it be that something is attempting to load into memory that can't
be
swapped out and really needs more than 128M?Maybe try 256M and see
how
it goes?

Others here probably have more knowledge of Linux memory management and
what conditions are going to result in an out of memory w/o hitting
swap...

Scott

On Tue, Jul 29, 2008 at 3:54 PM, Scott Rohling
[EMAIL PROTECTED]wrote:

 What about  free -m  -- does it show swapped being used?  I've only 
 used swapon -s to see what devices are there and their priority...  So

 I'm not sure of the accuracy of that 'Used' number -- would just want 
 to compare with free -m results...

 Scott


 On Tue, Jul 29, 2008 at 3:47 PM, Smith, Ann (ISD, IT)  
 [EMAIL PROTECTED] wrote:

 Response from swapon -s

 swapon -s
 FilenameTypeSizeUsed
 Priority
 /dev/dasdb1 partition   297492  0
 42
 /dev/dasdbh1partition   297492  0
 42
 /dev/dasdbg1partition   297492  0
 42
 /dev/dasdbf1partition   297492  0
 42

 I'm a bit concerned that Used shows 0.
 The size looks good.
 Bottom line is I increased the swap disks substantially so that I 
 could decrease the virtual storage (from 512M down to 128M). But 
 according to the tomcat logs the out of memory problem is back.



 -Original Message-
 From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of

 Scott Rohling
 Sent: Tuesday, July 29, 2008 5:36 PM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: How to increase swap V-disk sizes

 Then there's nothing you should need to do but restart the server.. 
 see my previous post if you're trying to do it dynamically without 
 restarting..

 Do the swapon -s  to determine what swap disks are being used..

 Scott

 On Tue, Jul 29, 2008 at 3:33 PM, Smith, Ann (ISD, IT)  
 [EMAIL PROTECTED] wrote:

  Yes. I think the server had swap disks. I just want to increase the

  size of the V-disks. I increased them as far as VM is concerned.
 
  -Original Message-
  From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf 
  Of Scott Rohling
  Sent: Tuesday, July 29, 2008 5:28 PM
  To: LINUX-390@VM.MARIST.EDU
  Subject: Re: How to increase swap V-disk sizes
 
  A little confused because you seem to be indicating the swap disks 
  are

  used, but are asking how to get Linux to use them?
 
  Anyway --  your swap disks are probably defined in /etc/fstab - so 
  check there to ensure they are all mounted as swap.  If you've 
  added any disks, add the appropriate line to the fstab.
 
  To see what's in use:  swapon -s
 
  Hope that helps..
 
  Scott Rohling
 
  On Tue, Jul 29, 2008 at 3:19 PM, Smith, Ann (ISD, IT)  
  [EMAIL PROTECTED] wrote:
 
   I have a SLES10 server that is running a java app using tomcat5 
   and is
 
   hitting out of memory conditions.
   I bumped up the virtual storage in the VM directory and found the

   out of memory problem went away.
   Now I want to bump the virtual storage back down but instead 
   increase the size of the V-disks being used for SWAP. I saw that 
   this server had
   4 V-DISK MDISK statements. I increased each of the 4 minidisks 
   from 20 blks to 60 blks:
MDISK 0293 FB-512 V-DISK 60 MR LINUX SWAPAREA DASDDA  MDISK 
   050D
   FB-512 V-DISK 60 MR LINUX SWAPAREA DASDDA  MDISK 050C FB-512 
   V-DISK 60 MR LINUX SWAPAREA DASDDA  MDISK 050B FB-512 V-DISK 
   60 MR LINUX SWAPAREA DASDDA I also found the swap disks get 
   formatted in the PROFILE EXEC:
   For example:
   queue '1'
   queue 'LXSWAP'
   'FORMAT 293 E ( BLK 512 '
   if rc  0 then exit rc
   I rebooted the server (test server that I can reboot as 

Re: Message in my Linux guest

2008-07-29 Thread Martin, Terry R. (CMS/CTR) (CTR)
Whoops yes it should be R.

Thanks, Terry

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Evans, Kevin R
Sent: Tuesday, July 29, 2008 6:13 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Message in my Linux guest

Is your email signature supposed to be (missing an r?):

[EMAIL PROTECTED]

Regards,

Kevin

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Martin, Terry R. (CMS/CTR) (CTR)
Sent: Monday, July 28, 2008 6:52 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Message in my Linux guest

Thanks!

Thank You,

Terry Martin
Lockheed Martin - Information Technology
z/OS  z/VM Systems - Performance and Tuning
Cell - 443 632-4191
Work - 410 786-0386
[EMAIL PROTECTED]

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Shawn Wells
Sent: Monday, July 28, 2008 5:31 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Message in my Linux guest

Martin, Terry R. (CMS/CTR) (CTR) wrote:
 Hi


 From the output out of my Linux guest can does this look like a MEMORY
 problem or not enough SWAP problem? I highlighted in RED two of the
 statements. Since I am rather new at all of this I am not sure what to
 make of this.


Hi Terry,

My guess is out of memory.  Details:

 Jul 27 23:32:57 e49l021v kernel: oom-killer: gfp_mask=0x1d2


It is the job of the linux 'oom killer' to sacrifice one or more
processes in order to free up memory for the system when all else fails.
It will also kill any process sharing the same mm_struct as the selected
process, for obvious reasons. Any particular process leader may be
immunized against the oom killer if the value of it's /proc/pid/oomadj
is set to the constant OOM_DISABLE.

Reference http://linux-mm.org/OOM_Killer, it shows you both the process
and sections of code.

Without seeing the output of top or vmstat, my guess is that you have an
application that is sucking up ALL resources on your system.  The kernel
is essentially protecting itself by killing that process, and issuing
the error messages.  This is backed up by messages in your output:


 Jul 27 23:33:00 e49l021v kernel: Normal: empty
 Jul 27 23:33:00 e49l021v kernel: HighMem: empty

 Jul 27 23:33:00 e49l021v kernel: Swap cache: add 184153, delete 184157
 ,find 56852/73080, race 0+5

 Jul 27 23:33:00 e49l021v kernel: Free swap:0kB




 fdbk=9  msgid=APSM011E  stext=License file will expire in 9 day(s),

 08-06-2008 HALT .


Also, looks like you guys might want to look into licensing whatever
this is ;)



--
Shawn D. Wells
Global Solutions Architect
Lead, Linux on System z


--
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

--
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

--
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

--
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


Re: How to increase swap V-disk sizes

2008-07-29 Thread Doug Carroll
in your original email i saw you formatted the V-DISK using using the CMS
FORMAT command
I do not see on your linux side where you create a swap partiition on these
devices.
i.e.  mkswap /dev/dasdb and so on

the CMS Format does not write a SWAP signature onto the V-DISK.

we use the swapgen util to prep them at the CMS level so you don't have to
modify the init processing on the linux side to bring them online
you might want to look for where your doing the mkswap on linux or use
swapgen on vm



William 'Doug' Carroll
Mainframe Systems Eng Sr I
Global Technology Infrastructure
ECS Virtualization Technology


Office: (614) 213-4954
Pager: 8773282157
Cell:  (614) 209-0649
Fax: (614) 244-9897
Home Fax: (866) 543-9156
http://www.jpmchase.com






 Smith, Ann (ISD,
 IT)
 [EMAIL PROTECTED]  To
 tford.comLINUX-390@VM.MARIST.EDU
 Sent by: Linux on  cc
 390 Port
 [EMAIL PROTECTED] Subject
 IST.EDU  Re: How to increase swap V-disk
   sizes

 07/29/2008 06:25
 PM


 Please respond to
 Linux on 390 Port
 [EMAIL PROTECTED]
 IST.EDU






I am going to bump it's storage back up before I go home.

Interestingly enough - although I see swap being used on other servers I
do not see it used on the servers running this particular application.
But I was using vmstat while the customer created the problem and I
swear I saw swapping.  I'll try again tomorrow. At least the problem is
easily created.

The problem occurs when a customer tries to convert a large report over
on the zOS side to an EXCEL spreadsheet which gets saved on their PC.
The vendor product runs on zOS and the thin client is running on linux.
Smaller reports can be converted to EXCEL successfully and saved to the
PC.
When successful they receive a Windows prompt to save the file to disk
or open it. The good news is with SLES10 and tomcat5 the customer whose
download fails no longer hangs up tomcat.

Thank you for your help. This is driving me crazy. A short trip :)

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Scott Rohling
Sent: Tuesday, July 29, 2008 6:01 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: How to increase swap V-disk sizes

hmm.. I just tried this on my Linux workstation and the numbers are
pretty close between free -m and swapon -s.

Could it be that something is attempting to load into memory that can't
be
swapped out and really needs more than 128M?Maybe try 256M and see
how
it goes?

Others here probably have more knowledge of Linux memory management and
what conditions are going to result in an out of memory w/o hitting
swap...

Scott

On Tue, Jul 29, 2008 at 3:54 PM, Scott Rohling
[EMAIL PROTECTED]wrote:

 What about  free -m  -- does it show swapped being used?  I've only
 used swapon -s to see what devices are there and their priority...  So

 I'm not sure of the accuracy of that 'Used' number -- would just want
 to compare with free -m results...

 Scott


 On Tue, Jul 29, 2008 at 3:47 PM, Smith, Ann (ISD, IT) 
 [EMAIL PROTECTED] wrote:

 Response from swapon -s

 swapon -s
 FilenameTypeSizeUsed
 Priority
 /dev/dasdb1 partition   297492  0
 42
 /dev/dasdbh1partition   297492  0
 42
 /dev/dasdbg1partition   297492  0
 42
 /dev/dasdbf1partition   297492  0
 42

 I'm a bit concerned that Used shows 0.
 The size looks good.
 Bottom line is I increased the swap disks substantially so that I
 could decrease the virtual storage (from 512M down to 128M). But
 according to the tomcat logs the out of memory problem is back.



 -Original Message-
 From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of

 Scott Rohling
 Sent: Tuesday, July 29, 2008 5:36 PM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: How to increase swap V-disk sizes

 Then there's nothing you should need to do but restart the server..
 see my previous post if you're trying to do it dynamically without
 restarting..

 Do the swapon -s  to determine what swap disks are being used..

 Scott

 On Tue, Jul 29, 2008 at 3:33 PM, Smith, Ann (ISD, IT) 
 [EMAIL PROTECTED] wrote:

  Yes. I think the server had swap disks. I just want to increase the

  size of the V-disks. I increased them as far as VM is concerned.
 
  -Original Message-
  From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf
  Of Scott Rohling
  Sent: Tuesday, July 29, 2008 5:28 PM
  To: LINUX-390@VM.MARIST.EDU
  Subject: Re: How to increase swap V-disk sizes
 
  A little confused because you seem to be indicating the swap 

Re: RHEL 4.7 now available

2008-07-29 Thread Doug Carroll
RHEL4 is still a fully support product from Redhat and as such still
recieves new features and such
RHEL4 will be going into Production 2 status here soon (around 1st of the
year i think)  at that time it will go into maintenance only or Production
2 support status
and will no long receive new features but will continue receiving bug fixes
etc..

So from Redhat POV, this is completely normal to see these releases


William 'Doug' Carroll
Mainframe Systems Eng Sr I
Global Technology Infrastructure
ECS Virtualization Technology


Office: (614) 213-4954
Pager: 8773282157
Cell:  (614) 209-0649
Fax: (614) 244-9897
Home Fax: (866) 543-9156
http://www.jpmchase.com






 Chase, John
 [EMAIL PROTECTED]
   To
 Sent by: Linux on LINUX-390@VM.MARIST.EDU
 390 Port   cc
 [EMAIL PROTECTED]
 IST.EDU  Subject
   Re: RHEL 4.7 now available

 07/25/2008 08:42
 AM


 Please respond to
 Linux on 390 Port
 [EMAIL PROTECTED]
 IST.EDU






 -Original Message-
 From: Linux on 390 Port On Behalf Of Brad Hinson

 Copy/paste from announcement today.  Summary of System z
 relevant changes below:
 --

 Red Hat is pleased to announce the availability of 4.7
 (kernel-2.6.9-78.EL) for the Red Hat Enterprise Linux 4
 family of products.

Seems unusual for a _release_ upgrade to be announced for a prior
version (relatively) long after a newer _version_ has been generally
available (how long has RHEL 5.x been out?).

-jc-

--
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


-
This communication is for informational purposes only. It is not
intended as an offer or solicitation for the purchase or sale of
any financial instrument or as an official confirmation of any
transaction. All market prices, data and other information are not
warranted as to completeness or accuracy and are subject to change
without notice. Any comments or statements made herein do not
necessarily reflect those of JPMorgan Chase  Co., its subsidiaries
and affiliates.

This transmission may contain information that is privileged,
confidential, legally privileged, and/or exempt from disclosure
under applicable law. If you are not the intended recipient, you
are hereby notified that any disclosure, copying, distribution, or
use of the information contained herein (including any reliance
thereon) is STRICTLY PROHIBITED. Although this transmission and any
attachments are believed to be free of any virus or other defect
that might affect any computer system into which it is received and
opened, it is the responsibility of the recipient to ensure that it
is virus free and no responsibility is accepted by JPMorgan Chase 
Co., its subsidiaries and affiliates, as applicable, for any loss
or damage arising in any way from its use. If you received this
transmission in error, please immediately contact the sender and
destroy the material in its entirety, whether in electronic or hard
copy format. Thank you.

Please refer to http://www.jpmorgan.com/pages/disclosures for
disclosures relating to UK legal entities.

--
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


Re: How to increase swap V-disk sizes

2008-07-29 Thread Mark Post
 On Tue, Jul 29, 2008 at  5:47 PM, in message
[EMAIL PROTECTED], Smith, Ann
(ISD, IT) [EMAIL PROTECTED] wrote: 
-snip-
 Bottom line is I increased the swap disks substantially so that I could
 decrease the virtual storage (from 512M down to 128M). But according to
 the tomcat logs the out of memory problem is back.

Seeing the messages from the error log might be helpful.  As well as if there 
is any indication in /var/log/messages or in the output of the dmesg command 
that the kernel out-of-memory killer is kicking in at any point.  The total 
absence of any pages being used on your swap device leads me to believe it's 
not a Linux/kernel memory problem, but rather something in the Tomcat server 
itself.

On a totally unrelated note, the method you're using to format your VDISKs is 
not terribly optimal.  You would be better off using the SWAPGEN EXEC from Sine 
Nomine Associate's web site.


Mark Post

--
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


Re: How to increase swap V-disk sizes

2008-07-29 Thread Mark Post
 On Tue, Jul 29, 2008 at  8:12 PM, in message
[EMAIL PROTECTED], Doug
Carroll [EMAIL PROTECTED] wrote: 
 in your original email i saw you formatted the V-DISK using using the CMS
 FORMAT command
 I do not see on your linux side where you create a swap partiition on these
 devices.
 i.e.  mkswap /dev/dasdb and so on
 
 the CMS Format does not write a SWAP signature onto the V-DISK.

The fact that swapon -s shows them as being active paging devices shows that 
at some point, a valid swap signature is being written on them.  I would guess 
that one of the init scripts has been used to do that.  That was fairly common 
before SWAPGEN came along.


Mark Post

--
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