You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by Ted Yu <ty...@carrieriq.com> on 2010/08/11 20:54:09 UTC
hprof from RS which encountered OOME
Hi,
See attached screenshots.
Re: hprof from RS which encountered OOME
Posted by Sebastian Bauer <ad...@ugame.net.pl>.
Hi, with new trunk i get OOME when inserting even 100 rows in
BatchMutations(thrift) to empty table. One row is about less than 256B long
hprof and logs are there: http://e-back.pl/hbase/ . I know java a
little, but hprof and jhat are black magic for me :)
Cheers
S.Bauer
W dniu 12.08.2010 20:33, Ted Yu pisze:
> There were 20 handlers running.
>
> I have seen the fix for HBASE-900
>
> On Thu, Aug 12, 2010 at 11:23 AM, Stack <st...@duboce.net> wrote:
>
>> Handler is only carrying what the client gave it. It holds it just
>> long enough to pass it into the server (or out). So, can you see what
>> the data is? Is it a big cell? How many handlers do you have
>> running? If 100 handlers and each is carrying a 50MB cell then thats
>> 5G. Is that whats going on? There was also an old issue where rpc
>> would hold the ghost of the largest byte array it had ever carried but
>> that should be fixed in your hbase Ted.
>> St.Ack
>>
>> On Thu, Aug 12, 2010 at 11:09 AM, Ted Yu <yu...@gmail.com> wrote:
>>> From the snapshot, we can see that HBaseServer$Handler's had the highest
>>> retained size.
>>> Can we make HBaseServer$Handler aware of the memory pressure of the
>>> RegionServer so that OOME can be avoided ?
>>>
>>> Cheers
>>>
>>> On Wed, Aug 11, 2010 at 1:19 PM, Ted Yu <ty...@carrieriq.com> wrote:
>>>
>>>> See if this is more helpful:
>>>>
Re: hprof from RS which encountered OOME
Posted by Ted Yu <yu...@gmail.com>.
There were 20 handlers running.
I have seen the fix for HBASE-900
On Thu, Aug 12, 2010 at 11:23 AM, Stack <st...@duboce.net> wrote:
> Handler is only carrying what the client gave it. It holds it just
> long enough to pass it into the server (or out). So, can you see what
> the data is? Is it a big cell? How many handlers do you have
> running? If 100 handlers and each is carrying a 50MB cell then thats
> 5G. Is that whats going on? There was also an old issue where rpc
> would hold the ghost of the largest byte array it had ever carried but
> that should be fixed in your hbase Ted.
> St.Ack
>
> On Thu, Aug 12, 2010 at 11:09 AM, Ted Yu <yu...@gmail.com> wrote:
> > From the snapshot, we can see that HBaseServer$Handler's had the highest
> > retained size.
> > Can we make HBaseServer$Handler aware of the memory pressure of the
> > RegionServer so that OOME can be avoided ?
> >
> > Cheers
> >
> > On Wed, Aug 11, 2010 at 1:19 PM, Ted Yu <ty...@carrieriq.com> wrote:
> >
> >> See if this is more helpful:
> >>
> >
>
Re: hprof from RS which encountered OOME
Posted by Stack <st...@duboce.net>.
Handler is only carrying what the client gave it. It holds it just
long enough to pass it into the server (or out). So, can you see what
the data is? Is it a big cell? How many handlers do you have
running? If 100 handlers and each is carrying a 50MB cell then thats
5G. Is that whats going on? There was also an old issue where rpc
would hold the ghost of the largest byte array it had ever carried but
that should be fixed in your hbase Ted.
St.Ack
On Thu, Aug 12, 2010 at 11:09 AM, Ted Yu <yu...@gmail.com> wrote:
> From the snapshot, we can see that HBaseServer$Handler's had the highest
> retained size.
> Can we make HBaseServer$Handler aware of the memory pressure of the
> RegionServer so that OOME can be avoided ?
>
> Cheers
>
> On Wed, Aug 11, 2010 at 1:19 PM, Ted Yu <ty...@carrieriq.com> wrote:
>
>> See if this is more helpful:
>>
>
Re: hprof from RS which encountered OOME
Posted by Ted Yu <yu...@gmail.com>.
The client was calling HTable.flushCommits() with 52MB data.
On Thu, Aug 12, 2010 at 11:12 AM, Ryan Rawson <ry...@gmail.com> wrote:
> Unfortunately that's a what not a why. The handler threads retain memory in
> the service of requests... just exactly what were you doing to the
> regionserver?
>
> You might need more heap. I'd give 7000m a go.
>
> On Aug 12, 2010 11:10 AM, "Ted Yu" <yu...@gmail.com> wrote:
> > From the snapshot, we can see that HBaseServer$Handler's had the highest
> > retained size.
> > Can we make HBaseServer$Handler aware of the memory pressure of the
> > RegionServer so that OOME can be avoided ?
> >
> > Cheers
> >
> > On Wed, Aug 11, 2010 at 1:19 PM, Ted Yu <ty...@carrieriq.com> wrote:
> >
> >> See if this is more helpful:
> >>
>
Re: hprof from RS which encountered OOME
Posted by Ryan Rawson <ry...@gmail.com>.
Unfortunately that's a what not a why. The handler threads retain memory in
the service of requests... just exactly what were you doing to the
regionserver?
You might need more heap. I'd give 7000m a go.
On Aug 12, 2010 11:10 AM, "Ted Yu" <yu...@gmail.com> wrote:
> From the snapshot, we can see that HBaseServer$Handler's had the highest
> retained size.
> Can we make HBaseServer$Handler aware of the memory pressure of the
> RegionServer so that OOME can be avoided ?
>
> Cheers
>
> On Wed, Aug 11, 2010 at 1:19 PM, Ted Yu <ty...@carrieriq.com> wrote:
>
>> See if this is more helpful:
>>
Re: hprof from RS which encountered OOME
Posted by Ted Yu <yu...@gmail.com>.
>From the snapshot, we can see that HBaseServer$Handler's had the highest
retained size.
Can we make HBaseServer$Handler aware of the memory pressure of the
RegionServer so that OOME can be avoided ?
Cheers
On Wed, Aug 11, 2010 at 1:19 PM, Ted Yu <ty...@carrieriq.com> wrote:
> See if this is more helpful:
>
Re: hprof from RS which encountered OOME
Posted by Ted Yu <ty...@carrieriq.com>.
See if this is more helpful:
Re: hprof from RS which encountered OOME
Posted by Stack <st...@duboce.net>.
Pretty, but no good; i need the raw heap. i want to bring it up in a
profiler that can sort the anonymous looking byte arrays by size and
follow their references so I can see who is taking up heap space.
St.Ack
On Wed, Aug 11, 2010 at 11:54 AM, Ted Yu <ty...@carrieriq.com> wrote:
> Hi,
> See attached screenshots.
>