Restrict the session's time limit

Friends ,
In my oracle database 10g server the process limit is 400 and session limit is 445 .
Look at the following v$resource_limit output :
RESOURCE_NAME CURRENT_UTILIZATION MAX_UTILIZATION INITIAL_AL LIMIT_VALU
processes |399 |400| 400| 400
sessions |406| 408| 445| 445
Now the problem is , in my database more than 100 users are added last week and for this reason my database process crosses its limit (400) . In this case , when a user tries to login then he gets error :
" SQL> conn user@PROD
Enter password:
ERROR:
ORA-12537: TNS:connection closed"
In this moment , I dont want to increase the process value and want to find out the session who are idle for last 10 minues . Is there any parameter in oracle which helps to find out the idle session ?
Also , I want to disconnect those users who are IDLE for 10 + minutes . How can I restrict this without using any profile and also not incresing the v$process value ?
Waiting for reply .. .

try with default profile
SQL> select resource_name,limit
  2    from dba_profiles
  3   where profile='DEFAULT' and resource_name='IDLE_TIME'
  4  /
RESOURCE_NAME                    LIMIT
IDLE_TIME                        UNLIMITED
SQL> alter profile default limit idle_time 2
  2  /
Profile altered.
SQL> select resource_name,limit
  2    from dba_profiles
  3   where profile='DEFAULT' and resource_name='IDLE_TIME'
  4  /
RESOURCE_NAME                    LIMIT
IDLE_TIME                        2Khurram

