Hi,
two things you may point your attention on:
- on linux servers, the number of file descriptors (socket has a file
descriptor) is limited by kind of 'user policy'. Take a look at the
'ulimit' command (you may want to do something like 'ulimit -n 99999' to
raise the maximum of concurrent opened fd)|.
|
- afaik there are only 2^16 ports available for TCP protocol, so I
suppose a single computer cannot have more than 2^16 connexion at the
same time.
Regards,
Nouk²
Le 03/06/2010 13:02, Sudeep S a écrit :
Dear Ape Team,
I was load testing the APE server, but got the below error
src/sock.c:137 - ape_connect() - socket() : Too many open files.
I'm using APE v1.0 and for load testing I m trying to create 10000
channels by spawning 10000 threads using libcurl in C.
Also to check the receipt of messages on this channels I m spawning
10000 more threads to regularly push messages on these channels.I have
changed the value of rlimit_nofile to 50000 in the ape.conf file
Please share some pointers to avoid the above error and do let me know
if any other way to do the load test
Regards,
Sudeep Sunthankar
--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/