Re: [OT] Oracle memory leak debugging

2013-05-29 Thread Damian Gallagher
Well, we normally do this through an SR, as it generally requires the use of 
some internal technology which needs a support contract underpinning it. If you 
don't have a support contract/My Oracle Support account, contact me off list 
and I'll discuss what we can do. If you do, open an SR and let me know the SR 
number.

The trace you have is a SQL*NET trace, which traces the interactions over the 
network. It's as much use as a chocolate teapot for what you're looking for :-)

Cheers
Damian 

-Original Message-
From: Neale Ferguson [mailto:ne...@sinenomine.net] 
Sent: 29 May 2013 01:37
To: LINUX-390@vm.marist.edu
Subject: [OT] Oracle memory leak debugging

I am trying to determine why an Oracle app is using a lot of storage (and 
growing and growing). I am not sure if it¹s application related or not.
Initially I saw lots of OCIParamGet() calls with no corresponding
OCIDescriptorFree() calls. However, after correcting this there was no respite 
from memory consumption.

Looking at the memory contents as the app runs to see what's in the new areas 
allocated I see lots of Alloc statemen eye-catchers. Statement handles are 
being created OCIHandleAlloc() and freed via OCIHandleFree() without error.

This is Oracle 10g. Creating .sqlnet.ora with the following provides a lot of 
data but sheds no light:

trace_level_client=16
trace_file_client=cli
trace_directory_client=/tmp/oci
trace_unique_client=true
trace_timestamp_client=ON

I'd really like to find out why Oracle believes the area cannot be freed.

A similar app runs on Windows without a problem so I'd like some way of tracing 
all the OCI calls being made in both environments and compare them to see what 
magic incantation may be missing.

Neale

--
For LINUX-390 subscribe / signoff / archive access instructions, send email to 
lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit http://wiki.linuxvm.org/

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Only 3 (THREE) business days left to Register for the VM Workshop to get a polo shirt, dorm room, and parking pass.

2013-05-29 Thread Mike Walter
Cross-posted to the IBMVM, Linux-390, and IBM-MAIN discussion lists.

The registration deadline is set hard and fast as the end of day May 31, 2013 
due to Indiana University - Purdue University Indianapolis (IUPUI) deadlines.  
For all registrations made before June 1:

* dorm room reservation requests, and parking passes will be processed,

* attendees will receive a 2013 VM Workshop polo shirt at the 
Registration table,

* attendees will receive a $65 JagTag Debit Card for food purchases in 
the Campus Center food court at the Registration table.

Online attendee registrations will be accepted after May 31, but not for dorm 
room reservations, parking passes, nor 2013 VM Workshop Polo shirts.

Onsite attendee registrations will be accepted by credit card, check, and cash, 
but again not for dorm room reservations, parking passes, nor 2013 VM Workshop 
Polo shirts.  Additionally, availability of $65 JagTag food court debit cards 
for onsite registrees will be delayed until those can be purchased and 
distributed manually.

Don't delay!  Besides, the two 2-part Hands-on Labs are expected to reach their 
maximum capacity of 30 each rather quickly.

Why attend?  Well...

* the 2013 VM Workshop registration fee is still only $100, and