Similar Messages

  • How can I get back the 15 minute time limit when making an iTunes purchase with out having to put in password again and again?

    HHow can I get the 15 minute time limit back instead of putting in iTunes password on every purchase?

    Settings > General > Restrictions > Require Password (Password Settings on iOS 8)

  • I rented a Movie and it has been loading for 3 hours now. Internet connection is fine. Have never had a problem with this before. What's really annoying is that the 24 hour time limit is counting down even though we cant watch it. Any suggestion"hours now

    I rented a Movie and it has been loading for 3 hours now. Internet connection is fine. Have never had a problem with this before. What's really annoying is that the 24 hour time limit is counting down even though we cant watch it. Any suggestions?

    The first thing to check would be your internet download speed, you can do this at www.speedtest.net.
    HD movies require a recommended speed of 6 Mbps, while SD movies require a recommended speed of 2.5 Mbps.
    Additionally, your 24 hours don't start until you begin to watch the movie, you have 30 days to start watching the movie.

  • "You've reached the monthly free time limit"

    Unless I'm miss understood in some way, Spotify doesn't have a "monthly time limit" anymore? However, I keep getting this message "You've reached the monthly free time limit" on my phone. It works completely fine on my computer. I've tried clearing the app data, and reinstalling the app, but it still gives me the error. It also counts down at the bottom as shown in the screen shot.  Phone is a Samsung Galaxy Note 4 if it matters.

    My friend I my found you solution.. I had the same problem when I was trying to download Real Soccer 2013..
    Well I went online and I found out you can download oversize apps for you lumia 820. throught your computer and automaticaly transfer to you phone with you app account email and password.
    go to this link and try to download any game
    Just follow the page and that is it.
    http://www.nokialumiaapplications.com/?s=Asphalt+7&post_type=post&submit.x=12&submit.y=6
    it works for me must work for you also or anyone with lumia 820 enjoy my friend

  • How do I restrict the size of Time Machine Back ups?

    I have a WD 500GB FW external drive which I use to store Sample Libraries for Logic Pro. I also use the same drive for Time Machine.
    I now realise that I really needed to set up a partition to restrict the size of Time Machine BackUp's.
    Is there any way of doing this now without having to reformat the drive and then setting up partitions, as this would delete my sample audio files.
    I was thinking of getting a second 500GB hard drive & daisy chaining them then creating alias's and moving my sample audio files to the new drive and leaving the existing one purely for TM backup's.
    Is, as I think it may be, this second option the better method?

    Disk Utility in Leopard can create a new partition without erasing the disk (of course you can't expect to make the existing partition smaller than the files it currently contains). You would then have the existing files on one partition and the new one would be blank, so you would have to move either the Libraries or the TM backup (I'm not sure whether you can do the latter without confusing TM).
    Two separate drives would give you more overall space, and should work fine.

  • Student tries to register outside the allowed registration time limit

    Hi Expert,
    I Have an issue when i would like to booking a module (let's say booking date 03.04.2011).
    The issue is like this " Student tries to register outside the allowed registration time limit "
    I have maintain academic calender for time limit "0300" from 01.02.2011 up to 30.07.2011.
    and i also have maintained Assign Rule Containers to Callup Points = 0001 to 50000476 ( my rule container), validation n rule module also.
    What i would like to asking is, do i have miss step when i config in validation rule ?
    warm regards,
    Rhesa Syahrial

    Hi Venod Kumar,
    Thanks for your reply.
    About your suggestion number 3. Check your VSR rule.
    I have make a formal rules ZREG_DA (Copy from REG_DAT)
    below is the syntax :
    "Check if registration date is inbetween time limit" SUM (
    RHIQ_MASTERS-ONE ) where ZREGTIMELIM >= '0001'
    below is the rule ZREGTIMELIM.
    RHIQ_MASTERS-SM_506_BOOKDATE >= RHIQ_MASTERS-CA_LENDDA AND
    RHIQ_MASTERS-CA_TIMELIMIT = '0300'
    is there any mistake?
    what i would like to do is booking date will check my calendar date time limit 0300.
    if booking date is NOT in calendar date time limit 0300 (start time and end time). system will show an error message.
    regards,
    rhesa syahrial

  • How to make an exception to RDS session Idle Time Limit?

    A little bit of background:
    We are running WYSE Thin Clients to connect to a RDS server farm at our company. We have set the Idle Session Time Limit to 12 hours, in Remote Desktop Session Host Configuration (in Connection --> Properties --> Sessions tab). This limit
    is a site requirement.
    The issue: We would like to configure a few accounts to stay logged into the RDS server indefinitely, past the 12 hour limit. How can we do this without changing the time limit for everyone?
    I have tried a script to simulate mouse movements/key presses at intervals on the client session to trick RDS, but Remote Desktop Service Manager does not show that the script affects the idle time for that client. Is there another automatic way to simulate
    user input to keep the client session active? What kind of hardware interrupt is RDS hooking into to determine that a human input has been pressed? A script would be the least intrusive to our infrastructure so if it is possible this is definitely preferred.
    I've heard that Group Policy may be a solution here - but our local IT department do not have admin access to the Domain Controller for our site, it is managed by a third party. However, if I were to solve this using group policy, what would be the
    steps? I would appreciate a step-by-step walk through if it is possible. We would have hundreds of users that need the 12 hour limit applied, and only a few that needs the infinite logon - so please keep practicality in mind.
    Thanks in advance to anyone who helps.

    Hi,
    Thank you for posting in Windows Server Forum.
    In your case, I would like to suggest the steps for you. Yes, you need to take this successful via group policy. 
    You can create 2 group: Just for reference: 
    Group 1- MinLoginTime  
    Group 2-MaxLoginTime
    Add the required users to particular group. 
    Users upto 12Hrs- MinLoginTime
    Users above 12 Hrs- MaxLoginTime
    Now need to apply group policy setting on this required groups. 
    Group 1- MinLoginTime: 
    Set time limit for active but idle Remote Desktop Services sessions-
    Enable -Set 12 Hrs
    End Session when time limits are reached- Enable
    This is because it will disconnect the session of your users who reached to 12 hrs.
    Group 2-MaxLoginTime: 
    Set time limit for active but idle Remote Desktop Services sessions-
    Not configured\Disable
    If you disable or do not configure this policy setting, this policy setting is not specified at the Group Policy level. By default, Remote Desktop Services allows sessions to remain active for an unlimited amount of time. 
    You can find the above setting option under below mention path.
    Computer Configuration\Policies\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Session Time Limits
    User Configuration\Policies\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Session Time Limits
    Note: These Group Policy settings will take precedence over the settings configured in Remote Desktop Session Host Configuration. If both the Computer Configuration and the User Configuration policy settings are configured, the Computer Configuration policy
    settings take precedence.
    More information:
    Configure Timeout and Reconnection Settings for Remote Desktop Services Sessions
    http://technet.microsoft.com/en-us/library/cc754272.aspx
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • Setting the session expiration time in ESS/MSS application

    HI Experts,
    how can we control the expiration time of a particular I view ? we have implemented ESS\MSS application on our portal . The session is getting expired after 5 minutes . We would like to increase this expiration time.
    Thanks
    Surender Dahiya

    Surender,
    Most of the ESS/MSS applications are webdynpro for java applications
    check DefaultExpirationTime in the link
    http://help.sap.com/saphelp_rc10/helpdata/en/43/8a1a8ece230c8ce10000000a11466f/content.htm
    but you can set expiration time at individual application level using sapexpirationtime which will take the precedence
    Thanks
    Bala Duvvuri

  • Apache Web Agent can't reset the session idle time value, pls help.

    Hi, all
    I'm using Apache Web Agent to protect an application, when I enter the application and do some actions in the application, I find my session's idle time value in the AM console can't be reset to zero, and after the idle time, the session will be time out.
    And the session's idle time can be reset to zero when I enter another application that protected by IIS Agent, or when I operate on AM console directly.
    My environment:
    Apache 1.3.33
    Web Agent 2.2
    RedHat Linux AS 3
    Access Manager 7.0 Patch9
    I have found a page with google, but have no answer:
    http://forums.sun.com/thread.jspa?threadID=5402511
    Please help.
    Thanks in advance!
    Shen

    Thanks for the reply, Shivaram. The issue appears to occur at random time, not accurately at the 3 min interval as you mention. I tested changing this value to 1, theoretically, after one 1 minute of idle time, accessing a link would make the agent reset the time idle value for the user session in SAM, but it didn't even after 3 minutes. This seems to be either a policy agent or system access manager bug.
    We performed a 'vanilla' test using the apache server manual pages (only plain HTML, no POST requests), the pages are protected by the policy agent. At the first login, rwe were prompted to enter credential to be validated by SAM/LDAP, and then a user session is created in SAM session table. We browse around the manual pages, once in a while, certain pages cause the policy agent to reset the time idle. However, revisiting these links after a few minutes doesn't reset the idle value. Caching setting has been disable as well. Could there be or lack of some settings in AMConfig.properties or AMAgent.properties that might have caused this behavior?
    Thanks for all your help,

  • Varing the session expiration time

    Hi all,
    the default session time with my server and the ADTB are too short (24 mins)
    Do you have a PROOFED WORKING way to extend the session lifetime?
    I tryed both to use the .htaccess variable and the ini_set("session.gc_maxlifetime")
    If I query then the ini_get("session.gc_maxlifetime") I get the new session length I decided.
    But in fact the session expires after a very short time?
    Any help would be really appreciated
    A. F.

    Hi Fonzie,
    if neither the .htaccess approach nor the ini_set function work on your host, I fear I have no idea what you could do instead, as the host admins seems to have disabled both features for whatever reason.
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • Does the session of JSP limit the capacity?

    hi,all,
    I write a JSP program,and I need to put many Vectors into the session.So I am eager to know whether the session has the limited capacity?If there is too much things in the session, will the performance of running be down?How could I do?Thanks!

    Hi
    Storing a lot of objects in Session might slow down the application depending on the load you are expecting and the resources your application server has at its disposal.
    There is no definite answer , you have to look at the application requirements and scope out the variables you may have to share at various levels - application, session, request, page etc. The trick often lies in the design of the application so that you are not making a particular object too bulky.
    As far as how to deal with your particular problem it is hard to say without looking at the requirements. If you have to put very large vectors/Objects into your session then you may have to rethink your design.
    One suggestion here is to store the Data in Collections instead of Vectors as the Vectors are costlier in terms of processing than Collections. Collections are part of the java.util.* package.
    Keep me posted on your progress.
    Good Luck!
    Eshwar Rao
    Developer Technical Support
    Sun microsystems inc
    http://www.sun.com/developers/support

  • OPENINFO and SesTm (session time limit)

    Hi All
    And thanks in advance.
    We don't quite understand SesTm and it's behavior. (We have spent lots of time reading about it and still)
    We have SesTm=60 (and transaction timeout set to 5 min) how come a call to the database last 10 min and only then return with "ORA-02049" ?
    * "ORA-02049: timeout: distributed transaction waiting for lock"
    1) Why the query didn't return after 60 sec with an error as SesTm=60 instructs ?
    *May be we don't understand SesTm. (please advice)
    2) Why the query didn't return after 5 min as the transaction timeout instructs ? (TMQFORWORD -t 300)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    EXTRA INFORMATION (OPTIONAL) documentation of SesTm
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    The SesTm definition:
    " SesTm=session_time_limit
    Specifies the maximum number of seconds allowed in a transaction between one service and the next, or between a service and the commit or rollback of the transaction, before the system aborts the transaction. For example, SesTM=15 indicates that the session idle time limit is 15 seconds.
    For example, if the TPM uses remote procedure calls between the client and the servers, then SesTM applies to the time between the completion of one RPC and the initiation of the next RPC, or the tx_commit, or the tx_rollback.
    The value of 0 indicates no limit. Entering a value of 0 is strongly discouraged. It might tie up resources for a long time if something goes wrong. Also, if a child process has SesTM=0, then the SesTM setting is not effective after the parent process is terminated ."
    You can read more about OPENINFO here:
    http://download-east.oracle.com/docs/cd/B19306_01/appdev.102/b14251/adfns_xa.htm#i1006488
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Regards
    TechSgin
    Edited by: TechSgin on May 6, 2010 2:09 PM
    Edited by: TechSgin on May 6, 2010 2:42 PM

    Hi,
    timeouts can be tricky (see other threads in this forum for some elaborations on timeouts).
    To be brief, always set SesTm to a higher value than your transaction timeout. Rationale: You'll want Tuxedo to take action first, not Oracle ("behind Tuxedo's back"). If Tuxedo takes action first, the transaction will be managed more predictably if more data sources are involved.
    Now it gets even more complicated. The transaction timeout value does not really specify how long something is really going to last, only how long time we're ready to wait for it until we give up. The -t 300 parameter to TMQFORWARD really means that the transaction will be forced to be rolled back unless it completes in (some) 300 seconds (it's really 300 seconds + BLOCKTIME - 1 that gives the maximum time due to rounding issues).
    Just because the client (TMQFORWARD in this case) gives up waiting for a reply, the server won't necessary give up trying to produce it. In fact, it will continue to try as hard as possible to finally deliver a result. Any DML operation after the transaction timeout will most probably fail, but the server might try a lot of them (and the one causing the timeout will generally have to complete first).
    If you really want to terminate long-running transactions in the server you need to specify a SVCTIMEOUT for the service(s) in question. In this case, Tuxedo will kill (using SIGINT and/or SIGKILL) any process running a service that takes too long time. In this case you better configure the server (the potential "killee") with RESTART=Y and MAXGEN=x.
    Hope this helps,
    /Per

  • SE30 - Unable to end the measurement (error number 5, Time limit reached)

    Hello there,
    I wish to perform a complete ABAP trace using SE30 for a program running for 4 hours. The system is R/3 4.6C.
    However I got the error message below once I clicked "Back" button or F3 when the program finished after 4 hours.
    Please note that ST12 is not available in the system I logged on.
    =============================================================
    Error message:
    "Unable to end the measurement (error number 5, Time limit reached)
    Message no. S7 068"
    Meas. type           Fully aggregated
    Session type         In current session
    Status               Time limit reached
    Error message text   Time limit exceeded. LIMIT: 1800000000, ELAPSED TIME: 1800957266
    File user            XXX
    User                 XXX
    File ID              ATRAFILE
    Release              46C
    Version              6
    Operating system     HP-UX
    Number of processors ???
    =============================================================
    The ABAP trace results only managed to capture the first 45 minutes of the ABAP calls (due to timeout i think). I would need the whole and complete ABAP trace result for 4 hours, NOT the first 45 minutes. Is there any setting in SE30 can be set for this purpose? Note that there is no ABAP error for the program I traced.
    The following link didn't answer my question as well. Hope you can provide clue in this case.
    http://help.sap.com/saphelp_nw70/helpdata/en/c6/617cafe68c11d2b2ab080009b43351/content.htm
    Runtime analysis, SE30, ERROR
    Thanks,
    KP

    Hi Kim,
    The Limit is expliced on the Doc.
    http://help.sap.com/saphelp_nw70/helpdata/en/4d/4e2f37d7e21274e10000009b38f839/frameset.htm
    It's 4293 Actually and you set it on SE30 by change the  Measurement Restrictions, tab Duration/Type.
    regards.

  • Is there any way to limit the number of times that a PDF can be opened?

    I run a small publishing company and we want to provide exam copies of our books to professors.  At present our exam copies have the words EXAM COPY as a water mark on every page and we've also made the files so that they can't be printed or easily copied.  However, we'd like to also restrict these PDFs so that they can only be opened 5 times.  I've read about FileOpen but that approach seems a bit more complex than needed.  Is there any other way to restrict the number of times that a PDF file can be opened once it is downloaded?  Thanks in advance for any suggestions.

    DRM soltions like FileOpen are your best bet for PDFs. Others include Adobe's LiveCycle Rights Managment, LockLizard, Armjisoft PDF Security OwnerGuard, etc.
    They all work and are priced differently, but there's really nothing for what you want to do that is both simpler and secure.

  • How to change the day and time seen on the calendar

    Hi.
    I am a bit confused as to how to restrict the day and time shown on a calendar.
    The ical help says this:
    To change the days of the week or the number of hours that appear in the main calendar view, choose iCal > Preferences, and make your choices from the Week and Day pop-up menus in the General pane. For example, you can choose to only see the hours from 9AM to 5PM on Monday through Friday.
    However, in my preferences pane, i don't have a either a week or day pop up menu that i can see, so i can't seem to restrict these fields. It's really frustrating as calendars are beginning at 1am!!!!
    Anybody got any ideas?
    Thanks
    David Tobin

    OK, but what did the help menu mean when it said..
    To view the day's, week's, or month's events, click the Day, Week, or Month button at the bottom of the iCal window.
    To change the days of the week or the number of hours that appear in the main calendar view, choose iCal > Preferences, and make your choices from the Week and Day pop-up menus in the General pane. For example, you can choose to only see the hours from 9AM to 5PM on Monday through Friday.
    To change which months are shown in the mini-month calendar (in the lower-left corner of the iCal window), click the arrows above the mini-month calendar. To see more than one month, drag the mini-month divider (the horizontal gray bar above the diamond) upward.
    To see events that are earlier or later in the day, use the scroll bar on the right side of the main calendar view.
    To change the range of time in the main calendar view that is not shaded (representing your "normal" day), choose iCal > Preferences. In the General pane, choose the times you want to appear in white (not shaded) from the "Day starts at" and "Day ends at" pop-up menus. All times outside that range are shaded.
    This suggests that you should be able to limit the hours actually shown on the calendar to a set range as opposed to just changing the shaded area.
    Have you any idea how to achieve this, as i don't see the popup menu suggested with...
    To change the days of the week or the number of hours that appear in the main calendar view, choose iCal > Preferences, and make your choices from the Week and Day pop-up menus in the General pane. For example, you can choose to only see the hours from 9AM to 5PM on Monday through Friday.
    I am confused!!
    Any other ideas?
    David Tobin

Maybe you are looking for

  • For the mid month new joiner the annual Conveyance exemption is coming incorrectly

    Dear All, For one of our client, we have have faced a uniqe issue. If any employee join in the mid of the month, his prorated conveyance amount ( wage type 2020) is coming correctly. Suppose an employee joined at 16th of the month, system is calculat

  • CGI/perl skript doesn't run

    Hi ! I am facing problem in running a Perl CGI Script on Weblogic Application Server I set the CGIServlet Property in the Weblogic Properties file as # cgi configuration weblogic.httpd.register.cgi-bin=weblogic.servlet.CGIServlet weblogic.httpd.initA

  • My location service comes on by itself!

    location service turned off in settings, but location arrow keeps coming up on it's own. It's killing my data usage when i don't catch it right away. please help

  • Yahoo has taken over the search function of my mini mac...help

    hi...when I type searces into my Safari bar at the top of my scree...the results come back as yahoo seearch

  • Statistical WBS in Error

    In Project Systems -we have a Level 4 WBS that has a travel document /cost charged against it and the WBS is statistical, when we move the cost to a cost center and return to CJ20N to view the WBS in question, the statistical box is greyed out, refus