Determine optimal number of concurrent sessions

How do I determine the optimal number of concurrent network and local processes
for my system?
<P>
On Unix Messaging Servers, there is a configuration option (select "System
Configuration") that allows an administrator to specify the maximum number of
concurrent local and network processes. On NT, each process is a thread, so there is a differentiator for
IMAP/POP.
<P>
Network processes are IMAP, POP, and SMTP-Deliver. If you set this number to 32,
there will be 32 processes available each for IMAP, POP, and SMTP-Deliver.
If all three modules use their maximum allotment of processes, there will be a
total of 96 processes for IMAP, POP, and SMTP-Deliver.
<P>
Local processes are SMTP-Accept, SMTP-Router, Error-Handler, Mailbox-Deliver,
and other processes that process mail within the Messaging Server. If you set
this number to 16, there will be 16 processes available for each of these
modules.
<P>
Determining an optimal number for each of these settings requires analysis of
your configuration and users, as well as some testing. To find a number to
start with, use these directions. Then try running your server and monitor the
performance. If you want to optimize the numbers, change them a little bit at a
time and note if the performance improves or not. After trying a few different
numbers, you will probably be able to determine a range that works for your
system. Remember to leave yourself a buffer of extra available processes to
handle peak traffic, or spikes in traffic that are unexpected.
<P>
If you have a SMTP service only, then the maximum number of concurrent network
processes needs to be around the maximum number of simultaneous messages sent
plus the number of processes needed to deliver messages. For example, if you have 100
users per second attempting connections, network processes will be
100 + 10-50 delivery agents. This value is dependent upon how much mail you send.
<P>
If this machine is also used for message pickup,(POP3/IMAP4), you need to
consider these network processes, too. For example, 1000 IMAP sessions adds 1000
to the network processes, while POP would add about one quarter to one half as much.
<P>
Be careful configuring the maximum number of concurrent local processes. If
they are configured too high then you have I/O race conditions with processes
trying to compete for I/O and the CPU. The best approach is to start off with
around 10 and increase this value in units of 5 observing the drain rate of
message delivery.

Go to Performance tab and click Search Sessions. In next page dont specify anything and just click Go. It will show you all DB User Type users in Results grid. You can change that to System User Type.

Similar Messages

  • Large number of concurrent sessions

    What optimizations are used to provide a large number of concurrent sessions?

    Generally:
    1) Design so that clustering is easy - e.g. cache only read-only data, and
    cache it agressively
    2) Keep replication requirements down - e.g. keep HTTP sessions small and
    turn off replication on stateful session beans
    3) Always load test with db shared = true so that you don't get nasty
    surprise when clustering
    4) Don't hit the database more than necessary - generally the db scales the
    poorest
    Peace,
    Cameron Purdy
    Tangosol, Inc.
    Clustering Weblogic? You're either using Coherence, or you should be!
    Download a Tangosol Coherence eval today at http://www.tangosol.com/
    "Priya Shinde" <[email protected]> wrote in message
    news:3c6fb3bd$[email protected]..
    >
    What optimizations are used to provide a large number of concurrentsessions?

  • How to determine optimal no of concurrent manager processes

    Hi,
    We have a PROD env with 8 cpu and 64 G in database tier which is also the conc processing tier. The release version is 12.0.4 and OS is HP Itanium. Currently there are more than 160 conc manager processes running including the standard manager and is creating huge load during peak hrs. I want to cut down on the number of processes and implement the optimal no of processes. Looking for some suggestion on the same.
    Is there any algorithm to calculate the optimal no of processes that should run depending on system hardware resource, no of users etc..
    Thanks
    Rit

    Hi,
    I do not believe such a formula exists or documented somewhere. I believe you need to tune you concurrent managers, and this depends on many factors (number of CPUs, number of users, number of concurrent requests, ..etc).
    I would suggest you go through the following documents for some recommendations. You will have to adjust the Concurrent Managers parameters according to the load you have until you are satisfied with the performance. Make sure you consider reviewing the following parameters/factors:
    - PMON cycle
    - Sleep time
    - Cache size
    - Number of records in CM tables (using "Purge Concurrent Requests And/Or Manager Data" concurrent program)
    - Number of standard managers
    - Statistics for CM tables (using "Gather Table Statistics" concurrent program)
    Note: 105133.1 - Concurrent Manager Questions and Answers Relating to Generic Platform
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=105133.1
    Note: 211362.1 - Process Monitor Session Cycle Repeats Too Frequently
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=211362.1
    Note: 117648.1 - Troubleshooting Performance Issues in Oracle Applications/ E-Business Suite
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=117648.1
    Note: 114380.1 - Concurrent Manager Processes Taking Lots of CPU
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=114380.1
    Note: 178925.1 - How to change the sleep time for a Concurrent Manager
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=178925.1
    Note: 155170.1 - How to Change the Sleep Time Parameter Setting for Internal Concurrent Manager
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=155170.1
    Note: 270458.1 - How to Reduce the Wait Time Between Spawned Concurrent Requests
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=270458.1
    Note: 182154.1 - Summary of Possible Reasons and Solutions for the Problem Where All Concurrent Requests Stuck in Pending Phase
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=182154.1
    Regards,
    Hussein

  • What is the Maximum Number of Concurrent Sessions allowed on a Shared Exchange Mailbox ?

    Hi,
    I have a query that how many concurrent sessions are allowed on a Resource Mailbox ?
    E.g. I have a scenario in which i run a Helpdesk, and it has an email address ([email protected]), where company employees can email thier IT Issues/requests.
    Now I have hired say 50 Service Desk agents, now is it possible that all 50 can access the IThelpdesk mailbox at one time ? Are there any limits on the number of the concurrent sessions of the mailbox ? What are the the permutations and combinations in this
    case ?
    ** The mailbox is on Exchange Server 2003**
    Regards,
    Tojo Thankachan
    +91 7875039665

    Hi,
    Exchange Server 2003 SP1 imposes a restriction on the number of permitted MAPI sessions per user. By default, the maximum number of permitted MAPI sessions per user is set to a hexadecimal value of 0x20 after you apply Exchange Server 2003 SP1.
    Generally, Event ID 9646 will be logged in the application event log of your Exchange Server 2003 computer when a client opens many MAPI sessions. Here is a KB descripted the details of it:
    http://support.microsoft.com/kb/842022
    For more information about MAPI session limit, please refer to:
    http://technet.microsoft.com/en-us/library/dd159906(v=exchg.80).aspx
    Thanks,
    Winnie Liang
    TechNet Community Support

  • Whats the limit of max no of concurrent sessions in oracle9i database

    Hi,
    pls let me know whats the limit of max no of concurrent sessions in oracle9i database .
    Thanks.

    Hi,
    Oracle no longer offers licensing by the number of concurrent sessions.
    There used to be 2 initialization parameters : - LICENSE_MAX_SESSIONS and LICENSE_SESSIONS_WARNING . these have been deprecated.
    Therefore Jaffer's statements stands.....
    Cheers...rCube.

  • Q: Count concurrent sessions per hours in a specified interval

    Hi,
    I have this table wich contains SESSIONID, CREATEDATE, LASTCHECKDATE, EXPIREDATE, PARTNERID
    We need to make a query that would return the number of max concurent session per hours for the interval specified.
    For example, for last week, on a per hour bases, or day bases, the top concurent session for each hour or day depending on the report.
    can do the number of new session on each hour with this query;
    SELECT TO_CHAR(createdate, 'YYYY/MM/DD HH24') ||'h ' start_time, COUNT( SESSIONID ) new_sessions, name || ' {' || partnerid || '}' as Partner
    FROM uws
    WHERE expiredate IS NOT NULL
    and partnerid=25
    and TO_CHAR(createdate,'YYYY/MM') = '2010/05'
    group by TO_CHAR(createdate, 'YYYY/MM/DD HH24') ||'h ', name || ' {' || partnerid || '}'
    ORDER BY 1 DESC;
    I think I should use MAX(count(sessionid)) and probably some DECODE when c1 between createdate and lastcheckdate...
    This would need to run on sqlplus from a shell script if possible and even chart it on Google Charts.
    Any help appreciated, note that I am not an Oracle expert..
    Edited by: user11954725 on Jul 19, 2010 5:55 PM

    Thanks Frank,
    I think we are very close to the solution I am looking for now;
    Here is the script you gave me (with little modifications) and the output;
    WITH     all_hrs          AS
         SELECT     min_hr + ((LEVEL - 1) / 24)     AS period
         ,     min_hr + (LEVEL / 24)     AS next_period
         FROM     (
                   SELECT TRUNC (MIN (createdate), 'HH')     AS min_hr
                   ,     TRUNC (MAX (LASTHEARTBEATDATE), 'HH')     AS max_hr
                   FROM     userwebsession
    where createdate <= TO_DATE('07-MAY-2010 00.00.00','DD-MON-RR HH24.MI.SS')
    and LASTHEARTBEATDATE >= TO_DATE('07-MAY-2010 23.59.59','DD-MON-RR HH24.MI.SS')
         CONNECT BY     LEVEL <= 1 + (24 * (max_hr - min_hr))
    SELECT     TO_DATE(a.period,'DD-MON-YY hh24') "Period"
    ,     COUNT (u.userwebsessionid)     AS sessions
    FROM          all_hrs     a
    LEFT OUTER JOIN     userwebsession     u     ON     a.period     <= u.LASTHEARTBEATDATE
                        AND     u.createdate     <= a.next_period
    group by a.period
    ORDER BY a.period
                   SELECT TRUNC (MIN (createdate), 'HH')     AS min_hr
                   ,     TRUNC (MAX (LASTHEARTBEATDATE), 'HH')     AS max_hr
                   FROM     SPEAKESL.userwebsession
    where createdate <= TO_DATE('07-MAY-2010 00.00.00','DD-MON-RR HH24.MI.SS')
    and LASTHEARTBEATDATE >= TO_DATE('07-MAY-2010 23.59.59','DD-MON-RR HH24.MI.SS');
    produce output;
    Period SESSIONS
    19-APR-10 15
    19-APR-10 12
    19-APR-10 15
    19-APR-10 18
    19-APR-10 6
    19-APR-10 7
    19-APR-10 6
    19-APR-10 16
    19-APR-10 18
    19-APR-10 21
    19-APR-10 19
    19-APR-10 24
    19-APR-10 15
    19-APR-10 7
    19-APR-10 10
    19-APR-10 6
    19-APR-10 9
    19-APR-10 7
    19-APR-10 6
    20-APR-10 5
    20-APR-10 5
    20-APR-10 6
    20-APR-10 7
    20-APR-10 7
    20-APR-10 13
    20-APR-10 7
    20-APR-10 6
    20-APR-10 4
    20-APR-10 8
    20-APR-10 8
    20-APR-10 6
    20-APR-10 14
    20-APR-10 7
    20-APR-10 5
    20-APR-10 14
    20-APR-10 9
    20-APR-10 9
    20-APR-10 7
    20-APR-10 5
    20-APR-10 4
    20-APR-10 5
    20-APR-10 3
    20-APR-10 4
    21-APR-10 4
    21-APR-10 5
    21-APR-10 5
    21-APR-10 5
    21-APR-10 5
    21-APR-10 5
    21-APR-10 6
    21-APR-10 7
    21-APR-10 8
    21-APR-10 14
    21-APR-10 7
    21-APR-10 8
    21-APR-10 4
    21-APR-10 6
    21-APR-10 10
    21-APR-10 26
    21-APR-10 14
    21-APR-10 10
    21-APR-10 12
    21-APR-10 6
    21-APR-10 7
    21-APR-10 6
    21-APR-10 5
    21-APR-10 6
    22-APR-10 7
    22-APR-10 7
    22-APR-10 7
    22-APR-10 6
    22-APR-10 7
    22-APR-10 8
    22-APR-10 9
    22-APR-10 5
    22-APR-10 21
    22-APR-10 7
    22-APR-10 34
    22-APR-10 29
    22-APR-10 29
    22-APR-10 10
    22-APR-10 21
    22-APR-10 17
    22-APR-10 50
    22-APR-10 43
    22-APR-10 43
    22-APR-10 26
    22-APR-10 13
    22-APR-10 16
    22-APR-10 15
    22-APR-10 35
    23-APR-10 6
    23-APR-10 3
    23-APR-10 4
    23-APR-10 4
    23-APR-10 2
    23-APR-10 3
    23-APR-10 2
    23-APR-10 2
    23-APR-10 4
    23-APR-10 11
    23-APR-10 6
    23-APR-10 14
    23-APR-10 16
    23-APR-10 20
    23-APR-10 11
    23-APR-10 20
    23-APR-10 43
    23-APR-10 30
    23-APR-10 46
    23-APR-10 41
    23-APR-10 26
    23-APR-10 50
    23-APR-10 51
    23-APR-10 66
    24-APR-10 4
    24-APR-10 2
    24-APR-10 2
    24-APR-10 2
    24-APR-10 2
    24-APR-10 2
    24-APR-10 2
    24-APR-10 2
    24-APR-10 2
    24-APR-10 2
    24-APR-10 5
    24-APR-10 5
    24-APR-10 3
    24-APR-10 2
    24-APR-10 3
    24-APR-10 5
    24-APR-10 6
    24-APR-10 5
    24-APR-10 4
    24-APR-10 3
    24-APR-10 4
    24-APR-10 4
    24-APR-10 2
    24-APR-10 2
    25-APR-10 2
    25-APR-10 2
    25-APR-10 2
    25-APR-10 2
    25-APR-10 2
    25-APR-10 2
    25-APR-10 3
    25-APR-10 3
    25-APR-10 4
    25-APR-10 4
    25-APR-10 4
    25-APR-10 3
    25-APR-10 2
    25-APR-10 2
    25-APR-10 5
    25-APR-10 6
    25-APR-10 4
    25-APR-10 5
    25-APR-10 4
    25-APR-10 5
    25-APR-10 6
    25-APR-10 5
    25-APR-10 3
    25-APR-10 3
    09-MAY-10 7
    09-MAY-10 8
    09-MAY-10 8
    09-MAY-10 6
    09-MAY-10 8
    09-MAY-10 8
    09-MAY-10 5
    09-MAY-10 5
    09-MAY-10 5
    09-MAY-10 5
    09-MAY-10 5
    09-MAY-10 5
    09-MAY-10 5
    09-MAY-10 5
    09-MAY-10 5
    10-MAY-10 7
    10-MAY-10 6
    10-MAY-10 6
    10-MAY-10 7
    10-MAY-10 5
    10-MAY-10 5
    10-MAY-10 5
    10-MAY-10 5
    10-MAY-10 6
    10-MAY-10 12
    10-MAY-10 12
    10-MAY-10 20
    10-MAY-10 12
    10-MAY-10 13
    10-MAY-10 14
    10-MAY-10 17
    10-MAY-10 12
    10-MAY-10 15
    10-MAY-10 14
    10-MAY-10 12
    10-MAY-10 8
    10-MAY-10 8
    10-MAY-10 7
    10-MAY-10 7
    11-MAY-10 7
    11-MAY-10 7
    11-MAY-10 8
    11-MAY-10 8
    11-MAY-10 7
    11-MAY-10 30
    11-MAY-10 37
    11-MAY-10 43
    11-MAY-10 22
    11-MAY-10 14
    11-MAY-10 17
    11-MAY-10 19
    11-MAY-10 26
    11-MAY-10 20
    11-MAY-10 20
    11-MAY-10 30
    11-MAY-10 14
    11-MAY-10 18
    11-MAY-10 11
    11-MAY-10 12
    11-MAY-10 8
    11-MAY-10 8
    11-MAY-10 10
    11-MAY-10 8
    12-MAY-10 14
    12-MAY-10 12
    12-MAY-10 75
    12-MAY-10 51
    12-MAY-10 38
    12-MAY-10 39
    12-MAY-10 22
    12-MAY-10 17
    12-MAY-10 13
    12-MAY-10 12
    12-MAY-10 11
    12-MAY-10 17
    12-MAY-10 30
    12-MAY-10 28
    12-MAY-10 23
    12-MAY-10 20
    12-MAY-10 18
    12-MAY-10 12
    12-MAY-10 15
    12-MAY-10 16
    12-MAY-10 14
    12-MAY-10 28
    569 rows selected
    MIN_HR MAX_HR
    19-APR-10 12-MAY-10
    Now the output seem to produce the concurrent sessions as needed but the date range show is not exactly.
    I expect the output to display only for the range specified in parameter, which if for this example only one day.
    Probably if we ask for more that few days, we would like to display the MAX number of concurrent session for one day and the average (optional) also for that day and this for all days in the period.
    So for example based on the above output this next level report would output as follow (for period of 19-APR-10 to 27-APR-10;
    19-APR-10 24
    20-APR-10 14
    21-APR-10 26
    22-APR-10 50
    23-APR-10 66
    24-APR-10 6
    25-APR-10 6
    26-APR-10 105
    27-APR-10 44

  • CAL. number of concurrent database sessions FOR CERTAIN HARDWARE CONFG.

    How i can calculate the number of concurrent database sessions for a cartine hardware config.?
    If i used :
    oracle 8i 8.1.7 database on compaq server ML530 PIII 733 and 1024M RAM
    9iAS application on compaq server ML370 2xPIII 866 and 1024M RAM
    best regards
    ASHRAF SHAWKY
    [email protected]
    [email protected]
    null

    misterimran wrote:
    Dear Deepak,
    This is what I am talking about. This session information only shows 1 session of apache.
    However many users are connected to apache more then like 250.Are you trying to figure out how many different users are using Apache? Or how many sessions exist in the database? In a three-tier environment, you almost always have a connection pool, so the number of hitting the middle tier is substantially different than the number of sessions in the database.
    What is the business problem you are trying to solve? Is this a licensing question? Or a technical question? If it is technical question, what problem are you trying to solve?
    Justin

  • Maximum Number of Concurrent User Sessions Limit?

    Please can you tell me if there is a limit for the maximum number of concurrent users sessions that can access the Portal? If so, where is the setting and how do I change it?
    By the way, I am not experiencing any issues; I am asking purely for information purposes
    Thanks.

    There used to be under one of the services in service configuration.  I thought it was under portal runtime, but I can´t see it now.  It mentioned it in the TZTEP1 course, but I haven´t got it with me.
    Having said that, I don´t know if it worked!
    Paul

  • Concurrent Session Limits to reduce TFO overload

    Is there a way to limit the number of concurrent connections per source IP address within a given WAAS?
    I often see one IP address (ie. client) consuming more than their fair-share of available optimizable sessions.  I'd like to be able to set a maximum concurrent session limit based on a source IP at several of my remote sites.  Once the max (let's say 15 concurrent sessions per client) is hit, their next session will automatically go into passthrough.  Any new sessions associated with that client IP, up to that limit, would be eligible for optimization.
    I know there is a way to do limit this for management users via the System.security.maxSimultaneousLogins, but I'd like to see one that's directed at the optimized traffic.

    Is there a way to limit the number of concurrent connections per source IP address within a given WAAS?
    I often see one IP address (ie. client) consuming more than their fair-share of available optimizable sessions.  I'd like to be able to set a maximum concurrent session limit based on a source IP at several of my remote sites.  Once the max (let's say 15 concurrent sessions per client) is hit, their next session will automatically go into passthrough.  Any new sessions associated with that client IP, up to that limit, would be eligible for optimization.
    I know there is a way to do limit this for management users via the System.security.maxSimultaneousLogins, but I'd like to see one that's directed at the optimized traffic.

  • Is there a way to control the number of concurrent SMTP connections on Database Mail?

    Las week Rackspace started controlling the number of concurrent SMTP connections and we are now getting the following message when we send as little as 15 messages at a time using Database Mail:
    Exception Message: Cannot send mails to mail server. (Service not available, closing transmission channel. The server response was: 4.7.0 smtp13.relay.dfw1a.emailsrvr.com Error: too many connections from IP xxx.xxx.xxx.xxx)
    We are using SQL Server 2005 and Windows 2003 and we have been doing this since 2006 with no problems
    Is there a way to control the number of concurrent SMTP connections used by Database Mail or the Database Mail external executable DatabaseMail90.exe?

    Hi rkohler,
    Usually, we can use the Database Mail Configuration Wizard or the Database Mail stored procedures to determine the server name and port number for the Simple Mail Transfer Protocol (SMTP) server . In the SMTP server points, we can set or increase the number
    of concurrent connections.
    There is similar issue about database email on SQL Server 2005, you can refer to the following post.
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/6bb7b600-f025-451b-898b-2caa29c10d4d/only-some-email-gets-sent-successfully-from-spsenddbmail-database-mail-on-sql-server-2005
    Thanks,
    Sofiya Li
    If you have any feedback on our support, please click here.
    Sofiya Li
    TechNet Community Support

  • Number of concurrent users

    how can I find the number of concurrent users in oracle 10g;
    thank you

    You mean ACTIVE users ??
    Use following script :
    active.sql
    set pagesize 120
    set linesize 150
    select username, count(*) from v$session where status = 'ACTIVE'
    group by username;
    column spid format a5
    column sid format 9999
    column serial# format 999999
    column username format A9
    column schemaname format A8
    column osuser format a20
    column machine format a15
    column logondate format a15
    column terminal format a10
    column status format a10
    column module format a25
    select a.sid, a.serial#, b.spid,
    --a.process,
    a.username,
    to_char(a.logon_time,'DD-MM HH24:MI:SS') LogonDate, a.osuser, a.machine, a.status, a.module
    from v$session a, v$process b where a.paddr = b.addr
    and a.status = 'ACTIVE' and a.username is not null
    order by 9;
    --order by b.spid;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Number of concurrent users working in Discovery System

    Dear expert,
    What are the optimal number of user that working concurrently in DS that will not facing the system performance problem? 
    We using about 12 laptops in the same exercise and we got the system performance problem especially Java application.
    Who can let me know what are the optimal number of users for using in DS at the same time.
    Best regards,

    Dear expert,
    What are the optimal number of user that working concurrently in DS that will not facing the system performance problem? 
    We using about 12 laptops in the same exercise and we got the system performance problem especially Java application.
    Who can let me know what are the optimal number of users for using in DS at the same time.
    Best regards,

  • How can I know the number of concurrent users

    Dears,
    We have a sizing document from one of our vendors which is asking for the "Peak number of concurrent users in E-mail".
    How can we estimate that? is it something like 5% of Total # of Users?

    Hi,
    If your field symbol has been defined as an internal table :
    Use std describe as
    Data: l type i.
    describe <fs> lines l.
    'l' will contain the number of lines as needed.
    FYI
    The size of this storage area in a field symbols depends on the number of table lines which is not fixed, but determined dynamically at runtime.
    Regards,
    Amit

  • Limit the number of concurrent users

    Is it possible to limit the number of concurrent users for the application in Websphere or at the http management level?

    You don't say what version of Websphere you are using, but here's how you might limit the number of sessions in Websphere 4.0 Advanced Edition (other versions may differ):
    Open the Administrative Console. Go down the tree to Nodes, Application Servers and click on the server you want to control (likely Default Server). In the right panel, click on the Services tab. In that panel, click on the Session Manager Service and click the Properties button. That pops up a new dialog.
    Select the Advanced tab here. Put a number in the Maximum in-memory Session Count field and uncheck the Allow Overflow checkbox. Click OK, etc, etc, and you'll probably have to restart Websphere.
    I said "might" because I don't know if this will do what you want or not. Read the help file associated with that dialog and judge for yourself.

  • How to find out number of concurrent users  connectd to a site?

    I would like to find out the number of concurrent users on my site. What is the best way to do it?
    This is how I implement it currently:
    I have a HashSet object in the session. whenever a user visits the page, i added the user's sessionID to the HashSet. But when a user leaves my page, it won't inform my jsp pages. The only thing I can do now is whenever I add a new sessionID, I loop through the HashSet and check to see which sessionID is invalid or inactive, then remove the it. Does a user session becomes invalid immediately when the user leaves the page, or it has to wait till it times out?
    Are there any other more efficient ways of doing it?

    Look at HttpSessionBindingListener. That will let you do what you want to, correctly.
    User session will time not. If it were to become invalid immediately, it won't be called a "session" would it?

Maybe you are looking for

  • Browser based InfoPath form deployed on a Claims based Web Application calling a Secure Web Service via Data Connection

    hi, We have a Browser based InfoPath Form deployed on a Claims based Web Application. We are tyring to call WCF Services that are secure using Certificates via the Data Connections on Infopath Form. Earlier we used to get the Data in BCS External Lis

  • Why does my battery run out zoo quickly

    I got a late 2011 macbook NEW and the battery runs out in a hour just surfing the web....Doesnt it supposed to have 7 hour battery??

  • Toshiba L305-S5919 Satellite Issue

    I received the above computer as a prize in a contest in April 2009.  Ever since I got it, I've had problems connecting to wireless be it at home or at work.  I can be sitting right next to my husband when he's on his laptop and is connected but mine

  • Prevent user from opening an applescript file

    Greetings,      I have written an Applescript for use by the User to change file permissions on folders or files they get from clients from outside our company.  The permissions of these files denies the User from opening the files and work with them

  • OVM 3.2 enable to boot PVM Windows guest via NFS

    Hi all, I am currently trying to create a Windows 2k8 PVM guest. I have extracted the ISO file on the OVM manager and ensured that NFS is currently running. I edited the /etc/exports file to point to the extracted folder with RO permissions. When I a