hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Victor Xu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-11420) ThriftServer (version 1) may crash on OOME
Date Fri, 27 Jun 2014 10:53:25 GMT
Victor Xu created HBASE-11420:
---------------------------------

             Summary: ThriftServer (version 1) may crash on OOME
                 Key: HBASE-11420
                 URL: https://issues.apache.org/jira/browse/HBASE-11420
             Project: HBase
          Issue Type: Bug
          Components: Thrift
    Affects Versions: 0.98.2
         Environment: hadoop-cdh5, hbase-0.98.2, thrift-0.9.0
            Reporter: Victor Xu


When using ThriftServer as a gateway for php & c/c++ applications, I found it very easy
to crash of OOME. I analyzed the jprof file and found that the ThriftServer had a 1.2G size
byte array before it crashed. It seems to be a memory leak. But when did it happen? I checked
the huge byte array and realized that it was a HTTP request string. That means a request in
protocols other than Thrift may cause memory allocation exception. 
We cound easily recur the bug by wget/curl the ThriftServer. And we can check the memory usage
infomation using TOP command.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message