Questions tagged [concurrency]

55 questions
2
votes
2 answers

Postfix - rate limit outgoing concurrent connections to one machine/ip

I need to limit postfix outgoing connections for specific mailservers, but it seems to me that posfix's limiting is based on domains? What if there is one mailserver for more domains? I tried to find out what "destination" means in postfix's tuning…
xtc
  • 19
  • 1
  • 5
2
votes
1 answer

Server's maxconn parameter in haproxy

I'm using HAProxy in production to balance queries to a series of server instances that can only process 1 query at a time (by our own decision). Knowing that I set the maxconn parameter in the server definition line of backend configuration in…
Khriz
  • 121
  • 1
  • 2
2
votes
2 answers

How to determine POSIX advisory file locks are working in simfs in the VM I'm using?

I'm looking for a command-line utility or some other way to test effectiveness of file locks, specifically POSIX advisory locks (which aren't only for POSIX, btw) in a Linux filesystem. Specifically, I want to ensure POSIX advisory locking (file…
Gary S. Weaver
  • 113
  • 2
  • 10
2
votes
1 answer

Plotted ab results of node, cluster and nginx, odd results?

I did a test with ab -n 10000 -c 1000 against node.js with different configurations, each returning the string Hello World!. Results seems odd to me. X axis is the number of requests, y is the response time in milliseconds. Node is the server…
gremo
  • 325
  • 4
  • 20
2
votes
1 answer

IIS 7.5 on Windows 7 Ultimate

I am looking to install Windows 7 Ultimate and run IIS 7.5 on it. However, I would like to know exactly what my limitations will be with this setup. While researching this topic various resources have stated that I am limited to 20 device…
2
votes
5 answers

Many concurrent SSH commands in a bash script?

My Bash-Foo is not strong. Right now I have something like function update_project { for i in server-{1,2,3,4} ; do echo "Updating $i" ssh $i "git pull" done } The number of servers is growing every day, and since each update takes…
linkedlinked
  • 446
  • 1
  • 3
  • 11
1
vote
2 answers

AWS codedeploy: parallel or concurrent deployments

I'm currently experimenting with AWS codedeploy and noticed that there can be only one deployment running at the same time. I have six applications (in the AWS codedeploy sense) each with one deployment group "dev". When queuing a deployment for…
frank
  • 121
  • 3
1
vote
0 answers

Understanding clients-server max-concurrent-connections and TIME_WAIT state

I know there are a lot of questions and also answers around the TIME_WAIT state of a socket connection, but somehow non of them (or maybe from an experts perspective all of them) help me to understand my problem (or find possible solutions). My…
Philipp
  • 111
  • 3
1
vote
1 answer

Terminal Command to find maximum allowed TCP/IP connection on a port in Apache server(CentOS)

Is there any terminal commands to check the maximum allowed number of concurrent TCP/IP connections can be done in Apache server with CentOS??
Lingaraj
  • 11
  • 1
1
vote
3 answers

Why is method that uses gevent in a mod_wsgi deployed Flask api raising error about switching threads?

I am trying to deploy a Flask api via Apache/mod_wsgi. The api uses Gevent to provide concurrency for a recursive method. However, it is throwing the following error [Mon Feb 08 12:05:37 2016] [error] error: cannot switch to a different thread [Mon…
1
vote
1 answer

Throttling a user across multiple datacenters

I'm trying to implement a throttling feature on nginx, that is shared across multiple servers across multiple datacenters. I would like to know what would be the best practice for building this. For example, let's say that I have an HTTP API running…
Mark
  • 442
  • 5
  • 12
1
vote
0 answers

Fail with ab test with nginx, two workers and 1024 connections?

I'm doing some tests with nginx 1.4.1 and Node.js 0.10.5 on my development machine (P8700 Dual Core 2.53Ghz, 4Gb RAM running Xubuntu x64). Unfortunately I can't do ab with 100000 requests with a concurrency of 1000. I get this error after a fraction…
gremo
  • 325
  • 4
  • 20
1
vote
3 answers

Several Cron at same minute

I'm installing a bunch of Magento shops on a webserver. Every website has a cron job that Magento uses to update its stuff -- it takes 3-4 seconds to complete. The instructions tell to set it to run every 5 minutes. I was asking to myself if is it…
flip79
  • 143
  • 8
1
vote
0 answers

tomcat max number of threads

I have a very confusing scenario.. We are using tomcat6 to host an internal application. In server.xml file maxthreads attributes is set to 150 but if I log on to the manager, in "http-8080" section I see max threads = 40. So it saying that the…
rrkwells
  • 11
  • 3
1
vote
1 answer

proper concurrent users estimation case studies

I've been asked to size a web architecture for an excessive number of concurrent users ( hundreds of thousands ). I'm having a hard time convincing these people that unless you are in the top 5 of your country websites it's quite hard to hit those…
golemwashere
  • 724
  • 1
  • 10
  • 21