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:
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.
- realtime profiling for PHP