From: Steve V. <vi...@ie...> - 2011-03-24 12:38:03
|
On Thu, Mar 24, 2011 at 6:14 AM, ALBERT HIDALGO BAREA <ab...@ti...> wrote: > Hi, > > I tested this command and it continues to fail. > There is some parameter in Erlang or in Yaws to change/add in order to support a concurrency higher than 300 users? No, there are no other settings required. Can you post the details of the errors you're seeing? Also, we need to know what version of Erlang you have as well as what version of Yaws you have. Are you running on Linux? Meanwhile I'll run some experiments on my Linux box. --steve > Thanks. > Regards, > > -----Original Message----- > From: vi...@gm... [mailto:vi...@gm...] On Behalf Of Steve Vinoski > Sent: miércoles, 23 de marzo de 2011 14:09 > To: ALBERT HIDALGO BAREA > Cc: erl...@li... > Subject: Re: [Erlyaws-list] Yaws concurrency problems > > On Wed, Mar 23, 2011 at 8:58 AM, ALBERT HIDALGO BAREA <ab...@ti...> wrote: >> >> My problem is when I am running the test. When I set a concurrency level >> higher than 200 clients, the ab exits with an error, only doing few requests >> (by using the -c option). Searching I found some Erlang variable which is >> ERL_MAX_PORTS which can increase the open ports in the Erlang virtual >> machine (by default is 1024). But I'm not able to run Yaws with this >> instruction (inside Yaws executable or when executing it with --erlarg ). > > ERL_MAX_PORTS isn't what you're looking for. What you need to do is > make sure your operating system allows enough per-process file > descriptors. On Linux or other UNIX systems, for example, you can run > > ulimit -n 65536 > > in your shell, and then run yaws. This will allow it to have 65536 > open file descriptors. > > --steve > > Este mensaje se dirige exclusivamente a su destinatario. Puede consultar nuestra política de envío y recepción de correo electrónico en el enlace situado más abajo. > This message is intended exclusively for its addressee. We only send and receive email on the basis of the terms set out at. > http://www.tid.es/ES/PAGINAS/disclaimer.aspx > |