* BRAND NEW double occupancy dorm rooms (pics at: 
http://www.vmworkshop.org/2013/housing) can be reserved before June 1 as a 
3-night package for $150 (additional nights at $50 each), and

* reduced rate Parking passes may be purchased for $20 before June 1, 
and

* a 2013 VM Workshop polo shirt is included for registrations made 
before June 1, and

* a lavish Thursday evening reception and dinner is included, and

* a $65 IUPUI debit card for meals in the Campus Center is included, and

* excellent technical sessions, and the same IBM-provided Hands-on Labs 
as presented at the 'bigger' conferences, and

* the famous VM Workshop Ugly Hawaiian Shirt Contest is included 
(BYOUHS), and

* famous and infamous speakers delivering up-to-date technical sessions 
on z/VM and Linux on System z topics
all centrally located on the IUPUI campus in downtown Indianapolis, Indiana.

All session slots are now 100% full.  There have been rumors of a few late 
sessions, so some of those below might be replaced by newer sessions of more 
general appeal, and/or... session times adjusted.

You may view each speaker's  full session descriptions by visiting the current 
session agenda and schedule at: http://www.vmworkshop.org/2013/agenda

To learn more about the 2013 VM Workshop, visit:  http://www.vmworkshop.org/2013
You can review all public information at that URL, but to register you'll first 
need to request a VM Workshop ID (used only to minimize spambot attacks on the 
web site).  Once you have been manually granted an ID by an admin, you may 
register for, and pay for (via Paypal) your purchases.

Note: There are only 15 IBM-provided Hands-on lab laptops at each of the 
non-concurrent 'z/VM Install  Config',  and 'Linux on System z Install  
Config' labs.  Once you have received a workshop ID, you may reserve a seat at 
one and/or the other labs (maximum attendee reservations for each lab = 30).

Best regards,

Mike Walter
On behalf of the 2013 VM Workshop Volunteer Committee


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Anyone running z/Linux natively and not under z/VM?

2013-05-29 Thread David L. Craig
On 13May28:2000+, Pesce, Andy wrote:

 Just a curiosity question:
 Is anyone running Red Hat or SUSE natively in its own LPAR without having 
 z/VM?
 I know that under z/VM you can run multiple LINUX images.  It is also very 
 easy
 to clone systems.  However, just wondering if there are clients out there that
 only want to run one LINUX system.  So, they are not spending the money to
 get z/VM and installing it.  Any response would be appreciated.

IIRC, zLinux kernels run with DAT off; indeed, BC, whether real
or virtual.  Am I remembering correctly, and if so, is this
still the state of the art?  And if it is still so, why isn't
anybody playing with it--is it just not worth the effort?
--
not cent from sell
May the LORD God bless you exceedingly abundantly!

Dave_Craig__
So the universe is not quite as you thought it was.
 You'd better rearrange your beliefs, then.
 Because you certainly can't rearrange the universe.
__--from_Nightfall_by_Asimov/Silverberg_

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Anyone running z/Linux natively and not under z/VM?

2013-05-29 Thread David Kreuter
It runs full on dat ON.
David Kreuter

 Original message 
From: David L. Craig d...@radix.net 
Date:  
To: LINUX-390@VM.MARIST.EDU 
Subject: Re: Anyone running z/Linux natively and not under z/VM? 
 
On 13May28:2000+, Pesce, Andy wrote:

 Just a curiosity question:
 Is anyone running Red Hat or SUSE natively in its own LPAR without having 
 z/VM?
 I know that under z/VM you can run multiple LINUX images.  It is also very 
 easy
 to clone systems.  However, just wondering if there are clients out there that
 only want to run one LINUX system.  So, they are not spending the money to
 get z/VM and installing it.  Any response would be appreciated.

IIRC, zLinux kernels run with DAT off; indeed, BC, whether real
or virtual.  Am I remembering correctly, and if so, is this
still the state of the art?  And if it is still so, why isn't
anybody playing with it--is it just not worth the effort?
--
not cent from sell
May the LORD God bless you exceedingly abundantly!

Dave_Craig__
So the universe is not quite as you thought it was.
You'd better rearrange your beliefs, then.
Because you certainly can't rearrange the universe.
__--from_Nightfall_by_Asimov/Silverberg_

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Setting kernel parms for RHEL6

2013-05-29 Thread Bauer, Bobby (NIH/CIT) [E]
Trying to setup a Linux terminal server. Everything I read says to set kernel 
parms of 

console=hvc0
hvc_iucv=2 

or something similar. Nothing tells me where/how to set kernel parms that I 
have found so far. It must be one of those universal truths that Linux people 
have but us old zOS dinos need it documented.
Please point me in the right direction.

Thanks
Bobby Bauer
Center for Information Technology
National Institutes of Health
Bethesda, MD 20892-5628
301-594-7474
 

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Setting kernel parms for RHEL6

2013-05-29 Thread Mark Post
 On 5/29/2013 at 02:09 PM, Bauer, Bobby (NIH/CIT) [E] 
 baue...@mail.nih.gov
wrote: 
 Nothing tells me where/how to set kernel parms that I have found so far.

/etc/zipl.conf, I would think.


Mark Post

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Setting kernel parms for RHEL6

2013-05-29 Thread Alan Altmark
On Wednesday, 05/29/2013 at 02:20 EDT, Bauer, Bobby (NIH/CIT) [E]
baue...@mail.nih.gov wrote:
 Trying to setup a Linux terminal server. Everything I read says to set
kernel
 parms of

 console=hvc0
 hvc_iucv=2

 or something similar. Nothing tells me where/how to set kernel parms
that I
 have found so far. It must be one of those universal truths that Linux
people
 have but us old zOS dinos need it documented.
 Please point me in the right direction.

The Source of all Goodness and Light for Linux on z is the Device Drivers,
Features, and Commands book, SC33-8411.  In there you will find the
Answers you Seek.

Well, most of them, anyway.  :-)

Alan Altmark

Senior Managing z/VM and Linux Consultant
IBM System Lab Services and Training
ibm.com/systems/services/labservices
office: 607.429.3323
mobile; 607.321.7556
alan_altm...@us.ibm.com
IBM Endicott

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Setting kernel parms for RHEL6

2013-05-29 Thread Bauer, Bobby (NIH/CIT) [E]
Looked all through the Device Drivers. I thought I needed to add to sysctl.conf 
but that was wrong. Guess I could zipl.conf but I thought that was for dasd 

