connections

Terminate MySQL connections on shared host?

I'm using MediaTemple's Grid Server (shared/grid hosting) to run some MySQL/PHP sites I'm writing and noticed that I wasn't closing one of my MySQL connections, which caused my site to error out, "Too Many Connections". I can't log in anywhere to close the connections manually. Is that any way to close open connections using a script ...

What are possible causes for a large number of sleeping connections to a MySQL Server?

Using CodeIgniter with persistent connections disabled. ...

Delphi: Limiting TCP connections

Hello. I'm using the TServerSocket component in my Delphi application. I would like to limit client connections, let's say to one thousand. Unfortunately i don't know how to do that. The component does not provide any properties like 'MaxConnections' or any other like this one. I create new server threads (TServerClientThread) using th...

Increasing the maximum number of tcp/ip connections in linux

Hi all, I'm not sure if this is an OS, router, or ISP question, but I believe it is an OS question. Question: How can I increase the number of connections my computer can use? I'm using ubuntu. I currently have a lot of connections for bit torrent, but I'm not able to make full use of my entire download bandwidth. My BT client is ...

Increasing the maximum number of tcp/ip connections in linux

I am programming a server and it seems like my number of connections is being limited since my bandwidth isn't being saturated even when I've set the number of connections to "unlimited." How can I increase or eliminate a maximum number of connections that my ubuntu linux box can open at a time? Does the OS limit this, or is it the rou...

Monitor active web connections on IIS 7 in real time (perhaps throttle individual IP's)?

We develop a web app that manages files and resources for different users to download throughout the day on a web server with very limited upstream bandwidth. Is there any way to monitor in real time how much upstream bandwidth is being taken up by individual connections to IIS (7.0)? Ideally we'd like way to see a list of each activ...

What is Sqlite used for?

I don't know how authoritative this is but I found this: http://www.sqlite.org/cvstrac/wiki?p=PerformanceConsiderations and it doesn't seem good to have a lot of connections to sqlite. This seems to be bad for the web and most applications that have more than a few users. I'm having a hard time thinking of what sqlite would be used f...

Limit the number of concurrent connections from the server side?

I'm writing my own webserver and I don't yet handle concurrent connections properly. I get massive page loading lag due to inappropriately handling concurrent connections (I respond to SYN, but I lose the GET packet somehow. The browser retries after a while, but it takes 3 seconds!) I'm trying to figure out if there's a way to instru...

ASP.NET Webpart Static Connections.

I have two webparts in two different webpart zones. They provide a Master/Details scenario using gridviews. They are defined using static connections. Initially this works great. As soon as I close one of the webparts I get the message "You are about to close the webpart. It is currently providing data to other webparts, and these conne...

development on SharePoint v.s. development on Lotus Connections

Hello everyone, I am selecting between SharePoint and Lotus Connections, and I want gurus give me some advice. The functions I want to have is, portal/content management/workflow/various ways of communication (IM/audio/video/multi-party conference), better to have personal blog or team blog. Another key issue I want to consider is the ...

How long does sqlserver keep connections active after they are closed ?

Hi, In a asp.net/Sqlserver project, we create connections using ado.net (sql authentication) and we see a behaviour where there are a lot of active connections in "sleeping","Awaiting command" status The code does the following - Get a connection from common function, update db, Commit transaction, close & dispose transaction, cl...

Are hundreds/thousands of tcp sockets reasonable with memcached?

I'm using Merb::Cache for storing txt/xml and have noticed that the longer I leave my merbs running the larger the amount of open tcp sockets I have open -- I believe this is causing some major performance problems. lsof | grep 11211 | wc -l 494 merb 27206 root 71u IPv4 13759908 TCP localhost.local...

How to limit / throttle bandwidth with *multiple* connections

I'm writing an app in C# that downloads concurrently (in different threads) using multiple connections to multiple servers, and I'd like to be able to limit the used bandwidth. For a single connection the solution would be simple; I'd use the solution posted here : http://www.codeproject.com/KB/IP/Bandwidth_throttling.aspx which calcula...

Is it possible to restrict the number of connections for a role/login in SQL Server 2005?

e.g. Make it so that you could limit it to a max 2 connections for a given technical account, the third connection being blocked repeatedly until one of the others is given up ...

rmi (over ssl): TWO tcp connections?

running a simple example with a minimal server that * has both rmiregistry functionality and a fixed listen port, both correctly in listen * which has a "blocking" (long-sleeping) method - this has been done to actually see what kind of connection is opening with netstat a minimal client * (client only, no callbacks) that connects (a...

When does Entity Framework open and close Database Connections?

When I instance my "Entities" object in Entity Framework, and make a couple of queries using that Entities object, what happens to connections? Does it open a connection when I instance the object, and close it when I dispose of it? Or does it open and close a connection for each single query I execute? In either case, is it possible...

Entity Framework - How should I instance my "Entities" object

I'm a total newbie at Entity Framework and ASP.Net MVC, having learned mostly from tutorials, without having a deep understanding of either. (I do have experience on .Net 2.0, ADO.Net and WebForms) My current doubt comes from the way I'm instancing my Entities objects. Basically I'm doing this in my controllers: public class PostsCont...

How many maximum connections can oracle have ?

How many maximum number of connections can oracle handle ? The following is a summary for my sql, i need similar stats for oracle : The maximum number of connections MySQL can support depends on the quality of the thread library on a given platform, the amount of RAM available, how much RAM is used for each connection, the workload fro...

Web Service\Current Connections counter keeps increasing

Hey there, We observed that the Web Service\Current Connections counter for one of our ISAPI Filter keeps increasing in production, and eventually (when the value reaches around 270000) the incoming traffic will be “rejected” by getting 500 internal server errors. Our ISAPI Filter does the following things 1. For normal request, we sen...

Connection and Collection Interfaces in Java

Which class implements all the Connection Interfaces which are in javax.microedition.io package and how? And in the same way which class implements the some of Collection interfaces like Iterator interface. I saw a code: - Iterator it; ArrayList list = new ArrayList(); it = list.iterator(); The iterator() return type is "Iterator"...