generating config based on free memory

Vasiliy Tolstov v.tolstov at selfip.ru
Tue Oct 7 14:03:56 UTC 2014


I need to properly generate mysql (and other config files) based on
machine resources (first of all free memory). How can automatic inside
hooks can determine free memory?
For example i have classical wordpress on 1Gb vps. It can works very
fine, but current mysql charms hardcoded innodb_buffer_pool_size and i
don't have memory to start mysql server.

May be each charm provide minimum required memory for properly
working. And in mysql charm i can properly calculated some params that
needs memory... ?

-- 
Vasiliy Tolstov,
e-mail: v.tolstov at selfip.ru
jabber: vase at selfip.ru



More information about the Juju mailing list