Fndcp_tmsrv.read_R_pipe - many Active Sessions

I have strange situation with many active sessions of following procedure
fndcp_tmsrv.read_R_pipe(...) (*18-20 active sessions*)
I found several suggestions execute following procedure:
execute dbms_shared_pool.keep('APPS.FNDCP_TMSRV');
But these objects already have KEPT=YES in view v$db_object_cache!
Do you have any advice?

Hi Vladandr ;
Please check below and see its helpful for you:
INVDVDSD - Supply/Demand Form Query Has Poor Performance [ID 273970.1]
Also see:
Conections on Database
[Link1|http://www.heitek.de/hp_eng/down_free_02.html]
Regard
Helios

Similar Messages

  • Counting how many active sessions in a webapp

    Hi folks,
    I was wondering if it is possible to count how many active sessions that there currently are in a webapp? I've looked at the ServletContext and ServletConfig classes, but I can't find anything. Any ideas?
    Cheers,
    Raj.

    HttpSessionListener was introduced in servlet spec 2.3 which is supported in Tomcat 4.0 but not 3.3.
    If upgrading to 4.0 is not an option, there is no elegant way to get what you need. There is no API call that returns all the active sessions so you must do it yourself. One way is to create a class that implements HttpSessionBindingListener to track your sessions. Instantiate it on start-up and add its reference as a session attribute when the session is first created. You can then update your custom session info in the valueBound and valueUnbound methods.

  • Scalability Issues - Too Many Active Sessions?

    Hello,
    I'm having an issue with an application I built for one of the campuses at the college I work at. The application is a queuing system where there are stations for students to check in, admin stations where staff can see these students and "call" them, and displays outside each employees office that shows the student that was called. There are about 20 of these last type of display panels. I have the following code in my page footer to poll the DB for the most recent called student for a specific room:
    <script type="text/javascript">
    <!--
    var refresh_region = function( workstation_in, div_in ) {
        $.get(
            'wwv_flow.show',
            {"p_request"      : 'APPLICATION_PROCESS=F_NEXT_STUDENT',
             "p_flow_id"      : $v('pFlowId'),      //app id
             "p_flow_step_id" : $v('pFlowStepId'),  //page id
             "p_instance"     : $v('pInstance'),    //session id
             "x01"            : workstation_in
            function(data) {
                $(div_in).html(data);
        setTimeout(function() { refresh_region( workstation_in, div_in ) }, 5000);
    refresh_region( '&P7_WORKSTATION_IN.', '#next_student_div' );
    //-->
    </script>The OnDemand process, F_NEXT_STUDENT runs the following query and returns the result:
    select a.FIRST_NAME || ' ' || a.LAST_NAME
    into   full_name
    from   ONESTOP_QUEUE a
    where  a.WORKSTATION_ID_CALLED = in_workstation_id
    and    a.STATUS = 'CALLED'
    and    a.QUEUE_ID = (
       select min( c.QUEUE_ID )
       from   ONESTOP_QUEUE c
       where  c.WORKSTATION_ID_CALLED = in_workstation_id
    and    c.STATUS = 'CALLED');However, when all of these display panels are turned on (and I use code like this in other pages for similar purposes) the application becomes sluggish and eventually unresponsive. At first we had the application running off a box with Oracle XE. We eventually migrated to a full blown 11g install with APEX Listener and GlassFish. My DBA says everything looks ok on the DB side so I've been trying to dig in other areas to see where the bottleneck may be. After inspecting the Active Sessions report in APEX, I saw that there's a ton of connections being generated (> 30,000). This doesn't seem like a good thing to me and I'm trying to figure out what I'm doing wrong.
    At first I was using $.post() instead of $.()get. I was also using setInterval() instead of a setTimeout() loop. However, none of these changes seemed to really help the situation much. I'm at a loss for how else to improve the performance of this application. Any suggestions on what I can try?
    Most of the app's functionality is on apex.oracle.com
    WORKSPACE: SCCC_TEST
    USER/PASS: TEST/test
    Direct URL to the page (I pass in the worksation ID): http://apex.oracle.com/pls/apex/f?p=65890:7:0::::P7_WORKSTATION_IN:ADMISSIONS_1
    Thanks in advance for any help.

    Hi Patrick,
    UPDATE as of 3PM Eastern:
    This afternoon all users lost the ability to connect to the application. My DBA is still reviewing logs but it seems that the error isn't on the DB side. The application came back up after he restarted the Apex listener. We found a bunch of the following error in the Glassfish server.log file:
    [#|2013-02-25T14:34:39.021-0500|WARNING|oracle-glassfish3.1.2|com.sun.grizzly.config.GrizzlyServiceListener|_ThreadID=11;_ThreadName=Thread-2;|GRIZZLY0023: Interrupting idle Thread: http-thread-pool-80(73).|#]The max threads is currently set to 100.
    After we came back up I went to page 4350:45 and cleared out all sessions. After a couple minutes I rechecked the number of sessions on this page:
    Total Sessions: 27,674
    Distinct Users over all sessions = 2
    Sessions older than 15 minute(s) = 4Seems like way too many sessions to have after just a couple minutes.
    End UPDATE
    Again, thank you for taking the time to reply. Everything seems to be working fine for the past couple days, but I figured I'd provide some current data, especially since I'm still curious about all these "sessions".
    Are we talking about page 4350:45 which shows the following information
    Total Sessions: 9
    Distinct Users over all sessions = 4
    Sessions older than 1 day(s) = 0
    Where does it show 17,400 sessions for you? It almost appears that your daily APEX jobs are not running which do normally purge old APEX sessions automatically. See http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35129/dbms_jobs001.htm
    Yes, this was the page I was referring to. I just checked it now and it showed me the following:
    Total Sessions: 10,236
    Distinct Users over all sessions = 2
    Sessions older than 1 day(s) = 0And it does appear that the APEX jobs are running since there are no sessions older than 1 day... unless I'm interpreting this information incorrectly.
    Also, I was able to get some more data regarding page loading using the Debug info:
    14763     7751818952614     nobody     101     7     show     46     4 seconds ago     0.0000
    14760     7751818952614     nobody     101     7     show     46     9 seconds ago     0.5300
    14757     7751818952614     nobody     101     7     show     46     14 seconds ago     0.0150
    14754     7751818952614     nobody     101     7     show     46     19 seconds ago     0.0160
    14751     7751818952614     nobody     101     7     show     46     24 seconds ago     0.0160
    14748     7751818952614     nobody     101     7     show     46     29 seconds ago     0.0160
    14745     7751818952614     nobody     101     7     show     46     34 seconds ago     0.0160
    14742     7751818952614     nobody     101     7     show     46     39 seconds ago     0.0160
    14739     7751818952614     nobody     101     7     show     46     44 seconds ago     0.0160
    14736     7751818952614     nobody     101     7     show     46     49 seconds ago     0.0160
    14733     7751818952614     nobody     101     7     show     46     54 seconds ago     0.0160
    14730     7751818952614     nobody     101     7     show     46     59 seconds ago     0.0000
    14727     7751818952614     nobody     101     7     show     46     64 seconds ago     0.0160
    14724     7751818952614     nobody     101     7     show     46     69 seconds ago     0.0160
    14721     7751818952614     nobody     101     7     show     46     74 seconds ago     0.0160
    14718     7751818952614     nobody     101     7     show     46     79 seconds ago     0.0160
    14715     7751818952614     nobody     101     7     show     46     84 seconds ago     0.0150
    14712     7751818952614     nobody     101     7     show     46     89 seconds ago     0.5300
    14709     7751818952614     nobody     101     7     show     46     94 seconds ago     0.0000
    14706     7751818952614     nobody     101     7     show     46     99 seconds ago     0.0150
    14703     7751818952614     nobody     101     7     show     46     104 seconds ago     0.0150
    14700     7751818952614     nobody     101     7     show     46     109 seconds ago     0.0150
    14697     7751818952614     nobody     101     7     show     46     114 seconds ago     0.0150
    14694     7751818952614     nobody     101     7     show     46     119 seconds ago     0.0160
    14691     7751818952614     nobody     101     7     show     46     2 minutes ago     0.5310
    14688     7751818952614     nobody     101     7     show     46     2 minutes ago     0.5300
    14685     7751818952614     nobody     101     7     show     46     2 minutes ago     0.5150
    14682     7751818952614     nobody     101     7     show     46     2 minutes ago     0.5300
    14679     7751818952614     nobody     101     7     show     46     2 minutes ago     0.5300
    14676     7751818952614     nobody     101     7     show     46     2 minutes ago     0.5300
    14673     7751818952614     nobody     101     7     show     46     3 minutes ago     0.0000
    14670     7751818952614     nobody     101     7     show     46     3 minutes ago     0.5930
    14667     7751818952614     nobody     101     7     show     46     3 minutes ago     0.5300
    14664     7751818952614     nobody     101     7     show     46     3 minutes ago     0.5460So I'm seeing a page load time of ~0.016 or ~0.53. When I click on the details for one of the longer page view, I get the following:
    0.00000     0.00000     S H O W: application="101" page="7" workspace="" request="APPLICATION_PROCESS=F_NEXT_STUDENT" session="7751818952614"     4
    0.00000     0.04700     Reset NLS settings     4
    0.04700     0.03100     alter session set NLS_LANGUAGE="AMERICAN"     4
    0.07800     0.03100     alter session set NLS_TERRITORY="AMERICA"     4
    0.10900     0.01600     alter session set NLS_CALENDAR="GREGORIAN"     4
    0.12500     0.03100     alter session set NLS_SORT="BINARY"     4
    0.15600     0.00000     alter session set NLS_COMP="BINARY"     4
    0.15600     0.00000     ...NLS: Set Decimal separator="."     4
    0.15600     0.00000     ...NLS: Set NLS Group separator=","     4
    0.15600     0.00000     ...NLS: Set g_nls_date_format="DD-MON-RR"     4
    0.15600     0.00000     ...NLS: Set g_nls_timestamp_format="DD-MON-RR HH.MI.SSXFF AM"     4
    0.15600     0.03100     ...NLS: Set g_nls_timestamp_tz_format="DD-MON-RR HH.MI.SSXFF AM TZR"     4
    0.18700     0.00000     NLS of database and client differs, characterset conversion needed     4
    0.18700     0.01600     ...Setting session time_zone to -05:00     4
    0.20300     0.03100     Reset NLS settings     4
    0.23400     0.03100     alter session set NLS_LANGUAGE="AMERICAN"     4
    0.26500     0.01600     alter session set NLS_TERRITORY="AMERICA"     4
    0.28100     0.03100     alter session set NLS_CALENDAR="GREGORIAN"     4
    0.31200     0.03100     alter session set NLS_SORT="BINARY"     4
    0.34300     0.00000     alter session set NLS_COMP="BINARY"     4
    0.34300     0.00000     ...NLS: Set Decimal separator="."     4
    0.34300     0.00000     ...NLS: Set NLS Group separator=","     4
    0.34300     0.00000     ...NLS: Set g_nls_date_format="DD-MON-RR"     4
    0.34300     0.00000     ...NLS: Set g_nls_timestamp_format="DD-MON-RR HH.MI.SSXFF AM"     4
    0.34300     0.01600     ...NLS: Set g_nls_timestamp_tz_format="DD-MON-RR HH.MI.SSXFF AM TZR"     4
    0.35900     0.03100     ...Setting session time_zone to -05:00     4
    0.39000     0.03100     Setting NLS_DATE_FORMAT to application date format: DD-MON-YYYY HH:MIPM     4
    0.42100     0.01600     Setting NLS_TIMESTAMP_FORMAT to application timestamp format: DD-MON-YYYY HH:MIPM     4
    0.43700     0.03100     Setting NLS_TIMESTAMP_TZ_FORMAT to application timestamp time zone format: DD-MON-YYYY HH:MIPM     4
    0.46800     0.00000     ...NLS: Set g_nls_date_format="DD-MON-YYYY HH:MIPM"     4
    0.46800     0.00000     ...NLS: Set g_nls_timestamp_format="DD-MON-YYYY HH:MIPM"     4
    0.46800     0.00000     ...NLS: Set g_nls_timestamp_tz_format="DD-MON-YYYY HH:MIPM"     4
    0.46800     0.00000     NLS: wwv_flow.g_flow_language_derived_from=0: wwv_flow.g_browser_language=en     4
    0.46800     0.00000     Application 101, Authentication: PLUGIN, Page Template: 61331314513900454147     4
    0.46800     0.00000     Authentication check: No Authentication (NATIVE_DAD)     4
    0.46800     0.00000     ...fetch session state from database     4
    0.46800     0.01600     fetch items (exact)     4
    0.48400     0.00000     ... sentry+verification success     4
    0.48400     0.00000     ...Session ID 7751818952614 can be used     4
    0.48400     0.01500     ...Application session: 7751818952614, user=nobody     4
    0.49900     0.03100     ...Setting session time_zone to -05:00     4
    0.53000     0.00000     Session: Fetch session header information     4
    0.53000     0.00000     Run APPLICATION_PROCESS= request     4
    0.53000     0.00000     ...Execute Statement: begin sys.htp.p( F_NEXT_STUDENT( in_workstation_id => apex_application.g_x01 ) ); end;     4
    0.53000     0.00000     Stop APEX Engine detected     4
    0.53000     -     Final commit     4Again, not sure if I'm reading this correctly but it seems that the steps that are taking the most time seem to be related to NLS settings... and I have translating turned off. This is consistent with all of the longer page views. As a side note, my DBA did turn archive log mode back on this weekend.
    Again, everything seems to be running smoothly at the moment so the above data is more to help satisfy my curiosity about the inner workings of Apex.
    Regards,
    Tadeusz
    Edited by: tdsacilowski on Feb 25, 2013 3:04 PM

  • Scale up curve on "Average Active Sessions"

    In Grid Control 11g, Targets -> Databases -> Performance, the Average Active Sessions graph has the curve very low, almost near the bottom X axis. I know we don't have many active sessions. But it's also because this is a 4-node RAC with 96 CPUs in total. Without artificially reducing the CPU count, is there a way to scale up the curve so it does not "crawl" at the bottom? (It would be ideal if it could be manually controlled at will so when the number of active sessions does go through the roof, I can bring down the scale.)

    Hi,
    Did you get answer to your query ? I'm also looking for answer for this.
    Basically, my requirement is get user impact due to any outage and I would like to know trend of users in the system at any given point of time.

  • How to find active sessions count on a server in weblogic server console

    Hi All,
    I would like to know how to find active sessions count on a server in weblogic console. I am using weblogic 11g.
    Regards,
    Sunil.

    On the deployment, monitoring tab, you can select web applications. Here the number of current sessions are listed per web application deployed on the domain.
    The deployment itself (deployments, application, monitoring, sessions) shows a list of sessions and where it is located. Unfortunately, there is no aggregation (but that is something you can so yourself as well).
    When you are using a load balancer in front, the count of sessions on per web application on the domain gives you some clue how many sessions there are present on each server.
    That is to say, when load balancer is using round-robin (and does that correct), you can take the total number of sessions divide it by the number of servers.

  • How to get active sessions in tomcat 5.0?

    Hi,
    As I am working on monitoring related requirement, I need to get no. Of active sessions,sessions created, etc.
    I found interesting code in ManagerServlet, As it has some protected methods, I cant call it from its object, I need to create servlet for my work, So I even can't extend ManagerServlet, So I've created one POJO for that, But now I need to populte the context and many other objects,
    Is there any other way out for this?,
    I really appriciate any kind of help. :-)
    -Jeff

    hi :-)
    http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/Servlets.html
    or
    http://www.google.com.ph/search?hl=en&q=java+servlet+tutorial&btnG=Google+Search&meta=
    regards,

  • Any way to get number of active sessions

    Hi,
              With the deprecation of the HttpSessionContext interface as of Servlet API
              2.1 for security reasons, is there any way to know how many sessions are
              currently active in a given WebLogic instance?
              Thanks,
              Sanjiv
              

    You could make it a singleton. The overhead is nothing ... trust me. Run
              WebLogic through a profiler if you don't ;-)
              Good luck,
              Cameron Purdy, LiveWater
              "Sanjiv Gulati" <[email protected]> wrote in message
              news:[email protected]...
              > Thanks for sharing this technique. Although I haven't used the
              > HttpSessionBindingListener interface myself, this will work as long as I
              add
              > an instance of SessionCounter in each new session. The only modifications
              > I'll add to the code below would be a synchronized block within the
              > valueBound and valueUnbound methods so that modifications to m_cSessions
              are
              > thread safe.
              >
              > The overhead associated with this approach will be the following:
              > 1) For every session there will be an associated SessionCounter, and
              > 2) Serialization of requests that end up invoking the valueBound &
              > valueUnbound methods.
              >
              > But I guess this cannot be avoided.
              >
              > Thanks,
              > Sanjiv
              >
              > Cameron Purdy <[email protected]> wrote in message
              > news:[email protected]...
              > > The only portable implementation is to have all requests go through your
              > > servlet code (or JSP code) and check if the session is new
              > > (HttpSession.isNew). If so, register a value with the session that
              > > implements HttpSessionBindingListener. Something like:
              > >
              > > class SessionCounter implements HttpSessionBindingListener {
              > > // count of active sessions
              > > private static int m_cSessions;
              > > // accessor for count of active sessions
              > > public int getSessionCount() {
              > > return m_cSessions;
              > > }
              > > // this object placed on a session
              > > void valueBound(...) {
              > > ++m_cSessions;
              > > }
              > > // this object removed from a session
              > > void valueUnound(...) {
              > > --m_cSessions;
              > > }
              > > // end class
              > > }
              > >
              > > It is host-local ... meaning it only tracks one host in a cluster.
              > > Actually, it only tracks sessions within one classloader on one host in
              a
              > > cluster, but don't worry about that distinction.
              > >
              > > And no, I've never done it, but it is apparent that you could, if you
              > chose
              > > to:
              > >
              > > 1) Count sessions
              > > 2) Track all session instances
              > > 3) Have session-level events, such as onCreate/onDestroy
              > >
              > > Hope it helps,
              > >
              > > Cameron Purdy, LiveWater
              > >
              > > "Sanjiv Gulati" <[email protected]> wrote in message
              > > news:[email protected]...
              > > > Hi,
              > > >
              > > > With the deprecation of the HttpSessionContext interface as of Servlet
              > API
              > > > 2.1 for security reasons, is there any way to know how many sessions
              are
              > > > currently active in a given WebLogic instance?
              > > >
              > > > Thanks,
              > > > Sanjiv
              > > >
              > > >
              > >
              > >
              >
              >
              

  • For active sessions error what can i do ..Install j2ee or sdm locally How ?

    Hi,
    Here many developers r working on Web DynPro Java. So when morethan one developers deploying application parallely at that time sdm gives error of active sessions, I found some threads told me that we had to install j2ee or sdm locally . But that threads could not ans satisfactory. Please any one tell me satisfactory ans what i need to install locally and how ?
    Regards,
    Gurprit Bhatia

    Hi,
      WAS Web Application Server has SAP J2EE Engine in which Web Dynpro Applications run. Software Deployment Manager(SDM) component manages deployment process.
    Once you deploy WAS locally, developer will have local server very similar to Tomcat kind... which you he/she can manage.
    Developer need to login to local server portal using http://server url:50000/irj/portal
    if u have any more doubts please let us know.

  • Sir, My Photoshop Element programme is not running.  Because of 'too many activations'.

    Sir,
    My Photoshop Element Programme has been suspended due to too many activation.
    I can only think this is due to Hard Drive failure on my PC.
    Initially reformate and re-install on same drive.  But this drive Failed too.
    I then replaced it with a New Drive and re-installed, but cannot get my programme running due to too many activations.
    HELP.
    Rgds
    Ken

    Hi,
    You might like to go to this page and start a chat session - they will be able to help.
    http://helpx.adobe.com/x-productkb/policy-pricing/activation-deactivation-products.html
    Brian

  • SHUTDOWN: Active sessions prevent database close operation

    Hi
    Yesterday morning, our Oracle Apps Database did not shutdown and throws the following error.
    Fri May 11 06:57:18 2012
    Active call for process 2031784 user 'xxxl' program 'oracleyyy@zzz'
    SHUTDOWN: waiting for active calls to complete.
    Fri May 11 07:04:01 2012
    Incremental checkpoint up to RBA [0x165b.1b2b21.0], current log tail at RBA [0x165b.1b2b21.0]
    Fri May 11 07:11:14 2012
    MMNL absent for 1203 secs; Foregrounds taking over
    Fri May 11 07:24:05 2012
    Incremental checkpoint up to RBA [0x165b.1b2b42.0], current log tail at RBA [0x165b.1b2b4a.0]
    Fri May 11 07:44:10 2012
    Incremental checkpoint up to RBA [0x165b.1b2b6f.0], current log tail at RBA [0x165b.1b2b7d.0]
    Fri May 11 07:52:18 2012
    SHUTDOWN: Active sessions prevent database close operation
    Fri May 11 08:04:39 2012
    Since last 3 years, we never faced such a situation even though many modules (oracle Apps) were implemented from time to time. This time OTL module is going live and consultants were running some procedure during backup start time.
    Even after issuing 'addbctl.sh stop immediate', how come oracle did not close all the database sessions? How to prevent such situation in future?
    Any help is highly appreciated.
    Regards
    Arizuddin

    you can first do a alter system checkpoint and then try to shutdown the database.
    You can also kill all the active user sessions from v$session and then shutdown the database.

  • Too many activations

    HI,
    I'm getting the message "Too many activations" when trying to install Dreamweaver CS3.
    It's a volume license key so you can't deactivate it from the other computer.
    I've uninstalled from the other computer and it still says "Too many activations".
    You can't call Adobe anymore about this product. They just want you to post in the forums.
    So here I am......anyone from Adobe listening who can deactivate my previous installs?
    Thanks.

    Transcript
    info: Thank you for your patience.
    While you wait, you can try our community forums where experts are available 24 hours a day, 7 days a week.
    info: We are still assisting other customers, thank you for your patience. You can also try our community forums, available 24 hours a day, 7 days a week.
    info: You are now chatting with Prasad.
    Prasad: Hello! Welcome to Adobe Customer Service.
    Kenneth Binney: There is an unhappy customer in the DW Forum. https://forums.adobe.com/thread/1535916 can you please assist him.? I am an MVP in the DW Forum but I can't handle a licensing issue
    Prasad: Hi Kenneth.
    Prasad: Thank you for the information.
    Prasad: May I please have your First name?
    Kenneth Binney: Kenneth
    info: Your chat transcript will be sent to [email protected] at the end of your chat.
    Prasad: Kenneth, since it is  volume license, please call  1800 614 863 Australian Phone support number.
    Kenneth Binney: Here is what he wrote "Yes, I understand this is a user-to-user forum. That's why I asked if anybody from Adobe was listening. I've called Customer Service, (the Australian number). When you choose the relevant options, it tells you phone support is not available and to get in touch on the web."
    Prasad: May I place your chat on hold for 2-3  minutes while I check  that for you?
    Kenneth Binney: Yes
    Prasad: Thank you for staying online.
    Prasad: I see that this is a technical issue.
    Prasad: I will transfer your chat to our technical support team.
    Prasad: They will help you on this issue. Please allow me 2 minutes while I transfer the chat to our Technical team. Would that be okay?
    Kenneth Binney: Thanks
    Prasad: Thank you.
    info: Please wait while I transfer the chat to the appropriate group.
    info: You are now chatting with Raman. To ensure we stay connected throughout our interaction , please don't click on the 'x' in the chat window. Doing so will disconnect our chat session.
    Raman: Hello, Welcome to Adobe support.
    Kenneth Binney: Thanks
    Raman: Could you please provide me the serial number of the product to assist accordingly?
    Kenneth Binney: Hello Issue in Forum not mine
    Kenneth Binney: https://forums.adobe.com/thread/1535916
    Raman: Keneneth, I need to go ahead and escalate the issue to the team who replies on forums.
    Raman: Please allow me 2 minutes to check
    Kenneth Binney: Thanks
    Raman: Kenneth, I have checked and Adobe CS 3 is an an end of life product.
    Raman: Adobe doesn't support it anymore.
    Kenneth Binney: What can I tell him - he is reinstalling corrupted install
    Raman: It may be an issue with the installer he is using. It depends upon the license he has.
    Raman: If he has volume license, he needs to download the product from Volume licensing product.
    Raman: It may be an issue with the system as well.
    Kenneth Binney: I'll tell him
    Raman: Sure
    Kenneth Binney: If he can chat with case number might that be helpful?
    Kenneth Binney: Thanks

  • Photoshop Elements 8: why too many activations? [was:activation]

    Recently had new computer and the man that set it up for us loaded on our photoshop elements 8, the old computer was dumped, so is no longer in use. However when I try to use the programme it tells me that I have too many activations on it. I am not aware that this programme is in use on any other computer, please advise

    The folks at that link will usually just tell you that PSE 8 is no longer supported. You need activation support, so go here:
    http://helpx.adobe.com/x-productkb/policy-pricing/activation-deactivation-products.html
    and most times you'll see a place to start a chat session and get it taken care of right away.

  • Having too many idle sessions?

    Hi,
    We have too many idle sessions at the database end? How can it be controlled apart from using database resource manager? Since some users execute long operations? Please clarify.
    Thank you,
    Adith

    Having 5 of 60 sessions active is entirely reasonable. A session is ACTIVE only if, in that particular instant, the session is actively running a SQL statement. The vast majority of the time, a database connection will be idle as it waits for a user to decide what to do next, for the client application to process the data that was returned, etc.
    If you're not encountering any problems, I wouldn't change anything. Setting IDLE_TIME in a profile will kill connections after a period of time, but that may cause problems for users & applications which are not designed to expect that their database connection can be terminated while they were using it.
    Justin

  • Long running Active sessions

    Hi
    Please find the following sessions are running since long time with the following query
    begin dbms_session.reset_package; end;
    Can anyone please assist why these sessions are running? whether it can be killed? if killed what would be the impact in the database level
    SID SERIAL# USERNAME MACHINE TO_CHAR(LOGO PROGRAM COMMAND LAST_CALL_ET/60/60
    144 29050 OPS$WWW dygkr12 02-OCT 15:49 httpd@dygkr12 (TNS V1-V3) No command 336.079722
    658 18998 OPS$WWW dygkr14 29-SEP 15:07 httpd@dygkr14 (TNS V1-V3) Select 442.913889
    536 35752 OPS$WWW dygkr11 24-SEP 12:27 httpd@dygkr11 (TNS V1-V3) No command 586.622778
    216 58266 OPS$WWW dygkr14 23-SEP 10:24 httpd@dygkr14 (TNS V1-V3) No command 632.188056
    176 16246 OPS$WWW dygkr11 22-SEP 07:26 httpd@dygkr11 (TNS V1-V3) No command 680.223333
    207 56310 OPS$WWW dygkr14 19-SEP 11:14 httpd@dygkr14 (TNS V1-V3) No command 736.32
    219 10033 OPS$WWW dygkr16 18-SEP 14:37 httpd@dygkr16 (TNS V1-V3) No command 762.048611
    337 56796 OPS$WWW dygkr14 17-SEP 14:23 httpd@dygkr14 (TNS V1-V3) No command 789.255278
    43 55724 OPS$WWW dygkr14 16-SEP 14:03 httpd@dygkr14 (TNS V1-V3) No command 819.035556
    66 12876 OPS$WWW dygkr16 15-SEP 14:23 httpd@dygkr16 (TNS V1-V3) No command 849.465
    399 40858 OPS$WWW dygkr15 10-SEP 12:22 httpd@dygkr15 (TNS V1-V3) No command 974.821111
    528 14163 OPS$WWW dygkr15 07-SEP 06:23 httpd@dygkr15 (TNS V1-V3) Select 1063.28861
    689 20987 OPS$WWW dygkr12 05-SEP 14:24 httpd@dygkr12 (TNS V1-V3) No command 1090.00528
    226 30520 OPS$WWW dygkr12 05-SEP 14:40 httpd@dygkr12 (TNS V1-V3) No command 1090.05361
    632 51223 OPS$WWW dygkr16 02-SEP 12:07 httpd@dygkr16 (TNS V1-V3) No command 1181.91111
    634 34981 OPS$WWW dygkr12 02-SEP 06:33 httpd@dygkr12 (TNS V1-V3) No command 1190.3125
    853 21149 OPS$WWW dygkr15 01-SEP 16:18 httpd@dygkr15 (TNS V1-V3) No command 1202.85056
    17 25931 OPS$WWW dygkr11 01-SEP 09:33 httpd@dygkr11 (TNS V1-V3) No command 1218.88444
    113 58494 OPS$WWW dygkr15 30-AUG 05:25 httpd@dygkr15 (TNS V1-V3) No command 1250.01194
    669 56935 OPS$WWW dygkr16 30-AUG 00:16 httpd@dygkr16 (TNS V1-V3) No command 1255.41333
    248 10267 OPS$WWW dygkr11 28-AUG 10:43 httpd@dygkr11 (TNS V1-V3) No command 1303.38
    142 28322 OPS$WWW dygkr12 27-AUG 14:21 httpd@dygkr12 (TNS V1-V3) No command 1326.12806
    173 58589 OPS$WWW dygkr15 27-AUG 09:03 httpd@dygkr15 (TNS V1-V3) No command 1339.37333
    409 24619 OPS$WWW dygkr15 22-AUG 13:44 httpd@dygkr15 (TNS V1-V3) No command 1443.13611
    414 29503 OPS$WWW dygkr16 22-AUG 08:53 httpd@dygkr16 (TNS V1-V3) No command 1454.47806
    64 39617 OPS$WWW dygkr15 21-AUG 16:05 httpd@dygkr15 (TNS V1-V3) No command 1468.40833
    333 24094 OPS$WWW dygkr14 28-JUL 14:43 httpd@dygkr14 (TNS V1-V3) No command 2040.09222
    Please assist
    Venkat

    The script I used is
    column username format a10
    column program format a25
    column machine format a10
    column event format a35
    Column command format a10
    set line 10000
    set pagesize 100
    break on Instance skip page
    select
    sid,
    serial#,
    username,
    machine,
    to_char(logon_time,'DD-MON HH24:MI'),
    program,
    decode(command,
    1,'Create table' , 2,'Insert',
    3,'Select' , 6,'Update',
    7,'Delete' , 9,'Create index',
    10,'Drop index' ,11,'Alter index',
    12,'Drop table' ,13,'Create seq',
    14,'Alter sequence' ,15,'Alter table',
    16,'Drop sequ.' ,17,'Grant',
    19,'Create syn.' ,20,'Drop synonym',
    21,'Create view' ,22,'Drop view',
    23,'Validate index' ,24,'Create procedure',
    25,'Alter procedure' ,26,'Lock table',
    42,'Alter session' ,44,'Commit',
    45,'Rollback' ,46,'Savepoint',
    47,'PL/SQL Exec' ,48,'Set Transaction',
    60,'Alter trigger' ,62,'Analyse Table',
    63,'Analyse index' ,71,'Create Snapshot Log',
    72,'Alter Snapshot Log' ,73,'Drop Snapshot Log',
    74,'Create Snapshot' ,75,'Alter Snapshot',
    76,'drop Snapshot' ,85,'Truncate table',
    0,'No command', '? : '||command) command,
    --event,
    --PDML_STATUS, PDDL_STATUS, PQ_STATUS,
    --server,
    last_call_et/60/60
    from v$session
    where
    username<>' ' and status='ACTIVE'
    order by last_call_et
    But I want to know y so many duplicate sessions are running with " begin dbms_session.reset_package; end; " queries
    Venkat

  • Count all active Session

    Hey all,
    I want to know how many users are on my site. So I tryed so count all activ session:
    int countActiveSessions = FacesContext.getCurrentInstance().
              getExternalContext().getSessionMap().size();But it returns allways 0. Is the method false or how can I count all sessions?
    Thanks for help

    You are OT. Your question concertn much more servlet than JavaServer Faces.
    Anyway sessionMap is not the map of all sessions. It is the map of your own session. With a session map you can retrieve the session attributes.
    Look there if you want count the active sessions:
    http://www.java.happycodings.com/Java_Servlets/code10.html

Maybe you are looking for