DBAsupport.com Forums - Powered by vBulletin
Results 1 to 7 of 7

Thread: Application server hanging,Exeeding no of processes

  1. #1
    Join Date
    Oct 2001
    Location
    Hyderabad
    Posts
    44

    Thumbs down

    hi DBA gurus,
    I got a problem.
    I am connecting to the database through an Application server(JBOSS), but after a few minutes it is saying "STATUS IS ACTIVE, TIMED OUT" and Application server hanged.
    Number of processes in INIT.ORA file are 300.
    I querried from V$SESSION,

    SELECT SID,USERNAME,STATUS FROM V$SESSION,

    then it displayed only 113 connections.

    Why the application server hanging, even i have given no of processes 300.

    plz reply me asap.

    thank you,
    esreddy

  2. #2
    Join Date
    Dec 2001
    Location
    UK
    Posts
    1,684
    Is the error from Oracle "ORA-?????" or from the application server. It would be nice to know the actual error number and text.

    If the error is from the application server it might be worth contacting your vendor to see if there is a parameter than limits the maximum number of simultaneous connections. It may not be anything to do with Oracle.
    Tim...
    OCP DBA 7.3, 8, 8i, 9i, 10g, 11g
    OCA PL/SQL Developer
    Oracle ACE Director
    My website: oracle-base.com
    My blog: oracle-base.com/blog

  3. #3
    Join Date
    Oct 2001
    Location
    Hyderabad
    Posts
    44

    processes problem

    hi
    there is no ORA - Error. But is there ant relation between no. of processes and no. of connection?
    thanks for ur reply

  4. #4
    Join Date
    Dec 2001
    Location
    UK
    Posts
    1,684
    If you are using Shared Server (Multi-Threaded Server) then the number of connections does not relate to the number of processes. If you are using dedicated server then every connection will spawn new processes.

    If you're expecting hundreds of simultaneous connections you may be better server by using Shared Server.

    If you are at all in doubt just increase the number of processes. If you still get the error at the same number of sessions then the problem is likely to be with your application server.
    Tim...
    OCP DBA 7.3, 8, 8i, 9i, 10g, 11g
    OCA PL/SQL Developer
    Oracle ACE Director
    My website: oracle-base.com
    My blog: oracle-base.com/blog

  5. #5
    Join Date
    Oct 2001
    Location
    Hyderabad
    Posts
    44
    i am using dedicated server, do u mean that each connection can serve for only one process? or it can serve for more than one process?
    why i am asking this qn is my no.of connections are 113 and my database processes allowable are 300.can u explain in detail plz.
    thanks
    esreddy

  6. #6
    Join Date
    Dec 2001
    Location
    UK
    Posts
    1,684
    See links for details:

    The PROCESSES parameter is used to set the maximum number of simultaneous user processes that can connect to Oracle. This includes background processes:

    http://otn.oracle.com/docs/products/...1148.htm#38052

    Since you're using dedicated server each user connection process will be assigned it's own server process. That makes two processes per connection. In some systems the two processes are combined into one.

    http://otn.oracle.com/docs/products/...nproc.htm#9896
    http://otn.oracle.com/docs/products/...intro.htm#3477

    In your case I would consider using MTS. You can always specifiy dedicated connections if needed for specific jobs (See links above)

    Cheers
    Tim...
    OCP DBA 7.3, 8, 8i, 9i, 10g, 11g
    OCA PL/SQL Developer
    Oracle ACE Director
    My website: oracle-base.com
    My blog: oracle-base.com/blog

  7. #7
    Join Date
    Oct 2001
    Location
    Hyderabad
    Posts
    44
    tahnks for the reply,
    Do u mean that for each connection there will be a PMON,SMON........
    How can i exactly know about how many processes are in use for a single connection?
    Thanks
    esreddy

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width