Re: [pinba] Pinba eats almost all the memory

40 views
Skip to first unread message

Antony Dovgal

unread,
Oct 5, 2012, 4:11:54 AM10/5/12
to pinba-...@googlegroups.com
On 2012-10-05 01:54, Dmitriy Golovinov wrote:
> I ve got a server on a rackspace cloud with 512 Mb RAM. When I start mysql without pinba - it takes about 100 Mb of memory,
>but when I do that with it - it takes 300-400 Mb of memory. Is it ok and I just need to extend my RAM or is there something wrong?

It's quite memory hungry, yes, but you still should be able to limit its appetite by adjusting request and temporary pools size:
http://pinba.org/wiki/Manual:Configuration#pinba_request_pool_size

Also using jemalloc/hoard memory allocators helps A LOT since the default memory allocator in Linux seems quite ineffective comparing to them.
That said, 512Mb is.. well.. not enough for any kind of task I can think of, so you surely need to add some more.

--
Wbr,
Antony Dovgal
---
http://pinba.org - realtime profiling for PHP
Reply all
Reply to author
Forward
0 new messages