You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by Fuud <gi...@git.apache.org> on 2014/05/27 08:52:36 UTC

[GitHub] thrift pull request: THRIFT-2551 OutOfMemoryError kills serve thre...

GitHub user Fuud opened a pull request:

    https://github.com/apache/thrift/pull/129

    THRIFT-2551 OutOfMemoryError kills serve thread

    THRIFT-2551 OutOfMemoryError "unable to create new native thread" kills serve thread.
    
    If executor can not create new thread (because of exceed descriptors limit for example) it throws OutOfMemoryError. This case is same as if RejectedExecutionException is thrown from executor: we can wait and retry.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/Fuud/thrift master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/thrift/pull/129.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #129
    
----
commit fe11c04eb3e4b7c1d1894a72a8ff85e19a1ce2e1
Author: Fuud <fu...@gmail.com>
Date:   2014-05-27T06:45:13Z

    THRIFT-2551 OutOfMemoryError "unable to create new native thread" kills serve thread

commit e4043491c362d67f6dee974e6e8e8bc9b858193b
Author: Fuud <fu...@gmail.com>
Date:   2014-05-27T06:50:26Z

    THRIFT-2551 OutOfMemoryError "unable to create new native thread" kills serve thread

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] thrift pull request: THRIFT-2551 OutOfMemoryError kills serve thre...

Posted by andre77 <gi...@git.apache.org>.
Github user andre77 commented on the pull request:

    https://github.com/apache/thrift/pull/129#issuecomment-206817099
  
    Hi,
    in our environment we use librthrift version 0.9.0, where we face the problem with OutOfMemoryError "unable to create new native thread"
    ok, with the fix in the newer version the serve thread will "survive" such an exception, but still a big question for me, why there are so many threads running?
    even after increasing the max processes to 4096, we face such a problem...
    someone an idea?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] thrift pull request: THRIFT-2551 OutOfMemoryError kills serve thre...

Posted by Fuud <gi...@git.apache.org>.
Github user Fuud closed the pull request at:

    https://github.com/apache/thrift/pull/129


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] thrift pull request: THRIFT-2551 OutOfMemoryError kills serve thre...

Posted by bufferoverflow <gi...@git.apache.org>.
Github user bufferoverflow commented on the pull request:

    https://github.com/apache/thrift/pull/129#issuecomment-44590556
  
    please close this,
    I committed with wrong pull request id.
    https://github.com/apache/thrift/commit/80a44f84fb161d77bf53261d024489df0aa7589c



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] thrift pull request: THRIFT-2551 OutOfMemoryError kills serve thre...

Posted by Fuud <gi...@git.apache.org>.
Github user Fuud commented on the pull request:

    https://github.com/apache/thrift/pull/129#issuecomment-47517219
  
    changes was pushed 
    https://github.com/apache/thrift/commit/80a44f84fb161d77bf53261d024489df0aa7589c


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---