Hello,
I am using Mac OSx
Date: Thu, 20 Sep 2012 05:25:50 -0700
From: [email protected]
To: [email protected]
Subject: Re: Apache Bench Error
Dalia,
First of all, you should not start with such high numbers -n 2000, -c 1000The
way to resolve this error, is to increase your open file descriptors on your
Operating system.If you can give me info on your OS, i can provide some
details, or you can Google.....
For linux , you can do something like
cat /proc/sys/fs/file-max
sysctl -w fs.file-max=100000
or some higher number, depending on your system configuration.
Hope this helps-Kamal
From: Dalia Sobhy
<[hidden email]>
To: [hidden email]
Sent: Thursday, September 20, 2012 7:55 AM
Subject: Apache Bench Error
Dear all,
While testing my restlet application using apache bench, I receive this
error:
$ ab -n 2000 -c 1000 http://localhost:8182/test/12345/retrievepatient
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient)
socket: Too many open files (24)
How to allow the server to have more connections/accept more requests ??
--
View this message in context:
http://restlet-discuss.1400322.n2.nabble.com/Apache-Bench-Error-tp7578367.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3007358
If you reply to this email, your message will be added to the
discussion below:
http://restlet-discuss.1400322.n2.nabble.com/Apache-Bench-Error-tp7578367p7578368.html
To unsubscribe from Apache Bench Error, click here.
NAML
--
View this message in context:
http://restlet-discuss.1400322.n2.nabble.com/Apache-Bench-Error-tp7578367p7578369.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3007367