Ocilogon -   many sessions inactive

Hi,
I am using PHP 5.0.3 with oracle 9.2.0.4 and access is made way "oci.php" using PEAR DB. The connection is configured to be not persistent (OCILOGON and not OCIPLOGON). I am having problems with sessions in oracle that they are being reused, or that when i executing the "ocilogoff" the sessions remain active. When i executing one select in v$session, i verify that to many inactive sessions, but that they consume memory resources. That is normal?
Thank's
Legatti

OCILogoff is a function that does nothing.
The OCI8 driver is documented as reusing connections no
matter if the user requested persistent connections or not.
-- CJ

Similar Messages

  • Too many sessions

    Dear All,
    I am using Oracle 9i ver.2. on Windows Advance server 2003. I have observed that for a single user too many sessions are active, whereas he is running a single application. I even tried to test that when all the users are gone, even then the sessions are active resulting in low performance. I have set all the parameters in the user_profile accordingly but the problem is still there. Sometimes, I have to manual kill all those sessions.
    Can anyone guide me out.
    Best regards,
    Khurram wazir.

    A session is only going to be marked as ACTIVE in v$session and will only consume resources when it is actually executing a query. If multiple sessions are being created and multiple sessions are active, that may imply that the application(s) you are using are opening and using multiple connections, possibly issuing queries in different threads. It may also mean that you have an application that is not closing connections and/or terminating queries appropriately. You would need to debug the application if this is the case to identify the source of the bug.
    Justin

  • Too many session in the AS java server node?

    I have install a Netweaver JAVA portal system for customer , this is cluster system one CI and 10 DIs,  I found there are too many active session in each server node , I konw , the user can login anyone instance through the web dispatcher , but I found  nearly 3000 active session in each server node  after a work day  in average, and there are too many iterative session , sometime one user can have 30-40 session in each server node after a work day .
    I think the memmory is critical if there are have too many session , and sometimes, the log off fution of portal can't work ,so I  decided to set a time-out parameter of the session (4 hours),but this is active method to delete the session of the user ,no matter the user is working with system .
    Who can tell me how to effective control and enhance user's session managment of Netweaver Java server .

    Check note 873190 or 376915
    thanks
    G. Lakshmipathi

  • Too many session beans

    Hi All,
    Need help from you all......I have run into lot of session beans... This is because I am developing an application where I extensively uses ValuechangeEvents.
    In my application owing to ValueChangeEvents, a page normally gets refreshed more than one time and i need to get the values before the page refresh. So my backing beans are session scoped.
    Following thread also talks about the same thing:
    http://forum.java.sun.com/thread.jspa?threadID=705668&messageID=4364186
    I get very similar NoSuchElementException as described in the link above .
    Too many session beans per user will surely cause performance issues. Is this true?
    A combination of session and request bean sounds good but it is not that straightforward. I cant keep on storing everything in the session bean common to all of my pages.
    Please help and suggest some solution. Can I invalidate a session bean after the user moves to another page?
    Please suggest.

    I am getting the following exceptions........does not seem to have changed much after doing saveState.Using tomahawk-1.1.6.jar
    java.lang.IllegalArgumentException
         javax.faces.component.SelectItemsIterator.next(SelectItemsIterator.java:127)
         javax.faces.component.SelectItemsIterator.next(SelectItemsIterator.java:122)
         javax.faces.component.UISelectOne.matchValue(UISelectOne.java:141)
         javax.faces.component.UISelectOne.validateValue(UISelectOne.java:114)
         javax.faces.component.UIInput.validate(UIInput.java:634)
         javax.faces.component.UIInput.executeValidate(UIInput.java:838)
         javax.faces.component.UIInput.processDecodes(UIInput.java:383)
         javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:872)
         javax.faces.component.UIForm.processDecodes(UIForm.java:144)
         javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:872)
         javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:306)
         org.ajax4jsf.framework.ajax.AjaxViewRoot.access$001(AjaxViewRoot.java:53)
         org.ajax4jsf.framework.ajax.AjaxViewRoot$1.invokeRoot(AjaxViewRoot.java:254)
         org.ajax4jsf.framework.ajax.JsfOneOneInvoker.invokeOnRegionOrRoot(JsfOneOneInvoker.java:54)
         org.ajax4jsf.framework.ajax.AjaxContext.invokeOnRegionOrRoot(AjaxContext.java:176)
         org.ajax4jsf.framework.ajax.AjaxViewRoot.processDecodes(AjaxViewRoot.java:267)
         com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:79)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
    <h:selectOneRadio id="filter_tskg"
    value="#{MyBean.filterValue}" dir="ltr"
    onclick="this.form.target='_self';submit();"
    immediate="true"
    valueChangeListener="#{MyBean.onFilterChange}">
    <f:selectItems value="#{MyBean.filterOptions}" />
    <t:saveState value="#{MyBean.filterValue}" />
    <t:saveState value="#{MyBean.filterOptions}" />
    </h:selectOneRadio>

  • Too many sessions error

    Hi! Im getting this error when Im trying to "launch" ocs popup from Collab suite index (content/index.jspx)
    Error
    You have too many sessions for a user. Disconnect some sessions and try again.
    How can I fix this?

    Yes, I opened a TAC case with Cisco and they have confirmed that this is a bug. Looks like it will be fixed in the next release mid february. v2.13 will fix the issue.

  • You have too many sessions open. Please close one and execute the workitem.

    Hi all,
    I am new to Portal.
    we have a SAP Inbox Iview that works fine, but the problem is when the user try to execute Purchase Requicition Approval, the error "You have too many sessions open. Please close one and execute the workitem." appears. What really bothers me is that the error appears as IE error message but the detail of the error looks like SAP.
    Your help will be appreciated.

    wanda89 wrote:
    Most started out with 200-250 limits and now are at 1,000 or more in less than a year.Well, as noted, store cards can be a building tool and as I understand it you have been in that process for about a year and congrats on your progress. That said, I would not be applying for any additional store cards if there is not a specific need for it. This is not the type of credit you want in your profile in the long run. With regard to closing them: I don't know how this will affect your UTIL as I am not aware of your other cards limits however there are many people that have closed these types of cards when they determined there was no use for them, they were not needed any more, they were not the type/quality of cards they wanted to have in the long run, and lastly the history of that card would remain on their report for 10 years. Some bare bones info and the affects of closing cards: http://ficoforums.myfico.com/t5/Credit-Cards/Closing-Credit-Cards/td-p/347190 All that said, while the above lists the math of it all, if you will, it does not speak to the aspect of quality. As you continue to grow, how do you want your profile to look to lenders? Do you want to have 10 low quality store cards won by the credit card trick with limits in the 1k range that you may never use and can't really use substantially anyway as your UTIL would go through the roof very quickly with a 1k limit or do you want a lower number of high quality cards with healthy limits that will continue to grow overtime if you show them the respect they deserve?

  • How many Sessions can I invoke?

    Hello experts,
    afaik there are some limitations regarding how many sessions I can use simultanously for web service calls. I think I saw some information in this forum, but I do not find it again :-(.
    I know the "20 requests per session" rule, but how many sessions can I create?
    Thanks in advance
    Michael

    In the web service document you can find the number.
    In the old document you could find a session limit of 2n+10 where n is the number of users.
    The new document has no number of sessions but limiters in traffic

  • Many sessions simultaneously executing a sql statement ?

    Hi gurus,
    I'm on a sittuation which affect to system performance. When i monitor current activities, i notice that many session is executing the same sql statement.
    SPID     SQL_ID
    16133     5ptuft7h7y8jk
    21385     9yayt7t5wsv07
    21385     9yayt7t5wsv07
    21385     9yayt7t5wsv07
    21385     9yayt7t5wsv07
    21385     9yayt7t5wsv07
    21385     9yayt7t5wsv07
    21385     9yayt7t5wsv07
    21385     9yayt7t5wsv07
    21385     9yayt7t5wsv07
    21385     9yayt7t5wsv07
    21385     9yayt7t5wsv07
    It's up to 70-80 session executing one same sql. Is there any idea or suggest for this my case.
    So thanks
    Ch

    You could look at the SQL (from V$SQLSTATS, V$SQL or V$SQLAREA) and then determine what it is doing and then get some clues as to why one database has multiple executions of the SQL . Most developer leads would be able to say "ah ... this SQL is executed by this module in this part of the application when the user chooses this option". Then you figure out why you have multiple users choosing the option.
    OR there could be dependencies between different statements or enqueue waits -- and multiple sessions waiting on the same lock !
    Hemant K Chitale

  • How many sessions are created in Server ?

    Hi All developers,
    SCJP back again.........
    Anybody please tell me......
    Is there any way to find out how many sessions are created in server ?
    Thanks in advance ..............

    Only by keeping track of them yourself.
    The various session listeners - SessionListener, SessionBindingListener are usefule here.

  • IView BSP open too many sessions

    I'm using SAP EP 6.0 NetWeaver 04 and SAP ERP 2005 : ECC 6.0.
    I have create a BSP IView in my Portal to access an BSP application in SAP ERP 2005.
    When I test it, the IView open too many sessions and then the ICM Server is not available. The server is Overload !!!
    How can I configure the IView to open only one session ?
    Have you got an idea ?
    Thank you very much.
    Regards,
    Mathieu

    Hi Mathieu,
    I am not very familiar with BSP iViews and BSP applications but you describe a problem that sounds quite familiar to me.  
    We were running a custom application on a SAP EP 6.0 NetWeaver 04. It happend that a short time after a user started to test the application the dispatcher crashed. The crash was caused by too many sessions requested by that single user. We could not explain where the session requests came from and did some investigation.
    We observed that the problem occurred only if the user used the MS Internet Explorer 6.0, the request was routed via a certain proxy server (MS ISA Server) and the protocol used was HTTPS.
    To analyze the problem try an alternative browser and have a look into your network. Try to route the request differently. Try another protocol.
    Best regards,
    Martin

  • How many sessions would I need for BBP?

    Hi friends,
    I am going to work on preparing a BBP document for Benefits implementation. Could you please guide me on how many sessions of workshops would I be needing for different components of Benefits module? I need to prepare presentations for each session. So, it would be great if you could also help me in dividing the module components into different sessions.
    I have to perform these activities for PA and OM modules as well.
    Your guidance would be a great help for me.
    Thanks in Advance,
    Sanjay.
    P.S. - Appropriate points will be awarded.

    Hi,
    Preparation of blue print comes after you gather all the requirements, discuss the gaps with the clients. Gathering the requirements and mapping them to SAP will be done in series of workshops. You may have two workshops for each module and two workshops to discuss integration requirements. Once you are clear on the requirements and the Gaps, plan for a workshop on initial draft blue print discussion. This discussion would be for the design and content of the BBP. Later one workshop to present the complete blueprint to the client whci would include all the main stakeholders of all the modules. Later small changes can be made with individual discussions and go for sign off.
    If you are particular abut the number of sessions, it depends on the complexity of business requirements. If the requirements are many and complex in nature, you need more sesions to understand the scenarios completely. Once you are clear with the AS IS and TO BE, preparation of BBP will become an easier task.
    Regards,
    Suhasini

  • SMD agents occupying too many session in java system

    Hello All,
    I can see SMD agent occupying too many sessions in the Java instance.
    Due to this all the available sessions are getting occupied and system performance is degrading

    Hi Rajesh,
    Please increase the sessions and share more details on the performance so as to provide guidelines.
    Regards,
    Deepak Kori

  • How can i find how many sessions are opened in my database

    Hai
    Iam using Oracle 10g version, front end that iam using is oracle forms6i, sometimes my system get hanged because of some session and not closed i think, can i know how can i find how many session is opened on my database.

    You could query the V$SESSION dynamic view. More info...here...
    HTH!

  • How many sessions does SAP allow you to have ??

    Dear Memebers,
    How many sessions does SAP allow you to have ??
    a) 3
    b) 6
    c) 9
    d) 12.
    I guess the right answer is B and C but in choices I have to select only 1, which answer will you pick and Why ??
    Thank You.
    Madhu.

    > I wanted to know for sure what is the answer.
    Hi Madhu,
    If you are going to ask questions such as these, then please indicate that you have searched and what you do already know and where & why you have a doubt somewhere which is worth discussing in the forum or sharing opinions or experiences on.
    Just asking for the answer only so that you don't feel too alone when answering 6 in the interview is of little value.
    Normally such "answer a, b, c, or d only or be quiet"-type-threads (like certification tests are) are deleted. That is the rules, and we have them for a reason.
    Anyway, you guys seem to have sorted this out amongst yourselves so there is no reason to interfere here IMO. Thanks for that.
    Cheers,
    Julius

  • How many sessions can open at a time for 10g DB

    Hi,
    My App Server is connects with min 200 users , But from last week onwards
    we are facting automatically disconnecting to the app server.
    What was the problem we don't know .
    Let me know how many sessions can open at a time ?
    Thanks,

    You need to capture any connection errors from the app server.
    Otherwise we're just guessing.
    The SESSIONS parameter restricts the number of open sessions (select * from v$parameter).
    Presumably you're using DEDICATED server connections rather than SHARED server connections?

