- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: which user process on SG node A causes Oracle ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2005 04:22 AM
06-02-2005 04:22 AM
Any suggestions on how to go about it?
- John Kittel
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2005 04:27 AM
06-02-2005 04:27 AM
Re: which user process on SG node A causes Oracle process on SG node b?
the application process on node A runs under the user's account name. For example, user tr18132 runs a process that looks like this ( output of ps -fx):
tr18132 12617 3217 0 06:59:27 ? 0:05 gem_thin_server IREN57PROD tcp,10.2.12.1,6068
The oracle processes on node B look like this:
oracle 29939 1 0 09:00:58 ? 0:01 oracleprod1 (LOCAL=NO)
- John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2005 04:41 AM
06-02-2005 04:41 AM
SolutionIf you have lsof installed on the machines, you could use it to determine any connections from node A to node B.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2005 10:52 AM
06-02-2005 10:52 AM
Re: which user process on SG node A causes Oracle process on SG node b?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2005 06:21 AM
06-03-2005 06:21 AM
Re: which user process on SG node A causes Oracle process on SG node b?
But I'd like to refine my approach if I can get a little more help with lsof.
On the Oracle node, I can easily find just the sqlnet sockets for a particular process. But then on the application node, how can I find the corresponding process without having to list all the ipv4 sockets and grep for the socket numer?
For example, on the Oracle side I see this:
# /tmp/lsof -p 29996 -i 4 -a
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
oracle 29996 oracle 8u IPv4 0x5033d640 0t0 TCP *:* (IDLE)
oracle 29996 oracle 13u IPv4 0x67751240 0t74899 TCP erpsqlnet.mydomain.co
m:1521->mynode.mydomain.com:52235 (ESTABLISHED)
On the application node I can't seem to figure out how to specify the lsof command to select only the file(s) I want. I've tried all different combinations of the lsof (file) "name" parameter, but it just keeps telling me I'm not specifying a valid name.
I probably won't get back to this until Monday morning... will read replies, assign points, etc. then.
Thanks for any advice.
- John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2005 08:30 AM
06-03-2005 08:30 AM
Re: which user process on SG node A causes Oracle process on SG node b?
Process IDs on the application node making a call to the Oracle server on node B can be found as follows...
# lsof -iTCP@
for example if IP of oracle server is 10.11.12.13 and the oracle listener process is listening on port 1521...then run the follwing on your application node:
# lsof -iTCP@10.11.12.13:1521
cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2005 05:58 AM
06-05-2005 05:58 AM
Re: which user process on SG node A causes Oracle process on SG node b?
well this is pretty normal and depends on the db-requests the application sends.
A select with a small result set might need low application resources and can require big db-resources i.e. if a full tablescan is needed to get the result.
Your problem might not be lack of CPU resource on node B but more related to poor application design.
I think you will need to do some tuning.
Install the Oracle statspack and get some snapshots and print the reports.
Calculate DB-statistics frequently.
This will quickly show some hints where to go on.
Good hunting
Volker
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 06:33 AM
06-07-2005 06:33 AM
Re: which user process on SG node A causes Oracle process on SG node b?
- John