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, Sudeep S <[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,
> Sudeep Sunthankar
>
>
> 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, Sudeep S <[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,
> > > 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]<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/

Reply via email to