Those are settings in the /etc/sysctl.conf and /etc/security/limits.conf
files respectively.

Alternatively, you can try to do, ulimit -n 4096, before starting your
Synapse server. However, that option may not work on some systems.

Azeez

On Thu, Nov 12, 2009 at 6:01 PM, Khaled Farj <[email protected]>wrote:

> Hi asankha,
> About the testing, that's exactly what my work is about, I am testing web
> service apps.
> However I could not figure out what you mean about these values and where I
> can find these values ..?.
>
> Cheers
> khaled
>
>
> >-----Original Message-----
> >From: Asankha Perera [mailto:[email protected]] On
> >Behalf Of Asankha C. Perera
> >Sent: 12 November 2009 17:46
> >To: [email protected]
> >Subject: Re: java.io.IOException: Too many open files
> >
> >Hi Khaled
> >> Thanks asankha, I have done what you said and I changed to
> >Synapse-1.2, evrything works well until the request number
> >(1680) !! And almost the same Exception is thrown again.. ?.
> >My work is for sending 3000 requests to Synapse which in turn
> >sends them to the actual Web Service applications.
> >>
> >> Any help, please?
> >>
> >Do you have the following set? .. I usually set those for load testing.
> >See [http://wso2.org/library/3740 etc]
> >
> >/etc/sysctl.conf
> >net.ipv4.ip_local_port_range = 1024 65535
> >net.ipv4.tcp_fin_timeout = 30 fs.file-max = 2097152
> >net.ipv4.tcp_tw_recycle = 1 net.ipv4.tcp_tw_reuse = 1
> >
> >/etc/security/limits.conf
> >* soft nofile 4096
> >* hard nofile 65535
> >
> >
> >cheers
> >asankha
> >
> >--
> >Asankha C. Perera
> >AdroitLogic, http://adroitlogic.org
> >
> >http://esbmagic.blogspot.com
> >
> >
> >
> >
> >
>



-- 
Thanks
Afkham Azeez

Blog: http://afkham.org
Developer Portal: http://www.wso2.org
WSAS Blog: http://wso2wsas.blogspot.com
Company: http://wso2.com
GPG Fingerprint: 643F C2AF EB78 F886 40C9  B2A2 4AE2 C887 665E 0760

Reply via email to