Help in Oracle Inactive Sessions


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Help in Oracle Inactive Sessions
# 1  
Old 08-06-2013
Help in Oracle Inactive Sessions

hi ,

i could see 50-60 oracle inactive session running under my application name, does this cause any issue.. or can this inactive session be excluded , if so how can we reduce them or exclude them , your inputs are much required.


my application runs on C++ with oracle , pro*c involved.


oracle is 10G

thanks,
senthil
# 2  
Old 08-06-2013
When you create a Pro*C application when it runs, it forks a new process that is the communication and SQL execution module. So having the parent process inactive is not unusual.

However, if all of those processes are owned by a single user and they are old, then something else is very wrong. Possibly with your code not exiting or not waiting for children correctly.
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Find Inactive VG

lsvg -o shows active VGs. Is there a way to find inactive VGs with a command? Please advise. (2 Replies)
Discussion started by: Daniel Gate
2 Replies

2. Shell Programming and Scripting

Killing oracle sessions

Hi, I need to write a shell script to kill all oracle sessions. I have to login in unix with unix userid and have to use sudo command to login with oracle userid and has to find out all oracle related sessions that are running currently and has to kill all sessions. please suggest me the way... (1 Reply)
Discussion started by: rohan10k
1 Replies

3. Shell Programming and Scripting

Removing Inactive Sessions

Hi, I have the following script: # Inactive Users Removed # # Created by: stuaz # Created on: 16/03/11 # # This script runs from the Cron #################################### # Variables email=blah@blah.com log=/utils/sdennis/inactiveusers.log # # Command to find inactive... (3 Replies)
Discussion started by: stuaz
3 Replies

4. Shell Programming and Scripting

Getting error while getting status of active and inactive sessions from ORACLE DB

Hi All, I have a written a test script which retrieves the status of active and inactive sessions from oracle DB, but i am receiving error while executing. My script is filepath="/home/ocsg/scripts/db_session_report/current_session_report.txt"... (1 Reply)
Discussion started by: poweroflinux
1 Replies

5. UNIX for Dummies Questions & Answers

Inactive Session

Hi, I am new to forum, I am wondering anyone can help me ? Is there a command to tell whether a particular process is already inactive, so I can issue a kill command to end it. I have been encountering scenerio whereby users always shutdown abnormally by closing the windows, and my application... (12 Replies)
Discussion started by: lowtaiwah
12 Replies

6. UNIX for Advanced & Expert Users

inactive pages

hi, plz tell me, how can get the inactive pages in HP UX. bye.... (1 Reply)
Discussion started by: venkat_t
1 Replies
Login or Register to Ask a Question