Hi ,
I am using websphere as the webserver with Oracle 8.1.7.1 as the backend .We are already using connection pooling and all our jsps have con.close (closing of unused connections) being used in the right places. The problem is this , somehow the session killing is not working properly at all . I mean , we have a minimum of 300 users connected at any point of time , and after a day , i still see nearly 200+ inactive sessions in oracle.
(
i use the following query :
select status,count(*),to_char(sysdate,'dd/mm/yyyy_hh/ss') "DATE_TIME"
from v$session
group by status;
)
I have not designed any profile for the user (to which the webserver connects to) yet . I fear that if i set the profile to a 15 minute inactive timeout or something , i may get "socket write failed" exception (we encountered this problem before with JavaWebServer) . But still , that is not the point here. I wonder why the sessions are not being killed. This is a problem because the inactive sessions bring down the performance of my DB server drastically . i wonder why . Moreover , i have forgotten what the sql query is for killing sessions given a session id . I know this is possible , but have forgotten the query.
Foof ! looks like too many questions in one post !
Request one and all to respond at the earliest incase you can help me !
Help!
Thanks in advance,
Regards,
Jayaram.
I am using websphere as the webserver with Oracle 8.1.7.1 as the backend .We are already using connection pooling and all our jsps have con.close (closing of unused connections) being used in the right places. The problem is this , somehow the session killing is not working properly at all . I mean , we have a minimum of 300 users connected at any point of time , and after a day , i still see nearly 200+ inactive sessions in oracle.
(
i use the following query :
select status,count(*),to_char(sysdate,'dd/mm/yyyy_hh/ss') "DATE_TIME"
from v$session
group by status;
)
I have not designed any profile for the user (to which the webserver connects to) yet . I fear that if i set the profile to a 15 minute inactive timeout or something , i may get "socket write failed" exception (we encountered this problem before with JavaWebServer) . But still , that is not the point here. I wonder why the sessions are not being killed. This is a problem because the inactive sessions bring down the performance of my DB server drastically . i wonder why . Moreover , i have forgotten what the sql query is for killing sessions given a session id . I know this is possible , but have forgotten the query.
Foof ! looks like too many questions in one post !
Request one and all to respond at the earliest incase you can help me !
Help!
Thanks in advance,
Regards,
Jayaram.