Maybe you are looking for

  • Stuck with a number attached to a Microsoft accoun...

    We have a Microsoft Account and then we purchased a Skype Number. Because we have a Microsoft Account we can't use a DECT phone with Skype function because the username (which starts live isn't accepted. This means we're stuck using the PC connection

  • Malfunction start date in preventive notification

    Hi all I have created one notification type of preventive to capture weekly preventive maintenance & scheduled the maintenance plan.When notification is generated on due date  & I am opening the notification by t-code IW22 or IW28, system is taking m

  • Problem with my ipod mini

    Hi @ all i have a problem. I formated my ipod on windows and no i can't turn it on, everytime it shows the folder with the exclamation mark. I downloaded the iPod updater to recover it, but evertime it says: Eroror at writing on hard disk. I have no

  • How to connect LDAP to Enterprise Portal

    Hi Guru,             I need complete steps to connect LDAP into enterprise portal as LDAP is microsoft AD existing one.                     I am confuse about the user mapping and authenticatation, compareing and Single sign one.  Does we are calling

  • Tilde key on Slovenian keyboard?

    Heya everyone! I'm from Slovenia and I've been using Illustrator for quite some time now. However I have recently found out that I can't acces the so called "tilde key" because my keyboard doesn't have one. So now after looking for a solution on the