Limit number connections by IP

Hello, I have an ACE 4710 to balance some aplications exposed to Internet. But one of them has problem with concurrence, the question is, Are there a way to limit the number of connections to this application by public IP address?
Thanks,
Haiver Bermon

Hi Haiver,
You can limit the number of concurent connections to a real server. For instance:
ACE(config)# serverfarm host SF1
ACE(config-sfarm-host)#   rserver SRV1
ACE(config-sfarm-host-rs)# ?
Configure rserver instance:
  backup-rserver  Configure backup-rserver for this rserver
  conn-limit      Configure max/min connection limits for the server <<<
  description     Configure description string for real server
  do              EXEC command
  end             Exit from configure mode
  exit            Exit from this submode
  fail-on-all     Fail real when all probes fail
  inservice       Activate rserver instance
  no              Negate a command or set its defaults
  probe           Associate probe with rserver instance
  rate-limit      Configure rate limit per second <<<
Or you can limit the connection rate to a vip by configuring something similar to this:
ACE(config)# parameter-map type connection pmap
ACE(config-parammap-conn)# ?
Configure connection parameters:
  description             Configure description string for this parameter-map
  do                      EXEC command
  end                     Exit from configure mode
  exceed-mss              Configure behavior if a packet exceeds MSS
  exit                    Exit from this submode
  nagle                   Enable Nagle TCP optimization algorithm
  no                      Negate a command or set its defaults
  random-sequence-number  Enable TCP sequence number randomization <<<
But i guess you rater like to limit the number of connections from a single source ip. This is not possible.
Thanks,
Olivier