Bobby Bauer
Center for Information Technology
National Institutes of Health
Bethesda, MD 20892-5628
301-594-7474


-Original Message-
From: Alan Altmark [mailto:alan_altm...@us.ibm.com] 
Sent: Wednesday, May 29, 2013 2:29 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Setting kernel parms for RHEL6

On Wednesday, 05/29/2013 at 02:20 EDT, Bauer, Bobby (NIH/CIT) [E]
baue...@mail.nih.gov wrote:
 Trying to setup a Linux terminal server. Everything I read says to set
kernel
 parms of

 console=hvc0
 hvc_iucv=2

 or something similar. Nothing tells me where/how to set kernel parms
that I
 have found so far. It must be one of those universal truths that Linux
people
 have but us old zOS dinos need it documented.
 Please point me in the right direction.

The Source of all Goodness and Light for Linux on z is the Device Drivers, 
Features, and Commands book, SC33-8411.  In there you will find the Answers you 
Seek.

Well, most of them, anyway.  :-)

Alan Altmark

Senior Managing z/VM and Linux Consultant IBM System Lab Services and Training 
ibm.com/systems/services/labservices
office: 607.429.3323
mobile; 607.321.7556
alan_altm...@us.ibm.com
IBM Endicott

--
For LINUX-390 subscribe / signoff / archive access instructions, send email to 
lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit http://wiki.linuxvm.org/

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Setting kernel parms for RHEL6

2013-05-29 Thread Dave Jones
Hello, Bobby.
kernel parameters can be specified on the parmeter= line in the
/etc/zipl.conf file. Here's an example of an entry from my zipl.conf
where I specify that a dcss should be loaded at boot time:

[test]
target = /boot
image = /boot/vmlinuz
ramdisk = /boot/initrd.img
parameters = root=/dev/disk/by-path/ccw-0.0.0150-part2
dcssblk.segments=SWAPPING


Note that the parameter line is just one long line and not split in two
as shown here in this e-mail; there's a space between root= and
dcssblk.segments= strings.

Have a good one, too.

DJ
On 05/29/2013 01:09 PM, Bauer, Bobby (NIH/CIT) [E] wrote:
 Trying to setup a Linux terminal server. Everything I read says to set kernel 
 parms of

 console=hvc0
 hvc_iucv=2

 or something similar. Nothing tells me where/how to set kernel parms that I 
 have found so far. It must be one of those universal truths that Linux people 
 have but us old zOS dinos need it documented.
 Please point me in the right direction.

 Thanks
 Bobby Bauer
 Center for Information Technology
 National Institutes of Health
 Bethesda, MD 20892-5628
 301-594-7474


 --
 For LINUX-390 subscribe / signoff / archive access instructions,
 send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
 http://www.marist.edu/htbin/wlvindex?LINUX-390
 --
 For more information on Linux on System z, visit
 http://wiki.linuxvm.org/


--
Dave Jones
V/Soft Software
www.vsoft-software.com
Houston, TX
281.578.7544

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Setting kernel parms for RHEL6

2013-05-29 Thread Rick Troth
It's zipl.conf that you want.
The 'zipl' command will read that config file, build a parm line and
other static data, and stamp the IPL text onto the boot disk.

Unlike some other bootstraps (eg: GRUB), here you need to re-stamp the
IPL text when changing the parms.  (That used to be the norm for all
flavors of Linux.)

About the terminal server (and this is new to me), you may need to add
a second console= parameter so that the 3215/HMC driver continues to
see traffic.  Also, the console driver is just one of your options.
There is an on-demand IUCV terminal service using the 'iucvtty'
program.  Might be helpful especially since it does not require a
reboot.  (You can test 'iucvconn' against it without having to do the
ZIPL magic.)

-- R; 




