Dear APE Team,
We are able to connect to 40K users currently in our load
testing.
We have also identified the problem due to which we were not able
to attain the users beyond 10K. As I had mentioned in my earlier
posts, that we are using the inlinepush functionality for our
application. We had a separate script in cron which used to push
messages to the 10K users. Now @ the JSSS module there is a
inlinepush.conf which is read to check the password. After the
authentication, the file descriptor is not closed and when we checked
the listing of open files there were 10K sockets and 80K + listing of
inlinepush.conf file. To overcome this we have hard coded the password
in JSSS module itself, so that inlinepush.conf is not read.
At presnt we are running with 50K users which we wanted. Also we
will try to ramp our tests till max limimt of 99999 which we have
specified in rlimit_nofile, if time permits .
I will keep you updated in case of any issues .
Thank You.
Regards,
Sudeep Sunthankar
On Nov 19, 10:20 am, Sudeep S <[email protected]> wrote:
> Dear Johnathan,
> Thanks for the reply.
> Currently we are running a test with 20K users. I will surely
> check with telnet in case we face any problems during this test case
>
> Regards,SudeepSunthankar.
>
> On Nov 18, 9:00 pm, Johnathan Leppert <[email protected]>
> wrote:
>
> > What is the behavior when you connect to APE using something like nc or
> > telnet? Does it connect and just not respond?
>
> > Thanks,
>
> > Johnathan
>
> > On Thu, Nov 18, 2010 at 4:27 AM,SudeepS <[email protected]> wrote:
> > > Dear Johnathan,
>
> > > My test client is located on a different machine and the ulimit
> > > command gives me a response saying 'unlimited', Also in the ape.conf
> > > file I have set the value of rlimit_nofile value to 99999, and I don't
> > > get the socket error. To test the socket error we had tried keeping
> > > the value of rlimit_nofile as 10000, and we did get it, but in the
> > > above case I'm not getting any such error
>
> > > Thanks,
> > >SudeepSunthankar
>
> > > On Nov 18, 12:03 pm, Johnathan Leppert <[email protected]>
> > > wrote:
> > > > Are you doing testing from another machine? Because of the large numbers
> > > of
> > > > file descriptors open, its advisable to do testing on another machine.
>
> > > > Also, make sure to set your ulimit to a high value. Check your syslog
> > > > for
> > > > messages like the following:
>
> > > > socket: Too many open files (24)
>
> > > > which indicates the system has run out of available sockets (file
> > > > descriptors).
>
> > > > Johnathan
>
> > > > On Thu, Nov 18, 2010 at 12:53 AM,SudeepS <[email protected]>
> > > wrote:
> > > > > Dear APE Team,
>
> > > > > I am using the functionality of inlinepush for my application.
> > > We
> > > > > are
> > > > > expecting 50K users at any time to be using our application.
>
> > > > > I was doing a load testing with 10K users initially for the
> > > same.
> > > > > For testing I have written a client application which spawns
> > > > > 10K
> > > > > threads.Each thread does the foll which is exactly how our application
> > > > > will work
> > > > > 1) Connects to the APE server on
> > > > >http://0.ape
>
> > > .<domain>.com:80?[{"cmd":"CONNECT","chl":1,"params":{"param1":"value1","param2":"value2","param3":"value3","param4":"value4","param5":"value5"}}]]
> > > > > 2) Validate the above parameters at the server end and
> > > > > authenticating them by sending the request to another URL (using
> > > > > Http.js on server end for the same)
> > > > > 3) On authentication each thread creates a new channel.
> > > > > 4) Each thread then connects to ape server and checks if
> > > any
> > > > > message
> > > > > is there on its channel or not. After every 25s the each thread sends
> > > > > another request to check the same.
>
> > > > > We are sending messages once every 2 hours (In real application
> > > the
> > > > > frequency will be less every 2 mins or so and we will be using a
> > > > > script similar to the Php bundled with inline push demo).All the
> > > > > thread are able to receive their own messages properly.
> > > > > Our load testing runs works smoothly for 19-20 approx hours
> > > > > with
> > > 10K
> > > > > users and all the channels are created. But after that the APE server
> > > > > stops responding, surprisingly when I check the process listing, it
> > > > > shows me that APE is still running and also the PID is present in /
> > > > > proc file.
> > > > > During peak times of load testing, we are having 14-15 K http
> > > > > connections out of which 13-14K are in ESTABLISHED state.
>
> > > > > My server configruations are as follows
> > > > > OS:- CentOS release 5.4 (Final) 32 bit
> > > > > Kernel:- Linux 2.6.18-164.el5PAE
> > > > > APE Version:- 1.0
> > > > > Server Side JS:- mootools.js; Http.js; utils.js; inlinepush.js
> > > > > Also I have came across a performance tuning post in the google
> > > > > groups specifying tuning of sysctl and other TCP based parameters.
>
> > > > > We are currently using all default values for the same. It
> > > > > would be really great if you can share some sysctl parameters using
> > > > > which I can ramp up my testing scenario till 50K users, We wish to
> > > > > keep the tests running for maximum 24-30 hours.
>
> > > > > Thanking You,
>
> > > > > Regards,
> > > > >SudeepSunthankar
>
> > > > > --
> > > > > 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]<ape-project%[email protected]>
> > > <ape-project%[email protected]<ape-project%[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/
>
> > > --
> > > 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]<ape-project%[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/
--
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/