Limit of Concurrent Connection to a Datasource
I have an env to generate report concurrently.
The datasource is a SQLServer2008.
Can I limit the numbers of Concurrent Connection to the datasource in SSRS?
Hi Jiulidaji,
Thank you for your question.
I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.
Thank you for your understanding and support.
Best regards,
Qiuyun Yu
Qiuyun Yu
TechNet Community Support
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. -
Anybody know the maximum channel, concurrent connection limit
Anybody know the maximum channel that can be set and the maximum concurrent connection that listener can support for WebSphere 6.0 Solaris.
One more question, please correct if I'm wrong; in order to set above value, I have to modify qm.ini as below:
TCP:
Port=1414
KeepAlive=YES
ListenerBacklog=800 --------> for maximum concurrent connection that listener supports
Channels:
MaxChannels=1000 ----------> for maximum channel for QManager
MaxActiveChannels=1000
Every suggestions would be appreciated.Not really sure what you mean by "half-closing" and the question you're asking. Can you clarify?
-
Coming back to a topic that was posted a few months ago with
an
additional question:
>I believe you mean to ask, "What is the maximum number of
>concurrent connections such as those used in loadMovie or
XML.load?"
>If this is what you're asking then there are no current
limits. However,
>the sending server may limit concurrent connections for a
single client
>to any number so the loads may fail if they exceed this
limit. The
>limitations are therefore server-based, not Flash based,
and they will
>differ from server to server.
My question:
While Flash doesn't enforce a limit, do any/all browsers
enforce
limits? If I wanted to load up 50, 100, 200 movies at once,
where if
anywhere would I be limited?
Also, it seems that, in a test program loading a bunch of
images from a server concurrently, I am not able to get more than
two at once. Is this purely a server issue?
-andyHi,
I imagine it does.
Also I guess if we are talking about just some random UDP traffic it would also mean that the default timeout for a connection would be 2min. The most usual UDP traffic would probably be DNS querys. In those cases I presume though that the UDP connections dont stay on firewall for long as long as the firewall sees the DNS reply.
But as I said if we are talking about some random UDP traffic that is allowed through the firewall I would guess it stays in the connection table of the firewall for a couple of minutes. So you might be looking at 1000 concurrent connections or even more?
I have once witnessed a single server sending so much UDP traffic that it reached the connection limit of an ASA5540 which is 400 000 concurrent connections.
- Jouni -
ASA max concurrent connections
If I have a thousand nodes from the public each perform a UDP ping to a server behind the ASA, does each count as a concurrent connection?
Hi,
I imagine it does.
Also I guess if we are talking about just some random UDP traffic it would also mean that the default timeout for a connection would be 2min. The most usual UDP traffic would probably be DNS querys. In those cases I presume though that the UDP connections dont stay on firewall for long as long as the firewall sees the DNS reply.
But as I said if we are talking about some random UDP traffic that is allowed through the firewall I would guess it stays in the connection table of the firewall for a couple of minutes. So you might be looking at 1000 concurrent connections or even more?
I have once witnessed a single server sending so much UDP traffic that it reached the connection limit of an ASA5540 which is 400 000 concurrent connections.
- Jouni -
Why does it take over 2 minutes to get a database connection from the DataSource?
Hello,
It is taking over 2 minutes for my application to get a connection from a registered DataSource in iAS 6.0 sp4 on Solaris. The proper results are returned it just takes 2 minutes to establish the connection. The DataSource is an Oracle 9i database. I have the 9i drivers in the classpath. I also have a registered datasource that is an Oracle 8 database and have no problems establishing a connection quickly to that database. As an aside I have setup this application on JBOSS and both datasource's return a connection very quickly. If anyone has any ideas about what might be going on please respond. This issue is holding up a production release.
Here is the code:
try {
log.debug("getting a new initial context");
ctx = new InitialContext();
ds = (DataSource) ctx.lookup(bundle.getString("IW_DATASOURCE"));
log.debug("after looking up datasource from initial context");
} catch (NamingException e) {
log.error(e);
throw new FinstarException
(bundle.getString("E-0001"));
try {
log.debug("about to get connection");
conn = ds.getConnection();
log.debug("after getting connection");
Produces this in the logs:
2002-05-29 08:55:12,859 DEBUG org.mitre.mii.project.finstar.FinancialSummary - about to get connection
2002-05-29 08:57:24,963 DEBUG org.mitre.mii.project.finstar.FinancialSummary - after getting connection
Here is the datasource registration file:
<ias-resource>
<resource>
<jndi-name>jdbc/pdc/IWDataSource</jndi-name>
<jdbc>
<database-url>jdbc:oracle:thin:@xxx.xxx.org:1521:acisdb</database-url>
<datasource>jdbc/pdc/IWDataSource</datasource>
<username>XXXXX</username>
<password>XXXXX</password>
<driver-type>OracleThinDriver</driver-type>
</jdbc>
</resource>
</ias-resource>Have you tried to eliminate everything extraneous. In other words, do you experience the same delays with a simple Java program (no lookups, JNDI) that loads the drivermanager and creates a connection.
Do you have access to a traciong JVM or some program that captures run-time execution timing information? Even without the source, this will tell you the specific class::methos where time is spent so you can better determine where the delay is ocurring. -
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.
ThanksBest 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. -
Unable to connect database by DataSource in tomcat5.5 plz help to me
hi,
i want to connect Database through DataSource in Tomcat5.5 with mysql
i wrote one servlet , made change in server.xml, web.xml.
when i access it show exception
java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.org.apache.tomcat.dbcp.collections)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
at java.security.AccessController.checkPermission(AccessController.java:427)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1512)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)The servlet
* DataSourceAccess.java
* Created on August 22, 2005, 3:14 PM
package officecom;
import java.io.*;
import java.net.*;
import java.sql.*;
import javax.naming.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.sql.*;
* @author Paramasivam
* @version
public class DataSourceAccess extends HttpServlet {
/** Processes requests for both HTTP <code>GET</code> and <code>POST</code> methods.
* @param request servlet request
* @param response servlet response
protected void processRequest(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
response.setContentType("text/html;charset=UTF-8");
PrintWriter out = response.getWriter();
/* TODO output your page here
out.println("<html>");
out.println("<head>");
out.println("<title>Servlet DataSourceAccess</title>");
out.println("</head>");
out.println("<body>");
out.println("<h1>Servlet DataSourceAccess at " + request.getContextPath () + "</h1>");
out.println("</body>");
out.println("</html>");
out.println(" got connection ? "+getDataConnnecion());
out.close();
public boolean getDataConnnecion(){
try{
System.out.println(" INFO : getConnection called ");
Context initContext = new InitialContext();
Context envContext = (Context)initContext.lookup("java:/comp/env");
DataSource ds = (DataSource)envContext.lookup("mysql");
Connection con = ds.getConnection();
if( con != null ){
return true;
}else
return false;
}catch(Exception e){
e.printStackTrace();
return false;
// <editor-fold defaultstate="collapsed" desc="HttpServlet methods. Click on the + sign on the left to edit the code.">
/** Handles the HTTP <code>GET</code> method.
* @param request servlet request
* @param response servlet response
protected void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
processRequest(request, response);
/** Handles the HTTP <code>POST</code> method.
* @param request servlet request
* @param response servlet response
protected void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
processRequest(request, response);
/** Returns a short description of the servlet.
public String getServletInfo() {
return "Short description";
// </editor-fold>
}Changes in server.xml
<GlobalNamingResources>
<Resource
name="mysql"
auth="Container"
type="javax.sql.DataSource"
password=""
driverClassName="com.mysql.jdbc.Driver"
maxIdle="2"
maxWait="5000"
username="root"
url="jdbc:mysql://localhost:3306/sushi?autoReconnect=true"
maxActive="4"/>
</GlobalNamingResources>changes in web.xml
<resource-ref>
<description>Tomcat DBCP</description>
<res-ref-name>mysql</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>You might have more answers if you post this same question in the Sun Java Studio Enterprise forum...
http://swforum.sun.com/jive/category.jspa?categoryID=90 -
Max Concurrent connections supported by UTL_HTTP
Hi,
Can anyone help me out to find how many concurrent connections can UTL_HTTP.REQUEST_PIECES support. Is there any parameter that governs max no.of connections? If so, pls post the parameter name.Assaf: as always, thanks so much for the info!
When you say double-sided, do you mean a memory stick which has chips on both sides; as in 8 chips on each side?
I bought the Kingston memory one stick of 128MB PC100/PC133 which has chips on one side. I also bought the 256MB PC100/PC133 which has chips on both sides.
I currently have both these memory sticks in the MS 6119 and they appear to be working well. I am running Prime95 torture test just to make sure everything is working as it should be.
Currently I have the following memory in the MS 6119:
Bank 0 - the original PC100 128MB stick which has 8 chips on each side.
Bank 1 - the Kingston (KVR133Q/128R) PC100/PC133 128MB with 8 chips on one side.
Bank 2 - the kingston (KVR 133Q/256R) PC100/PC133 256MB with 8 chips on both sides.
The total is, of course is 512MB - and appears to be working just fine. Windows LOVES RAM :D -
Connecting to multiple datasources
i would like to connect to multiple datasources (i.e. db2 and peoplesoft both in two sitting in different subsystems in the MVS platform) in my java application. is it possible to do this in the websphere application server running under mainframe environment? any ideas or way around it?
thanks.Why don't you just describe the problems that arose when you tried it?
-
Do you know if weblogic application server can handle 50K concurrent connection? I have to make the decision if it is possible to use weblogic application server to do. If so, how many servers do i need (just an estimation is ok).
We are in production with a similar configuration (as of Feb 1).
We have two outstanding issues
1. Multicast DOES NOT WORK when dual NICs used/enabled
2. Testing using as few as 25 users (via webload, RSW and Loadrunner) causes
failures and timeouts.
The same test on a single server (cluster of 1) works fine!
App Servers
NT 4, sp6a
5 dual 650 IBM Netfinity 4000R w/512 mb
WLS 5.10 sp8
Web Servers
NT 4, sp6a
2 dual 650 IBM Netfinity 4000R w/512 mb
IIS proxy
cisco local director in front of web servers.
Michael Girdley wrote:
Sure. We regularly run benchmarks that include 10,000 simultaneous
connections. To do so, we use a cluster of 10 400 MHz CPUs running Windows
NT.
Michael Girdley, BEA Systems Inc
Learning WebLogic? Buy the book.
http://www.learnweblogic.com/
"kc" <[email protected]> wrote in message
news:3a63f01d$[email protected]..
Do you know if weblogic application server can handle 50K concurrentconnection? I have to make the decision if it is possible to use weblogic
application server to do. If so, how many servers do i need (just an
estimation is ok).--
/\/\i|<e
Mike Kincer
Solutions Developer/Engineer
Atlas Commerce "ebusiness evolved"
Office phone: +1-607-741-9988
mailto:[email protected] [http://www.atlascommerce.com] -
Important 50K concurrent connection
Do you know if weblogic application server can handle 50K concurrent connection? I have to make the decision if it is possible to use weblogic application server to do. If so, how many servers do i need (just an estimation is ok).
Please let me know the answerThis is very true, and often overlooked. What are you using in your
application? I'm working on a project that is using EJBs, JSP, servlets, XML
and XSL and very, very dynamic content.
The xsl transforms alone were probably our biggest performance hit. We've
since moved them to an external servlet engine (Caucho's Resin) to take some
of the burden off of our WL servers, and performance, and especially
scalability, have increased immensely.
How dynamic is your application? How many queries are there going to be per
served page? What kind of transform/building of each page is necessary?
These are all factors that are going to impact your speed and scalability
long before 50k users hit your site.
Thanks,
John Stotler
"Robert Patrick" <[email protected]> wrote in message
news:[email protected]...
BEA has people that can help you estimate the amount of hardware required.However, any estimate is very dependent on the application. Personally, I
recommend that you (with or without help from BEA) do a little stress
testing of the application to get a feel for how well it scales on a single
JVM. Once
you get a feel for this, it will be easier to get a more realisticestimate that we (BEA and you) can be comfortable with. If you want some
help with this, please talk to your BEA Account Representative about this.
>
Robert
kc wrote:
The client is a combination of Java applet (80%)(socket connection) and
HTTP connection (20%). There will be 10 transactions on the database for
each user per minute. 1 user will fire up 5 requests per minutes and each
request approximate 2 database transactions. There are 50K user connect
concurrently.
>>
Robert Patrick <[email protected]> wrote:
What I meant by traffic was how many requests per period of time do you
expect these users to make (10 per minute seems high since user think time
is generally more than 6 seconds). How much work does each request do
(i.e., how long
does the request take)? Are these web clients or Java applicationclients?
>>>
These are just a few of the things that you will need before trying toestimate the hardware required.
>>>
kc wrote:
What do you mean by traffic? One user will access the database by 10
transactions per minute. Is it help to estimate?
>>>>
Robert Patrick <[email protected]> wrote:
Yes, it can. How many servers you need is probably more dependent
on the traffic these users are generating than the number of users...
>>>>>
kc wrote:
Do you know if weblogic application server can handle 50K
concurrent connection? I have to make the decision if it is possible to use
weblogic application server to do. If so, how many servers do i need (just
an estimation is ok).
>>>>>>
Please let me know the answer -
Best SQL Challenege: TSQL Query Maximum Concurrent Connections (Participants)
Hi All,
I have a table called dbo.PhoneCalls with below columns
PhoneID |PhoneNumber| Callstarttime| CallEndtime|
1 |111-111-1111|2013-04-01 05:13:03.000|2013-04-01 05:13:03.000
1 |222-222-2222|2013-04-01 05:15:12.000|2013-04-01 05:16:52.000
2 |333-333-3333|2013-04-01 05:17:29.000|2013-04-01 05:24:08.000
2 |444-444-4444|2013-04-01 05:21:50.000|2013-04-01 05:22:31.000
2 |555-555-5555|2013-04-01 05:22:41.000|2013-04-01 05:23:11.000
2 |666-666-6666|2013-04-01 05:23:20.000|2013-04-01 05:23:46.000
1. PhoneID is nothing but the participant in the call. PhoneID = 1 is twice from above. Which means 2 particpants (Same call
)with 2 numbers with their callstarttime and callendtime. Similarly for PhoneID =2, there are 4 participants. And the list goes on for a day and then for a month.
2. For example a phone call P1 with 2 participants is going on for a particular day. We should not consider the same phone
call having 2 participants involved. So that the concurrency would be 2. We have to ignore that here.
3. Only to be considered is other Phone calls for that day. Lets say P1 having call with 2 participants, P2 having some 4 participants
which fall in the time period of P1. Then we should consider P1 and P2 the common period
4. In order to find number of concurrent calls happened for a day basing on callstarttime and callendtime. What would be the
query?
5. Should consider the Timeperiod or the bucket with 1 hour as the period.
6. A Phone Call P1, Phone Call P2, should have matching (common) time ( keeping all the scenarios) is required for this query.
Result for Concurrent calls for a day should be like below. Should get all the concurrent connections happened for a particular
day.
Date|TimePeriod/Bucket(hr part)|Concurrentconnections|
Jan-01-2015|01 to 02|3
Jan-01-2015|11 to 12|2
Jan-02-2015|04 to 05|5
Jan-02-2015|12 to 13|13
ii) So once the above is achieved.
Have to find the Maximum concurrent connections for day from the above.
For below Maximum Concurrent connections are '3'
Date|TimePeriod/Bucket(hr part)|Concurrentconnections|
Jan-01-2015|01 to 02|3
Jan-01-2015|11 to 12|2
Hence the Result for Maximum Concurrent Connections would be
Date|TimePeriod/Bucket(hr part)|MaxConcurrentconnections|
Jan-01-2015|01 to 02|3
Jan-02-2015|12 to 13|13Thanks George.
That was fantastic.
But
But I don't want the participants to be concurrent in the same call. And should consider the different call.
Lets say Phone Call P1 having 2 participants , obviously they are concurrent according to that call.
Only the Phone calls with more than one participant should match with other phone call with more than one participant.
A Phone call with any number of participants not matching with the time slot of other phone call should be ignored.
There might be a different call say P2, having some 3 participants at the same time or atleast fall in P1's time slot.
So
P1 --> 2 participants ---> start hour 10:00am ; End Hour 12:00pm
P2 --> 3 participants ---> start hour 10:30am ; End hour 12:30 pm
P3 --> 4 participants ----> start hour 11:00am ; End hour 11:10am
So the concurrency should ignore for P1 and should consider for P2 and P3. From above P2 having 3 participants, P3 having 4 participants. So the common time for all P1,P2,P3 is 11:00am - 11:10am.
Concurrency should be
Starthour EndHour ConConnections
10:00am 11:00am (2+3+4) ---> 2 for P1, 3 for P2, 4 for P3, because at exactly 11:00am there are 4 participants. So the time bucket or the slab for 1 hour will give us that concurrency at that particular slab. Except that independent
participants to that call.
So Result should be
Start Hour End Hour Concurrent Connections
10:00am 11:00am 9
11:00am 12:00pm 9
12:00pm 01:00pm 5 -
What no of concurrent connections can each server serv?
Ok we're a startup and currently thinking about whether to use flash media streaming server or red5, or progressive streaming with lighttpd.
In order to make a decision I would like to know how many concurrent streams can flash media server server stream until one has to purchase another license. Do any of you guys have some numbers.
We will be streaming mp3 at low bit rates, service will be hosted within AWS EC2 (with whatever instances are available there). So if you can post some performance specs that would be great....
Oddly enough Adobe Sales does not even know the answer... I have heard rumors that high number of concurrent connections is not a really a feature that this product is developed towards.
Thanks for you answers.I'd do some more research before commiting to EC2/S3 at all. I'd also confirm that comment about Wowza streaming from S3... I've never worked with it, but if you're streaming, chances are S3 is just storage, and you're actually streaming from EC2 (I don't think you can run an application on S3... but maybe I'm wrong there)
The trouble is, regardless of the software, you're still in competition for bandwidth. There's only so much capacity at the network interface of each shared server, and if you happen to land on a busy server, you may find there isn't enough to go around. For stateless applications like HTTP request/response, that's fine, but for apps that require statefull client/server connections, bandwidth and latency issues can prove catastrophic.
The biggest problem I have with running a streaming server on EC2 (virtualization issues aside), is that they won't disclose hardware or network specs. So, while you can be sure you'll have the memory and processor allocation, it's a crapshoot when it comes to disk time and bandwidth, as you have no real idea how many other instances you're sharing a server with, or what those other instances are doing in terms of bandwidth and disk usage.
While I don't know any of the specs on the cloudfront service, I suspect those servers are load balanced in such a way that bandwidth is accounted for. In the general population EC2 servers, that's not the case.
My advice... really research this before you make your deployment decisions. I've come to find that while scaling out is a bit more challenging, dedicated hardware and bandwidth isn't all that much more expensive than EC2, and when you go dedicated, you can actually count on your resources being available to you. -
Maximum number of concurrent connections using java sockets
How can we find out the maximum number of concurrent connections that can be handled by a pooled connection server?
I have a pooled server which creates a predefined number of handlers. Upon receiving a new request it accepts the connection and sends it to one of the handler.
The solution works well for low number of concurrent connections - < 50 or 100
But as the number increases there seems to be an issue
1. Ignoring request even if i increase the handlers
2. Increase in delay. [I feel that the listening thread is not getting the time slice to go read the socket for new requests]
Any idea as to how i can solve this?
Would an NIO socket help [am using the conventional java.io Serversocket, because my clients may not be non-blocking]??
Any help would be appreciated.
AnpThere is no set maximum, but it is in the thousands on most platforms. I have a production server that handles tens of thousands of connections simultaneously. Most likely you have a bug in your code.
Maybe you are looking for
-
HELP!! Need to get my program back
Hello, I've been writing a computer program all day and after compiling and running it worked perfectly. I then output the data as main.c and overwrote my program. Is there any way of getting this back? Are there any hidden files in mac folders like
-
How to CATCH error from call to standard SAP Function Module
Please, is it possible to catch the following error with the TRY CATCH ENDTRY construct? From a custom program, am calling CS_BOM_EXPL_MAT_V2. Several nested calls in, Form STL_DATEN_HOLEN (LCSS4F1I) calls FM CS_ALT_SELECT_MAT. However, that call is
-
My browser on facebook only opens pictures small :/
Normally when i clicked on pictures on www.facebook.com on my browser they would open normal size, big enough for me to see but now when i click on them they come up small and difficult to see. If i try and zoom in they go fuzzy so thats no good. Als
-
Oracle 11.2 vs ORA_BR_COPY
Hi! After upgrading your Oracle database to 11.2 the ora_br_copy.sh doesn't work any more. Did any of you get it fixed or working? I'm running ORACLE 11.2.0.2 + HP-UX 11.31. cheers
-
4.1EA2 User-Defined-Report strips CRLF when using PL/SQL DBMS Output
Hi, I have a report with a child report. That child report uses pl/sql to print to the screen. (dbms output) When i use the procedure manually it prints fine. When i copy this output to a text editor i can see the CRLF in there. If i call the same pr