Questions tagged [connections]

83 questions
0
votes
1 answer

limiting the number of global connections per second

I want to limit the number of ALL incoming NEW connections on a port, not only from one IP, something like: iptables -I INPUT -p tcp --dport 22 -m state --state NEW -m limit --limit 3/s -j DROP But I don't understand what's wrong. It worked…
Shocker
  • 3
  • 1
  • 3
0
votes
1 answer

Best way to connect two separate networks with separate internet connections within the same building

I'm a programming intern, and since I'm the only one in the company who seems to have rudimentary knowledge of Linux I've been given the task of setting up a network so that employees may share files and so that we have a local testing server for…
Native
  • 55
  • 8
0
votes
2 answers

Very large number open connections from web to DB server

I run 2 servers, 1 web (nginx/php), 1 database (mysql). Nginx has about 1500 active processes per second, and mysql status shows about 15 currently option connections on average. Now today i started running: netstat -npt | awk '{print $5}' | grep -v…
Mr.Boon
  • 1,441
  • 4
  • 24
  • 41
0
votes
1 answer

Switches and the amount of load

Out of curiosity does anyone know whether it would be more beneficial to have more switches with less terminals on each leading to your main switch OR load up each switch fully before having any terminals added onto another switch?
0
votes
1 answer

When Does the Linux & Windows' Samba Port Connection Close?

After connecting to a samba share, then disconnecting, netstat still shows that the ports are ESTABLISHED, even when the clients are on SUSPEND, HIBERNATE, or have SHUTDOWN. Looking over the samba documentation, I know now that I can set a period so…
fadmcrank
  • 1
  • 3
0
votes
2 answers

LAN-intern solution for server-side auto-IP-block

We got the problem, that our web server provider blocks our static IP address automatically, when we reach 200 simultaneous connections in the time window of 300 seconds. I'm running an Ubuntu server with an eBox on it, which could work as a gateway…
Erhard
  • 1
  • 1
0
votes
2 answers

monitoring the size of an SQL Server connection pool

We are trying to track down a performance issue. One theory we have is that we are running out of connections in the connection pool. Is there a way to monitor the size of a connection pool?
Shiraz Bhaiji
  • 2,219
  • 8
  • 34
  • 47
0
votes
1 answer

jboss 5.1 mysql connection pooling

I am using JBOSS 5.1.0.GA, MySQL 5.5 and Hibernate 3.3.1 GA (included with JBOSS) + Spring. My question is do I need to add c3p0 as a data source in my spring/hibernate configuration for connection pooling or are the setting in the JBOSS…
boyd4715
  • 101
  • 3
0
votes
1 answer

listenbacklog directive not working in apache2.2

I was trying to make apache 2.2 reject connections if MaxClients was reached, to do this I found the directive ListenBacklog.To test it, I configured apache in the following way: StartServers 5 …
andrés
  • 133
  • 5
0
votes
2 answers

Windows Server 2008 network limitations?

Please tell me: Are there some limitations on connection/socket/http in Windows Server 2008 R2 editions family? For example i am pretty sure that some of servers will have 100+ connections (by sockets and http requests) at the same time…
0
votes
2 answers

Configuring CentOS for Heavy-ish Traffic

New sysadmin here, managing a CentOS server. This past week has been one of the most exciting weeks of my career, and full of learning all sorts of new things. Today I have another task though, and that is to make sure our server can handle more…
Sampson
  • 520
  • 2
  • 6
  • 18
0
votes
3 answers

Splitting a MySQL DB in two may ease server from "Too many connetions"? I don't think so

I was requested to split a MySQL in two, it's kind of a horizontal partition, in which some rows correspond to one site, and some other correspond to another site. But they want to split it in two DBs in the same MySQL server. I'm no DB expert but I…
Petruza
  • 285
  • 3
  • 9
0
votes
1 answer

Webserver concurrent connections

Where can I get statistics of concurrent connections that can be handled by Apache and IIS? Which one will serve more requests in peak times? Thank you, Sri
sri
0
votes
2 answers

Where is the bottleneck?

There is a limit on connections somewhere along the line here... On a windows server 2008 machine, each request to a url running on localhost takes ~3 seconds to complete. This is fine and normal for the url. However, if i open the same localhost…
maxp
  • 113
  • 6
0
votes
1 answer

Routing all Traffic through a VPN Node while accepting incoming WAN Connections

I want to route all traffic through another VPN-Node, while: Keep the Connection to the VPN-Server active (already works) Still accepting WAN-Connections on that Client. My Client Node Configuration: # 35.1.1.1: WAN IP of VPN-Server # 192.168.8.1:…
Arakis
  • 321
  • 2
  • 6