How to killl the idle or stale connection to LDAP

I have client which is connecting to ldap server through iDAR. If the client doen't UNBIND usually, how can I make sure the idle connection could be closed, instead of climbing up?
Thanks!

Hi Rogers,
Thanks for your message!
Yes, you are right. iDAR does have the same attribute of nsslapd-masdescriptor. We already set it to 1024. In the mean time, we have set rlim_fd_max and rlim_fd_cur set in your /etc/system file. Both are set to 4096. After the change, we reboot our unix box.
Based on documents I have read, it should function well. However, I don't know why it doesn't help me.
Regarding the idle timeout issue, I guess I can create a speicific group in iDAR and set the idle timeout attribute for the new group. In that way, all the connection from certain IP will time out if they have timeout over the limit.
So, in your understanding, the file descriptor should work for me. I believe you are right.
What I should do next is testing. I will post my result when my connection issue is solved completely.
Thanks!

Similar Messages

  • How to find the number of users  connected to database from OS level(Linux)

    Hi All,
    Could anyone know , how to find the number of users connected to database without connecting with sql*plus
    is there any command to find it?
    example we have 10 databases in one server, how to find the number of users connected to particular database without connecting to database(v$session)?
    oracle version:- 10g,11g
    Operating System:- OEL4/OEL5/AIX/Solaris
    any help will be appreciated.
    Thanks in advance.
    Thank you.
    Regards,
    Rajesh.

    Excellent.
    Tested, works as long as you set the ORACLE_SID first ( to change databases )
    ps -ef | grep $ORACLE_SID | grep "LOCAL=NO" | awk '{print $2}' | wc -l
    Thanks!
    select OSUSER
        from V$SESSION
    where AUDSID = SYS_CONTEXT('userenv','sessionid')
        and rownum=1;Best Regards
    mseberg

  • How to find the number of ODBC connections to Oracle Database

    Hi All,
    How to find the number of ODBC connections and all connections to the Database in last week. Are there any views to get this information?
    Thanks in advance,
    Mahi

    What Ed said is true that Oracle doesn't note which type of protocol is connecting to the database, however, you can see which program is accessing the database.
    For example: if you already know of a user using ODBC, you can verify as:
    select username, osuser, terminal, program from v$session where username = 'SCOTT'
    USERNAME                 OSUSER          TERMINAL   PROGRAM
    SCOTT                    IUSR_SRV231     SRV231     w3wp.exe
    SCOTT                    IUSR_SRV231     SRV231     w3wp.exe
    2 rows selected.Assuming that you can confirm the progam noted in the above (example) is the one using ODBC, then you can change the query such as:
    SQL> select username, osuser, terminal, program from v$session where program = 'w3wp.exe';
    USERNAME                 OSUSER          TERMINAL   PROGRAM
    SCOTT                    IUSR_SRV231     SRV231     w3wp.exe
    SCOTT                    IUSR_SRV231     SRV231     w3wp.exe
    2 rows selected.Just for kicks, I checked our listener.log file, but there was no reference of odbc in it either.
    Hope this helps...

  • How to increase the limit of maximim connections that the iMS will accept

    how to increase the limit of maximim smtp connections that the iMS will accept & route the mails for specific domain on different mta like iMS will accpet mails on 192.168.1.5|25 & route all @mydomain.com's mails towards 192.168.1.55|25. although I am able to route the mails but to know how to increase the limit of maximum connection & maximum chiild processes per connection.
    Thanks

    Best thing for you to do is read the tuning guide, found here:
    http://ims.balius.com/downloads.php#tuning_guide
    Please note, this site does not work with IE. It's not a Sun site, but has the best tuning guide available.
    You may end up increasing maxjobs for your channels, increasing the POOL that the jobs are pulled from, etc. It's all well covered in the guide, as are some OS related tuning tips.
    Strongly recommended.

  • How to use the iphone 5 s connect the computer?I want copy photo from computer.

    how to use the iphone 5 s connect the computer?I want copy photo from computer.Who can teach me~thank^^

    You can move a photo from the computer to the phone using any of the following:
    iTunes sync: http://support.apple.com/kb/HT4236
    Photo Stream: http://support.apple.com/kb/HT4486
    3rd party apps such as: http://www.photosync-app.com

  • How to disable the ipod even if connected to itunes

    how to disable the ipod even if connected itunes and not responded

    If you mean your iPod is disabled, try restoring in Recovery Mode to remedy it: http://support.apple.com/kb/HT1808

  • How to test the OID IT Resource connection

    Hi,
    I am trying to test the connectivity of the OID IT Resource in OIM. Could somebody help me in knowing how to test the connectivity of the resource.
    Regards,
    Nitin

    Hi Suren,
    I am not using any Ldap browser. I am using Oracle Directory Manager.
    I tried giving the following value in my searchfilter (objectclass=top)(cn=HPOONIA).
    But I am getting the following errors :
    Parameter Variables passed into com.thortech.xl.integration.OID.util.tcUtilLDAPOperations:tcUtilLDAPOperations(): Login Variables are:: are sServerName = 129.146.14.92, sPortNo = 389, sPrincipalDN = cn=orcladmin,cn=Users,dc=csc,dc=com, sProviderURL = ldap://129.146.14.92:389,
    INFO,09 Apr 2010 04:40:09,317,[XL_INTG.OID], Parameter Variables passed into com.thortech.xl.integration.OID.util.tcUtilLDAPOperations:tcUtilLDAPOperations(): Login Variables are:: are sServerName = 129.146.14.92, sPortNo = 389, sPrincipalDN = cn=orcladmin,cn=Users,dc=csc,dc=com, sProviderURL = ldap://129.146.14.92:389,
    DEBUG,09 Apr 2010 04:40:09,318,[XL_INTG.OID], Parameter Variables passed into com.thortech.xl.integration.OID.util.tcUtilLDAPOperations:tcUtilLDAPOperations(): Login Variables are:: for isSSLEnabled = false
    DEBUG,09 Apr 2010 04:40:09,318,[XL_INTG.OID],com.thortech.xl.integration.OID.util.tcUtilLDAPOperations : tcUtilLDAPOperations():: FINISHED
    DEBUG,09 Apr 2010 04:40:09,322,[XL_INTG.OID],com.thortech.xl.integration.OID.schedule.tasks.tcTskOIDUserReconciliation : processChange():: STARTED
    DEBUG,09 Apr 2010 04:40:09,322,[XL_INTG.OID],com.thortech.xl.integration.OID.schedule.tasks.tcTskOIDUserReconciliation : checkEmpty():: STARTED
    DEBUG,09 Apr 2010 04:40:09,322,[XL_INTG.OID],com.thortech.xl.integration.OID.schedule.tasks.tcTskOIDUserReconciliation : checkEmpty():: FINISHED
    DEBUG,09 Apr 2010 04:40:09,322,[XL_INTG.OID],com.thortech.xl.integration.OID.schedule.tasks.tcTskOIDUserReconciliation : checkEmpty():: STARTED
    DEBUG,09 Apr 2010 04:40:09,322,[XL_INTG.OID],com.thortech.xl.integration.OID.schedule.tasks.tcTskOIDUserReconciliation : checkEmpty():: FINISHED
    DEBUG,09 Apr 2010 04:40:09,322,[XL_INTG.OID],com.thortech.xl.integration.OID.schedule.tasks.tcTskOIDUserReconciliation : getSearchAttributes():: STARTED
    DEBUG,09 Apr 2010 04:40:09,323,[XL_INTG.OID],com.thortech.xl.integration.OID.schedule.tasks.tcTskOIDUserReconciliation : getFieldMappings():: STARTED
    DEBUG,09 Apr 2010 04:40:09,323,[XL_INTG.OID],com.thortech.xl.integration.OID.schedule.tasks.tcTskOIDUserReconciliation : getSearchAttributes():: FINISHED
    DEBUG,09 Apr 2010 04:40:09,323,[XL_INTG.OID],com.thortech.xl.integration.OID.util.tcUtilLDAPOperations : connectToAvailableOID():: STARTED
    DEBUG,09 Apr 2010 04:40:09,323,[XL_INTG.OID],com.thortech.xl.integration.OID.util.tcUtilLDAPOperations : hashTableEnv():: STARTED
    DEBUG,09 Apr 2010 04:40:09,335,[XL_INTG.OID],com.thortech.xl.integration.OID.util.tcUtilLDAPOperations : hashTableEnv():: FINISHED
    INFO,09 Apr 2010 04:40:09,335,[XL_INTG.OID],com.thortech.xl.integration.OID.util.tcUtilLDAPOperations : connectToAvailableOID() : SSL option is not selected in ITResource
    DEBUG,09 Apr 2010 04:40:09,348,[XL_INTG.OID],com.thortech.xl.integration.OID.util.tcUtilLDAPOperations : connectToAvailableOID():: FINISHED
    DEBUG,09 Apr 2010 04:40:09,348,[XL_INTG.OID],com.thortech.xl.integration.OID.schedule.tasks.tcTskOIDUserReconciliation : doReconSearch():: STARTED
    DEBUG,09 Apr 2010 04:40:09,349,[XL_INTG.OID],com.thortech.xl.integration.OID.util.tcUtilLDAPOperations : isPagingSupport():: STARTED
    DEBUG,09 Apr 2010 04:40:09,353,[XL_INTG.OID],com.thortech.xl.integration.OID.util.tcUtilLDAPOperations : isPagingSupport():: FINISHED
    DEBUG,09 Apr 2010 04:40:09,353,[XL_INTG.OID],com.thortech.xl.integration.OID.util.tcUtilLDAPOperations : pagingReconSearch():: STARTED
    DEBUG,09 Apr 2010 04:40:09,354,[XL_INTG.OID],com.thortech.xl.integration.OID.util.tcUtilLDAPOperations : pagingReconSearch() : Parameter Variables passed are: pSearchBase = [cn=Users,dc=csc,dc=com], pFilterExpression = [(&(objectclass=top)(cn=HPOONIA)(modifyTimestamp>=19000101010001Z))], pIsRelative = [true], pAttrNames = [[Ljava.lang.String;@3250b1]
    INFO,09 Apr 2010 04:40:09,354,[XL_INTG.OID],com.thortech.xl.integration.OID.util.tcUtilLDAPOperations : pagingReconSearch() : Parameter Variables passed are: pSearchBase = [cn=Users,dc=csc,dc=com], pFilterExpression = [(&(objectclass=top)(cn=HPOONIA)(modifyTimestamp>=19000101010001Z))], pIsRelative = [true], pAttrNames = [[Ljava.lang.String;@3250b1]
    DEBUG,09 Apr 2010 04:40:09,354,[XL_INTG.OID],com.thortech.xl.integration.OID.util.tcUtilLDAPOperations : pagingReconSearch() : javax.naming.directory.SearchControls@14fa707search controls**********************
    DEBUG,09 Apr 2010 04:40:09,354,[XL_INTG.OID],com.thortech.xl.integration.OID.util.tcUtilLDAPOperations : pagingReconSearch() : count limit**********************
    DEBUG,09 Apr 2010 04:40:09,354,[XL_INTG.OID],com.thortech.xl.integration.OID.util.tcUtilLDAPOperations : pagingReconSearch() : subtree scope**********************
    DEBUG,09 Apr 2010 04:40:09,354,[XL_INTG.OID],com.thortech.xl.integration.OID.util.tcUtilLDAPOperations : pagingReconSearch() : setting returning attributes if NOT NULL**********************
    DEBUG,09 Apr 2010 04:40:09,370,[XL_INTG.OID],com.thortech.xl.integration.OID.util.tcUtilLDAPOperations : pagingReconSearch() : DID NOT FIND ANY RECORDS after Modified Time Stamp
    DEBUG,09 Apr 2010 04:40:09,370,[XL_INTG.OID],com.thortech.xl.integration.OID.util.tcUtilLDAPOperations : parseControls():: STARTED
    DEBUG,09 Apr 2010 04:40:09,370,[XL_INTG.OID],com.thortech.xl.integration.OID.util.tcUtilLDAPOperations : getControlInstance():: STARTED
    DEBUG,09 Apr 2010 04:40:09,376,[XL_INTG.OID],com.thortech.xl.integration.OID.util.tcUtilLDAPOperations : getControlInstance():: FINISHED
    INFO,09 Apr 2010 04:40:09,376,[XL_INTG.OID],com.thortech.xl.integration.OID.util.tcUtilLDAPOperations : parseControls() : >>Next Page
    DEBUG,09 Apr 2010 04:40:09,376,[XL_INTG.OID],com.thortech.xl.integration.OID.util.tcUtilLDAPOperations : parseControls():: FINISHED
    DEBUG,09 Apr 2010 04:40:09,376,[XL_INTG.OID],com.thortech.xl.integration.OID.util.tcUtilLDAPOperations : pagingReconSearch() : cookie: [B@5eef81
    DEBUG,09 Apr 2010 04:40:09,376,[XL_INTG.OID],com.thortech.xl.integration.OID.util.tcUtilLDAPOperations : pagingReconSearch() : cookie length : 0
    DEBUG,09 Apr 2010 04:40:09,376,[XL_INTG.OID],com.thortech.xl.integration.OID.util.tcUtilLDAPOperations : pagingReconSearch() : Total No Of Records are reconciled are = 0
    DEBUG,09 Apr 2010 04:40:09,376,[XL_INTG.OID],com.thortech.xl.integration.OID.util.tcUtilLDAPOperations : disconnectFromLDAP():: STARTED
    DEBUG,09 Apr 2010 04:40:09,376,[XL_INTG.OID],com.thortech.xl.integration.OID.util.tcUtilLDAPOperations : disconnectFromLDAP() : Closing initial directory context
    DEBUG,09 Apr 2010 04:40:09,380,[XL_INTG.OID],com.thortech.xl.integration.OID.util.tcUtilLDAPOperations : disconnectFromLDAP():: FINISHED
    DEBUG,09 Apr 2010 04:40:09,381,[XL_INTG.OID],com.thortech.xl.integration.OID.util.tcUtilLDAPOperations : pagingReconSearch():: FINISHED
    DEBUG,09 Apr 2010 04:40:09,381,[XL_INTG.OID],com.thortech.xl.integration.OID.schedule.tasks.tcTskOIDUserReconciliation : doReconSearch():: FINISHED
    DEBUG,09 Apr 2010 04:40:09,381,[XL_INTG.OID],com.thortech.xl.integration.OID.util.tcUtilLDAPOperations : disconnectFromLDAP():: STARTED
    DEBUG,09 Apr 2010 04:40:09,381,[XL_INTG.OID],com.thortech.xl.integration.OID.util.tcUtilLDAPOperations : disconnectFromLDAP() : Closing initial directory context
    DEBUG,09 Apr 2010 04:40:09,381,[XL_INTG.OID],com.thortech.xl.integration.OID.util.tcUtilLDAPOperations : disconnectFromLDAP():: FINISHED
    DEBUG,09 Apr 2010 04:40:09,381,[XL_INTG.OID],com.thortech.xl.integration.OID.schedule.tasks.tcTskOIDUserReconciliation : processChange():: FINISHED
    DEBUG,09 Apr 2010 04:40:09,381,[XL_INTG.OID],com.thortech.xl.integration.OID.schedule.tasks.tcTskOIDUserReconciliation : execute():: FINISHED
    Please help.
    Regards,
    Nitin

  • How to limit the number of TCP connections beeing used concurrently while a page is beeing loaded?

    We manufacture industrial small-footprint control modules with embedded web server. The resources of these modules are very limited, especially in RAM. We have problem, that FF opens 15 parallel TCP connections while loading a web page (main html page first, then all icons simultaneously). We can not handle such behavior because of lack of RAM memory needed for TCP buffers.
    Question is how to limit the number of concurrent TCP connections the browser will use? We need to do it somehow directly from the page, we can not push our customers to change the general settings of their browsers (they would not understand such things anyway).
    Do anyone have any suggestion?

    Sorry, one other thought. Many web designers now combine all icons into a single image and use CSS to clip the image so that only the desired portion is displayed. This minimizes the number of required connections and increases the probability that the image can be retrieved from cache.
    More info:
    * [http://www.w3schools.com/css/css_image_sprites.asp CSS Image Sprites - W3Schools]
    * [http://www.alistapart.com/articles/sprites/ A List Apart: Articles: CSS Sprites: Image Slicing’s Kiss of Death]
    * [http://coding.smashingmagazine.com/2009/04/27/the-mystery-of-css-sprites-techniques-tools-and-tutorials/ The Mystery Of CSS Sprites: Techniques, Tools And Tutorials | Smashing Coding]
    No idea whether this is practical for your application.

  • How to set the number of outbound connection of the emote delivery queue

    I have a ms exchange 2007 server, that is delivering e-mail's to a smtp server that is out of our organization by smtp.
    The receiver is a very slowly server due to a antivirus program that he is using.
    The server side has a few smtp server's that are set in load balancing system, to handle a lot of connections, this is the way the problem of the low performance can be solved.
    My problem is that I see that the exchange 2007 server establish only one connection avrey time, when he is handling the outbound connection of the emote delivery queue. In that way the load balancing system does not help.
    How can I set the exchange 2007 server in a way that he will handle more than one message in
    queue a time, in a different tcp connection?

    Are you sure that it's your server that's the problem?
    If the receiving site has its load balancer set to send all connections from a given source IP address to the same load balanced member server then your server is limited by whatever restrictions the load balancer or the receiving server imposes (which may
    be no more than one connection per source IP address).
    I suppose you could try opening more than one "test" session to the target IP address with "telnet <ip-address> 25" and see if you can open more than one SMTP session with the target.
    Also, have you made any modifications to the transport settings on the HT server(s)? For example, have you limited the maximum number of connections per domain?
    --- Rich Matheisen MCSE&I, Exchange MVP

  • OMBRETRIEVE: HOW i get the attribut which is connected to a given attribute

    Hello!
    I want to know the operator, the group and the attribute which is connected to a given attribute in a mapping.
    I have the statement for the operator:
    OMBRETRIEVE MAPPING 'MAPTAK_BBUE_101' GET OPERATORS CONNECTED TO ATTRIBUTE
    'DWH_SZ' OF GROUP 'INGRP1' OF OPERATOR 'SPLIT'
    Could anybody tell me the statements for the group and the attribute or the way to get this information?
    Thanks in advance
    Message was edited by:
    adietze
    Message was edited by:
    adietze

    Hi,
    I'm afraid there is no single command to get this information. I use a loop like the following:
    set map "MAP_DIM_DEPOT"
    set targetAttribute "DEPOTNUMMER"
    set targetGroup "TARGET"
    set targetOperator "DIM_DEPOT"
    set opList [OMBRETRIEVE MAPPING '$map' GET OPERATORS CONNECTED TO ATTRIBUTE '$targetAttribute' OF GROUP '$targetGroup' OF OPERATOR '$targetOperator']
    foreach op $opList {
      set grpList [OMBRETRIEVE MAPPING '$map' OPERATOR '$op' GET GROUPS CONNECTED TO ATTRIBUTE '$targetAttribute' OF GROUP '$targetGroup' OF OPERATOR '$targetOperator']
      foreach grp $grpList {
        set attrList [OMBRETRIEVE MAPPING '$map' OPERATOR '$op' GROUP '$grp' GET ATTRIBUTES CONNECTED TO ATTRIBUTE '$targetAttribute' OF GROUP '$targetGroup' OF OPERATOR '$targetOperator']
        foreach attr $attrList {
          puts "$op.$grp.$attr"
    }Regards,
    Carsten.

  • How to detect the idle user????

    Hi all....
    I wanna write a program(servlet or jsp) to detect the user's idle time(do not action from sometime). But I have no idea.Could someone give me a suggestion???
    thanx alot....

    you question is not very detailed, so i just can give you a rough answer: create a session upon a users first request. With a session the lastrequest time is stored, so you may call the getlastaccesstime methode (not sure whether this the right spelling, check the servlet api docu)to get the last access time. the difference between the current time and the last access time is the idle time.
    but, normaly idle in application terms doesn't mean the time between two request but the time between two user actions! often there is system communication between server and client that should not count for user idle time. so you might need to set you own lastACTIONtime as a session value.
    For more information about servlets and jsp check out www.coreservlets.com (there is a very useful pdf for free download!)

  • How to calculate the number of user connections in a report?

    Hi,
    I would like to have a report which automatically calculate the number of connections per user.
    Thanks for your answer.
    Regards

    Hi,
    What do you mean by number of connections? Do you mean how many times each user has run a specific report?
    Thanks

  • OSX 10.8 server Set VPN server in Local net, How to restrict the Local some IP connect to the VPN server?(noob,so need clearly)

    the tittle is my question. I am noob , so I hope i can make my question clear. Now i 'd like to tell you more about my question:
    My aim is to set a VPN server in Local lan, then ppl can connect to the VPN server, But I dont wanna all of the Local lan IP cant connet to it. So I neet to set a rule to restrick some local Ip to connect failure, just like banning so IP in a rule.such as: just like the "192.168.4.3~192.168.4.20 ; 192.168.7.3~192.168.7.20 " IPs can connect . the IPs which outside the rules can not do.
    my step is following:
    1) install server app
    2)and then i set a VPN server , finally the VPN server can be connected successfully by local lan computer(PC or Mac)
    3)But i found no restrict IP founction in Server app panel.
    4)then i down load workgroup manager, and found nothing there about such a founction about IP restriction.
    so can you tell me how to aproach my aim?
    Please tell me in a clear detail,I am noob
    thank you

    Won't the password restrict everyone from connecting unless they know the password?
    I have never worked with a VPN server, so I can't really add any suggestions. Below are links to Apple support articles, but I'm not sure they will help you:
    VPN - Set up Connection
    VPN - Advanced Setup 
    VPN - Connect
    VPN - Connect Automatically

  • How to solve the error HTTP/S connection was not obtained successfully?

    Hi,
    I got a problem when i am trying to connect SAP ECC 6.0 system from SAP NETWEAVER EP 7.1 as below
         ITS Connection
    Test Details:
    The test consists of the following steps:
    1. Checks the validity of system ID in the system object.
    2. Checks if the system can be retrieved from the PCD.
    3. Check whether the system object has a valid system alias
    4. Check whether a SAP system is defined in the system object
    5. Validate the following parameters: ITS protocol; ITS host name
    6. Checks if the host name of the server can be resolved.
    7. Checks HTTP/S connectivity to the defined back-end application
    Results
    1. The system ID is valid
    2. The system was retrieved.
    3. Retrieval of the default alias was successful
    4. The system object represents an SAP system
    5. The following parameters are valid: ITS Protocol (http) ITS Host Name (vrleccdv.vrpl.com:8000)
    6. The host name vrleccdv.vrpl.com was resolved successfully.
    7. An HTTP/S connection to http://vrleccdv.vrpl.com:8000/sap/bc/gui/sap/its/webgui/ was not obtained successfully; this might be due to a closed port on the Firewall.
    can anyone suggest me how to solve this porblem

    Hi Ramana,
    In the Backend system pls check whether the service WEBGUI is activated or not.
    This will help solve the problem.
    Cheers-
    Pramod

  • How to use the web server tips (connected/disconnected)?

    Using the web server tips into a VI to know when a client is connected or disconnected.
    Hello Everyone
    I want to use the tips that appear when a remote user gets control of my VI via web server. That way I will be able to trigger some other operations as soon as the user gets in or out my VI. How can I extract the information that contains that (user has or has not control). I hope you can help me.
    Regards
    Marco Roman

    There is a VI method called Remote Panel Client Connections. It returns an array of clusters with connection information and also has a Controller output. If the controller output is -1, no clients are connected.

Maybe you are looking for

  • ITunes can't sync my videos into my iDevices anymore!! :((

    Hey guys, My iTunes (v10.3.1.55) can successfully sync everything to my iPhone4/iPad2 except the new added videos (movies tab) though they're mp4 100% compatible!! even though they just don't appear in their playlists anymore FYI, I tried the followi

  • How the excise  process  happen in SAP.

    Hi All ! Please tell me ,how to find out diffrence amount for given problem:- Opening Balances of Excise duty payable accounts as on 31.3.2009  are coming in to picture  in T- Code FAGLB03 is showing  a  credit balance Which actually should show zero

  • How to create test scenario for KIT Item?

    Hi All, I want to test how KIT Functionality works in OM. I have tried looking into User Guides / Web but I am not able to get specific functionality related to KIT Item testing in OM. If anyone has idea of how KIT item works and what are the setups

  • HT1420 I forgot my security answers how can i fix it

    How can I retirieve my security answers when I forgot them

  • R3PROD2B1ITEM - problem with message transmission

    Hello, last week I tried to make a data transfer using prepared biu R3PROD2B1ITEM. I followed all instructions for this scenario (defining landscapes, import scenario etc.). Test connections to the R/3 side and Business One from B1I were successful.