On Wed, May 29, 2013 at 2:51 PM, Bauer, Bobby (NIH/CIT) [E]
baue...@mail.nih.gov wrote:
 Looked all through the Device Drivers. I thought I needed to add to 
 sysctl.conf but that was wrong. Guess I could zipl.conf but I thought that 
 was for dasd

 Bobby Bauer
 Center for Information Technology
 National Institutes of Health
 Bethesda, MD 20892-5628
 301-594-7474


 -Original Message-
 From: Alan Altmark [mailto:alan_altm...@us.ibm.com]
 Sent: Wednesday, May 29, 2013 2:29 PM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: Setting kernel parms for RHEL6

 On Wednesday, 05/29/2013 at 02:20 EDT, Bauer, Bobby (NIH/CIT) [E]
 baue...@mail.nih.gov wrote:
 Trying to setup a Linux terminal server. Everything I read says to set
 kernel
 parms of

 console=hvc0
 hvc_iucv=2

 or something similar. Nothing tells me where/how to set kernel parms
 that I
 have found so far. It must be one of those universal truths that Linux
 people
 have but us old zOS dinos need it documented.
 Please point me in the right direction.

 The Source of all Goodness and Light for Linux on z is the Device Drivers, 
 Features, and Commands book, SC33-8411.  In there you will find the Answers 
 you Seek.

 Well, most of them, anyway.  :-)

 Alan Altmark

 Senior Managing z/VM and Linux Consultant IBM System Lab Services and 
 Training ibm.com/systems/services/labservices
 office: 607.429.3323
 mobile; 607.321.7556
 alan_altm...@us.ibm.com
 IBM Endicott

 --
 For LINUX-390 subscribe / signoff / archive access instructions, send email 
 to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
 http://www.marist.edu/htbin/wlvindex?LINUX-390
 --
 For more information on Linux on System z, visit http://wiki.linuxvm.org/

 --
 For LINUX-390 subscribe / signoff / archive access instructions,
 send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
 http://www.marist.edu/htbin/wlvindex?LINUX-390
 --
 For more information on Linux on System z, visit
 http://wiki.linuxvm.org/



--
-- R;   

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Setting kernel parms for RHEL6

2013-05-29 Thread Brent Kincer
You will need two pieces for using the hvc console...

1. The additional kernel parameters in zipl.conf. As Rick suggested, if you
want to keep your 3270 console add another 'console=' statement. The 2nd
console statement will be the primary console, fyi. In our case, we have
the hvc console as primary, so our additions look like this on the
parameters section of zipl:
hvc_iucv=2 console=ttyS0 console=hvc0

2. An upstart job to maintain the tty's on those terminals. I choose to
have an upstart for each hvc console. An example to maintain the tty on the
first console:

start on stopped rc RUNLEVEL=[2345]
stop on runlevel [S016]
respawn
exec /sbin/agetty -L 9600 hvc0 xterm

This is assuming you are wanting to use this console in case of a failed
boot, etc.

To then connect from another guest to the first hvc console you could issue:
iucvconn guest lnxhvc0

I think that's about it.

On Wed, May 29, 2013 at 3:16 PM, Dave Jones d...@vsoft-software.com wrote:

 Hello, Bobby.
 kernel parameters can be specified on the parmeter= line in the
 /etc/zipl.conf file. Here's an example of an entry from my zipl.conf
 where I specify that a dcss should be loaded at boot time:

 [test]
 target = /boot
 image = /boot/vmlinuz
 ramdisk = /boot/initrd.img
 parameters = root=/dev/disk/by-path/ccw-0.0.0150-part2
 dcssblk.segments=SWAPPING


 Note that the parameter line is just one long line and not split in two
 as shown here in this e-mail; there's a space between root= and
 dcssblk.segments= strings.

 Have a good one, too.

 DJ
 On 05/29/2013 01:09 PM, Bauer, Bobby (NIH/CIT) [E] wrote:
  Trying to setup a Linux terminal server. Everything I read says to set
 kernel parms of
 
  console=hvc0
  hvc_iucv=2
 
  or something similar. Nothing tells me where/how to set kernel parms
 that I have found so far. It must be one of those universal truths that
 Linux people have but us old zOS dinos need it documented.
  Please point me in the right direction.
 
  Thanks
  Bobby Bauer
  Center for Information Technology
  National Institutes of Health
  Bethesda, MD 20892-5628
  301-594-7474
 
 
  --
  For LINUX-390 subscribe / signoff / archive access instructions,
  send email to lists...@vm.marist.edu with the message: INFO LINUX-390
 or visit
  http://www.marist.edu/htbin/wlvindex?LINUX-390
  --
  For more information on Linux on System z, visit
  http://wiki.linuxvm.org/
 

 --
 Dave Jones
 V/Soft Software
 www.vsoft-software.com
 Houston, TX
 281.578.7544

 --
 For LINUX-390 subscribe / signoff / archive access instructions,
 send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
 visit
 http://www.marist.edu/htbin/wlvindex?LINUX-390
 --
 For more information on Linux on System z, visit
 http://wiki.linuxvm.org/


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Mz 2-17

2013-05-29 Thread Michael MacIsaac
Hello linux-390 and IBMVM lists,

Mz 2-17 is now available on https://sourceforge.net/projects/managing-z/

Version 2.17 - May 29, 2013
-) New SNMP-based basic monitoring function
-) SSH-based monitoring function now uses /proc files, not screen scraping
-) New CLI command mzsamplemonitordata to take a quick sample but not
store data
-) New CHPID Web pages drill down from Devices page
   (Marian G. coded inspired by Rexx from Scott R. -thanks all!)
-) Updated mzhelp and Web help page with new commands
-) Update mz.pdf and README.txt

Mike MacIsaac mikemac at-sign us.ibm.com

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/