On Mon, Jun 2, 2014 at 4:57 PM, Supun Malinga <sup...@wso2.com> wrote:

> Hi,
>
> Had a chat with Ratha. We checked the file limits with ulimit -n command
> and saw that the updated values not being applied. Found that wild card
> character was omitted..
> Seems the wildcard character (*) mentioned in the doc is misleading as a
> bullet point :).
>
Oh! That's why I said "add following" :)

>  Can we have a second look at modifying that please..
>
> thanks.
>
>
> On Mon, Jun 2, 2014 at 3:34 PM, Vijayaratha Vijayasingam <rat...@wso2.com>
> wrote:
>
>> yes..multiple times
>>
>>
>> On 2 June 2014 15:01, Isuru Perera <isu...@wso2.com> wrote:
>>
>>> Did you restart the server?
>>>
>>>
>>> On Mon, Jun 2, 2014 at 2:52 PM, Vijayaratha Vijayasingam <
>>> rat...@wso2.com> wrote:
>>>
>>>> We increased the file limit..
>>>> Still getting same issue..
>>>>
>>>>
>>>> On 2 June 2014 13:00, Vijayaratha Vijayasingam <rat...@wso2.com> wrote:
>>>>
>>>>> I sent only <5 requests..but getting this error..Ill try the solution..
>>>>>
>>>>>
>>>>> On 2 June 2014 12:56, Isuru Perera <isu...@wso2.com> wrote:
>>>>>
>>>>>> The error is "Too many open files"
>>>>>>
>>>>>> Please increase the ulimit. See
>>>>>> https://docs.wso2.org/display/ESB481/Performance+Tuning
>>>>>>
>>>>>> Edit /etc/security/limits.conf file and add following to the end.
>>>>>>
>>>>>> * soft nofile 4096
>>>>>> * hard nofile 65535
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Mon, Jun 2, 2014 at 12:34 PM, Vijayaratha Vijayasingam <
>>>>>> rat...@wso2.com> wrote:
>>>>>>
>>>>>>> Hi all;
>>>>>>> Im getting following error at BAM in the middle  and it throws
>>>>>>> continuously..
>>>>>>>
>>>>>>> ava:31)
>>>>>>>        at
>>>>>>> org.apache.thrift.server.TThreadPoolServer.serve(TThreadPoolServer.ja
>>>>>>> a:106)
>>>>>>>        at
>>>>>>> org.wso2.carbon.databridge.receiver.thrift.internal.ThriftDataReceive
>>>>>>> $ServerThread.run(ThriftDataReceiver.java:199)
>>>>>>>        at java.lang.Thread.run(Thread.java:744)
>>>>>>> aused by: java.net.SocketException: Too many open files
>>>>>>>        at java.net.PlainSocketImpl.socketAccept(Native Method)
>>>>>>>        at
>>>>>>> java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:
>>>>>>> 98)
>>>>>>>        at java.net.ServerSocket.implAccept(ServerSocket.java:530)
>>>>>>>        at
>>>>>>> sun.security.ssl.SSLServerSocketImpl.accept(SSLServerSocketImpl.java:
>>>>>>> 17)
>>>>>>>        at
>>>>>>> org.apache.thrift.transport.TServerSocket.acceptImpl(TServerSocket.ja
>>>>>>> a:113)
>>>>>>>        ... 5 more
>>>>>>> ID: [0] [BAM] [2014-06-02 12:32:30,147]  WARN
>>>>>>> {org.apache.cassandra.thrift.Cust
>>>>>>> mTThreadPoolServer} -  Transport error occurred during acceptance of
>>>>>>> message. {
>>>>>>> rg.apache.cassandra.thrift.CustomTThreadPoolServer}
>>>>>>> rg.apache.thrift.transport.TTransportException:
>>>>>>> java.net.SocketException: Too m
>>>>>>> ny open files
>>>>>>>        at
>>>>>>> org.apache.cassandra.thrift.TCustomServerSocket.acceptImpl(TCustomSer
>>>>>>> erSocket.java:103)
>>>>>>>        at
>>>>>>> org.apache.cassandra.thrift.TCustomServerSocket.acceptImpl(TCustomSer
>>>>>>> erSocket.java:39)
>>>>>>>        at
>>>>>>> org.apache.thrift.transport.TServerTransport.accept(TServerTransport.
>>>>>>> ava:31)
>>>>>>>        at
>>>>>>> org.apache.cassandra.thrift.CustomTThreadPoolServer.serve(CustomTThre
>>>>>>> dPoolServer.java:100)
>>>>>>>        at
>>>>>>> org.apache.cassandra.thrift.CassandraDaemon$ThriftServer.run(Cassandr
>>>>>>> Daemon.java:213)
>>>>>>> aused by: java.net.SocketException: Too many open files
>>>>>>>        at java.net.PlainSocketImpl.socketAccept(Native Method)
>>>>>>>        at
>>>>>>> java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:
>>>>>>> 98)
>>>>>>>        at java.net.ServerSocket.implAccept(ServerSocket.java:530)
>>>>>>>        at java.net.ServerSocket.accept(ServerSocket.java:498)
>>>>>>>        at
>>>>>>> org.apache.cassandra.thrift.TCustomServerSocket.acceptImpl(TCustomSer
>>>>>>> erSocket.java:97)
>>>>>>>        ... 4 more
>>>>>>> ID: [0] [BAM] [2014-06-02 12:32:30,147]  WARN
>>>>>>> {org.apache.thrift.server.TThread
>>>>>>> oolServer} -  Transport error occurred during acceptance of message.
>>>>>>> {org.apach
>>>>>>> .thrift.server.TThreadPoolServer}
>>>>>>> rg.apache.thrift.transport.TTransportException:
>>>>>>> java.net.SocketException: Too m
>>>>>>> ny open files
>>>>>>>        at
>>>>>>> org.apache.thrift.transport.TServerSocket.acceptImpl(TServerSocket.ja
>>>>>>> a:118)
>>>>>>>        at
>>>>>>> org.apache.thrift.transport.TServerSocket.acceptImpl(TServerSocket.ja
>>>>>>> a:35)
>>>>>>>
>>>>>>> --
>>>>>>> -Ratha
>>>>>>> mobile: (+94)755906608
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Isuru Perera
>>>>>> Senior Software Engineer | WSO2, Inc. | http://wso2.com/
>>>>>> Lean . Enterprise . Middleware
>>>>>>
>>>>>> about.me/chrishantha
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> -Ratha
>>>>> mobile: (+94)755906608
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> -Ratha
>>>> mobile: (+94)755906608
>>>>
>>>
>>>
>>>
>>> --
>>> Isuru Perera
>>> Senior Software Engineer | WSO2, Inc. | http://wso2.com/
>>> Lean . Enterprise . Middleware
>>>
>>> about.me/chrishantha
>>>
>>
>>
>>
>> --
>> -Ratha
>> mobile: (+94)755906608
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Supun Malinga,
>
> Senior Software Engineer,
> WSO2 Inc.
> http://wso2.com
> email: sup...@wso2.com <sup...@wso2.com>
> mobile: +94 (0)71 56 91 321
>



-- 
Isuru Perera
Senior Software Engineer | WSO2, Inc. | http://wso2.com/
Lean . Enterprise . Middleware

about.me/chrishantha
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to