Similar Messages

  • Limit number of concurrent connection

    is there a way for me to limit the number of concurrent
    connections to the media server. my upload bandwitdh is about a meg
    so having too many connections just kills the whole thing. i would
    like to put a limit at 5 connections. is there a way to do
    this?

    well i am only using flash media server to displaying videos
    and just that. the reason i went with media server vs. progressive
    was fullscreen method. since flash doesn't natively support
    fullscreen you have to open another browser in fullscreen with
    javascript. the problem with that is it start loading from
    beginning so i decided to go server that way it only has to buffer
    and get to the same point without having to load the whole video up
    to that point. Now i want to limit number people that can be
    watching the video. if i get more that 5 connection the whole thing
    slows down. i am not too familiar with server based connections so
    i don't know how to limit the number concurrent connections.

  • To limit number of chracters in textarea.

    hello all,
    please find below a small program to demonstrate how to limit number of charcaters in a textarea.
    i searchedthe forum and i actually got the technique from the forum. but when i put together a sa program it does not work.
    could anyone point out what is the problem in the small piece of code below.
    i am working on jdk 1.2.1
    thanx to all.
    // Example illustrating Limiting number of characters in text area.
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class try1 extends JApplet {
    Container contentPane;
    JLabel label;
    JTA1 textarea;
    public void init() {
    // Get the handle on the applet's content pane.
         contentPane = this.getContentPane();
    // Create a text field and add a key listener to it.
         textarea = new JTA1(25);           // of 25 char width
    // Create a button object and register an action listener
         Button button = new Button("Clear");
         button.addActionListener(new ButtonListener());
    // Create a label with the titled border.
         label = new JLabel("Key Typed: NiL");
         label.setBorder(BorderFactory.createTitledBorder
    ("You pressed the Following Key"));
    // Add the text field and button to the applet's content pane.
         contentPane.setLayout(new BorderLayout());
         contentPane.add("North", textarea);
         contentPane.add(label);
         contentPane.add("South", button);
    // Get focus on text field.Note: You can do this only after you add the text field to the container
    class ButtonListener implements ActionListener {     // Create the button listener class.
         public void actionPerformed(ActionEvent e)      {
    // Reset the text components
         textarea.setText("");
    //Return the focus to the text field.
    class JTA1 extends JTextArea
         private int limit;
         public JTA1 ( int limit )
              this.limit = limit;
              addKeyListener( new LimitListener() );     
         class LimitListener extends KeyAdapter
              public void keyPressed( KeyEvent ke )
                   if( getText().trim().length() >= limit )
                   {     ke.consume(); //just consume KeyEvent

    Don't cross post. This question has been answered in your other post.

  • Limit Number of Rows on a Page

    Hi all,
    I am unable to succeed with the following.
    I have an XML data source which looks like this:
    <?xml version="1.0"?>
    <LIST_GEMPLOYEES>
    <LIST_G_EMPLOYEE>
    <EMPLOYEE_NUMBER>1</EMPLOYEE_NUMBER>
    <EMPLOYEE_NAME>Employee 1</EMPLOYEE_NAME>
    </LIST_G_EMPLOYEE>
    <LIST_G_EMPLOYEE>
    <EMPLOYEE_NUMBER>2</EMPLOYEE_NUMBER>
    <EMPLOYEE_NAME>Employee 2</EMPLOYEE_NAME>
    </LIST_G_EMPLOYEE>
    <!-- many rows here (LIST_G_EMPLOYEE tags) -->
    </LIST_GEMPLOYEES>
    And I want to define a template which only allows 5 rows on a page.
    What I did:
    I should insert a page break after the limit number of rows on a page is reached. This means that, after each group of 5 rows, a page break should be inserted.
    To accomplish this goal, I followed these steps:
    1. Define a field which will contain and initialize the Counter variable before the table which will show the list of employees, by using the syntax:
    Field1: <?xdoxslt:set_variable($_XDOCTX, ’Counter’, 0)?>
    2. Define the table which list all employees in the data source:
    2.1. Use a 2 columns table. In the first column, define 2 fields as follows:
    2.2. In the second column, define 6 fields containing the following code:
    Field2: <?for-each: LIST_G_EMPLOYEE?>
    Field3: <?EMPLOYEE_NUMBER?>
    Field4: <?xdoxslt:set_variable($_XDOCTX, ’Counter’, xdoxslt: get_variable($_XDOCTX, ’Counter’) + 1)?>
    Field5: <?EMPLOYEE_NAME?>
    Field6: <?if: xdoxslt:get_variable($_XDOCTX, ’Counter’) mod 5=0?>
    Field7: <?split-by-page-break:?>
    Field8: <?end if?>
    Field9: <?end for-each?>
    Here is explanation for syntax I used:
    Field1: Declare and init Counter variable to value = 0
    Field2: This fetches through all employees - start a for-each cycle
    Field3: This prints the employee number
    Field4: This increments the Counter variable
    Field5: This prints the employee name
    Field6: This tests whether Counter variable is divided by 5
    Field7: This generates a page break
    Field8: End of condition
    Field9: End of for-each cycle
    Result:
    The first page has just the header and the second page has the header and only record and it goes the same
    for the rest of the pages. Any help is greatly appreciated.
    Thanks.

    Have a look at this post
    http://winrichman.blogspot.com/2008/09/limit-row-per-page.html

  • How to limit number of logins per day?

    We have a custom web application (WebAS 6.20) used by people and automated systems. Each user has his own login, and some of these automated systems sometimes produce heavy load because they log into system too often.
    Is there an easy way to:
    1) limit number of logins to, say, 1000 per day and when this limit is reached - do not allow this user to login till midnight
    OR
    2) dedicate one of the processes to the specific user
    thanks in advance

    extend PlainDocument class to restrict the number of characters per line.
    Set this class as model to TextArea.
    Below is a class which does this. May be its useful
    import javax.swing.*;
    import javax.swing.text.*;
    import java.awt.*;
    public class FixedNumericDocument extends PlainDocument {
    private int maxLength = 9999;
    private String max="";
    public FixedNumericDocument(int maxLength) {
    super();
    this.maxLength = maxLength;
    //this is where we'll control all input to our document.
    //If the text that is being entered passes our criteria, then we'll just call
    //super.insertString(...)
    public void insertString(int offset, String str, AttributeSet attr)
    throws BadLocationException {
    if (getLength() + str.length() > maxLength) {
    return;
    else {
    try {
    //check if str is numeric only
    int value = Integer.parseInt(str);
    //if we get here then str contains only numbers
    //chk if it is less than 65535 so that it can be inserted
    super.insertString(offset, str, attr);
    catch(NumberFormatException exp) {
    return;
    return;

  • Limit open connections per each database session in Oracle 11

    Hi for All,
    Please, I would like to know what the limit of connections per session in Oracle 11. This issue is relevant to the use of UTL_TCP for connections with ATMs. Also, someone would have some other approach or suggestion of communication architecture with Automated Teller Machine?
    Regards,
    Edited by: user11118871 on 04/02/2010 07:30

    I suspect Spotlight is showing you the PGA plus the entire mapped portion of shared memory or the total of all shared memory pages visited. On HP-UX these are the kind of numbers you would get from ps, which may be Spotlight's source for the data.
    The glance utility of HP-UX is a more useful way to obtain detailed information on process memory usage.
    Regards,
    Jeremiah Wilton
    ORA-600 Consulting
    http://www.ora-600.net

  • Limit number for new field

    Hello there
    Anybody know what is the limit number for new field in each record type?
    My client wants me to create about 200 new fields in Account record type.
    Is it possible to do so?

    Hi, You can refer this
    https://secure-ausomxdsa.crmondemand.com/docs/1.10.0.1080.0.00/enu/help/CustomFieldHelp.html
    -- Venky CRMIT

  • Limit wireless connection to one connection only. Is that possible?

    Hi,
    Is it possible to limit wireless connection to allow only one computer to connect to wireless?
    Thank you.

    Yes. Secure your connection with WPA or WPA2. Provide the passphrase or pass key to that computer only. That should do it.

  • Limit number of recipients send out external once

    Hi all,
    I have Exchange server 2013 CU7, I want to limit number of recipients when my users send email to external/internet.
    For example:
    If my users send email to more than 50 external recipients once, they will receive error "bla bla"
    Limitation is not apply when my users send email to internal recipients"
    or external sender send email to internal recipients
    How can I do it ? (which send connector , receive connector , transport config , transport service , transport server)
    Thank for your help.
    Jack

    Hi Jack,
    Thank you for your question.
    I agree with Bruce.
    I am sorry that we could not meet your requirement that the limit of recipient is just for external/Internet.
    When we configure those setting, it will be worked for all recipient(including internal or external). It was referred by the following link:
    https://technet.microsoft.com/en-us/library/bb310760%28v=exchg.141%29.aspx
    If there are any questions regarding this issue, please be free to let me know. 
    Best Regard,
    Jim
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Jim Xu
    TechNet Community Support

  • Limit number of subfolders

    Hi Experts,
    Is there a way to limit number of subfolders created on a InfoView folder?
    We want out application to limit external admin users not to create more than 3 level of subfolders in InfoView Folder.
    Please advice
    Thanks!
    Prasath

    Not from within InfoView or the CMC.  You would have to write your own InfoView replacement that would handle this limitation.
    -Dell

  • Limit number of loans

    Hi
    I have a returnable loan with maximum 3. A client downloads 3 differents acsm files (Makes 3 clicks on my button to download) and, after, he open they width ADE.  Now he has three identical copies and there is no freedom for the rest. Yes we are bugging.
    How i can avoid it? We can tell to ACS that a user can only have a maximum of 3 books on loan?
    Ty

    The loan limit number is the number of simultaenous users that can have the file loaned out.   By default the user can read the content on any device that that they have activated (limited roughly to 6 computers and 6 devices).   If this is not what you desire, you can limit the user to the single device that they first download the content on, by adding a <device/> element into the permissions.
    ACS4 provides no way to provide more than a single device, but less than all the devices the user has activated.

  • Can I limit number of connections to an application?

    I want to set up a stream targeted an an audience on a single computer in Samoa.  Plan to build my web application to limit who has access by IP address but I'd also like to limit the number of streams on this custom application to just 1 connection.  I can see xml tags in application.xml that support bandwidth caps but I must be missing the obvious way to cap the number of streams.
    Thanks in Advance!

    Are you just trying to query that information?
    --display application appname users_connected ;--
    Whoops, wrong code.
    display application appname ;
    ^^^ Bummer, I see your problem. There are lots of columns coming out of that. I think you'd have to pipe it to a log file (having set the columns really wide), read the log file, strip out the users_connected column, and go from there.
    You could use the shell command in MaxL to go out to Perl/Grep/VBScript/whatever to go do this, set an environment varibale, and come back into MaxL (assuming that's what you want to do). Other wise just run a simple MaxL to get that number and go.
    Regards,
    Cameron
    Edited by: CL on Aug 24, 2010 11:31 AM
    Edited because I can't be bothered to read the question the first time.

  • Limit on connections?

         From a class that requires transactions, I invoke a routine in a class that supports transactions. That second routine, in turn, opens up a database connection, invokes a stored procedure (which, by the way, is completely empty -- it just has a "return" statement), then closes the database connection.
         I call this second routine eight times in a row, without any problems. But when I invoke it for the ninth time, I get the following error when trying to open the connection:
         "Unable to enlist in a distributed transaction"
         Is there a limit on the number of times a database can be accessed within a transaction? Is there a way to raise, or eliminate, this limit?

    You're not exceeding the number of network connections for a workstation, which is 10 computers, so I don't believe you've hit any limits. I suspect you're running into inherent problems with Mac OS X's implementation of SMB, which I sometimes find flaky.
    See what happens when you take the following code and put it into the Applescript Script Editor found inside the Applications folder:
    mount volume "smb://servername/sharename" as user name userName with password password
    Add a new line of code for each share you're trying to access. Click the Run button to execute the script. If this works then you can save the script as a double-clickable application.
    Hope this helps! bill
    1 GHz Powerbook G4   Mac OS X (10.4.7)  

  • Limit number of concurrent users

    Hi everyone,
    We'd like to limit to 5 the number of concurrent connections to our dashboard, but we cant make it work.
    We've tested changing the Connection Pool, setting to 5 the Maximum connections parameter, but we still can connect with more than 5 users. We've even tried setting the parameter to 1, but still can access the dashboard with more than one user.
    Do we have to set any other parameters? Is this the right way of limiting concurrent connections?
    Btw, we also tried unchecking "Enable connection pool", but it didnt work neither.
    Thanks.
    Regards

    Hi Friend,
    I am Durgaprasad from Pune-INDIA, working as a OBIEE developer, I have one query which I mentioned below can you please go threw it.
    I have done migration Discoverer Admin EUL Layer into OBIEE repository using below methodology.
    Navigate to the <installdrive>\OracleBI\server\Bin directory. There are two important files in this directory: the migration assistant executable file named MigrateEUL.exe and a properties configuration file named MigrationConfig.properties.
    Could you please help me how to migrate discoverer plus workbooks and worksheets into OBIEE Answers?
    go through below link, It will show navigation steps for migrating of EUL from Discoverer to OBIEE.But i need migration of workbooks and worksheets from Discoverer into OBIEE Answers.
    http://www.oracle.com/technology/obe/obe_bi/discoverer/discoverer_1012/discomigration/migrate_disco_biee.htm
    This is very great full help to me …
    Advance thanks for your suggestions.
    Regards
    Duraga Prasad.

  • Limit User Connections

    I'm on 9i R2 on a Microsoft Windows Server 2003.
    Is it possible to limit the amount of users that can connect to a Database? Like say 5 Users only.

    The parameter PROCESSES in the initialization parameters allows you to restrict the number of total processes. With no one logged into the database except you, look at the count from v$process, set the PROCESSES parameter to that value plus 5. However, you must also allow for the setting of the jobs processes and any parallel query settings. There is also the LICENSE_MAX_USERS parameter but it is usually set to the maximum number of processes you want to allow. Look at the v$resource_limit view to get an idea of what is happening in your system as users login/logoff to get an idea of how to set these parameters. I sugest restricting access, then logging in 5 times concurrently to see the number of processes required.
    Mike

Maybe you are looking for

  • Uniques constraint violation error while executing statspack.snap

    Hi, I have configured a job to run the statspack snap at a interval of 20 min from 6:00 PM to 3:00 AM . Do perform this task , I have crontab 2 scripts : one to execute the job at 6 PM and another to break the job at 3 AM. My Oracle version is 9.2.0.

  • Oracle 11G + Single sdata searching in Contains clause

    Hi, Their is one domain index in my table on valueaddxml column, and another column is of queryid which is of varchar2(500) Their are two records in the table. one is :- valueaddxml - > <?xml version="1.0" encoding="UTF-8"?><valueaddinfo><seqno>679</

  • Wrong Date format in SQL Server

    Hello All, I have an asp page with a hidden field that holds <%=Date()%>. Because the Session.LCID is set to UK this value today would be 12/03/2007 (UK format). When this hidden field is fed into an INSERT Stored Procedure in SQL Server in my testin

  • Uninstall Before Installing CS6 Design Std.

    I currently have activated trial versions of Photoshop CS6, ID CS6, and Illustrator CS6. I have PS deactivated (I have a separate single app license for that). ID and Illustrator are activated via my Creative Cloud subscription.  I have decided to pu

  • Is it possible to turn off the passcode?

    I've seen a couple postings that say go to Settings --> General --> Passcode Lock, but on my iPhone 4s I don't see anywhere to turn it off at that point.  In the manual, there is no description of turning off the passcode – at least I didn't find it.