Red Hat NETWORK 4.1.0 - Guía de usuario Pagina 78

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 101
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 77
Chapter 9
Copyright © 2008-2013 Inverse inc.
Performance optimization 74
mysql> show variables;
| innodb_additional_mem_pool_size | 1048576 |
| innodb_autoextend_increment | 8 |
| innodb_buffer_pool_awe_mem_mb | 0 |
| innodb_buffer_pool_size | 8388608 |
PacketFence relies heavily on InnoDB, so you should increase the buffer_pool size from the default
values.
Shutdown PacketFence and MySQL
# /etc/init.d/packetfence stop
Shutting down PacketFence...
[...]
# /etc/init.d/mysql stop
Stopping MySQL: [ OK ]
Edit /etc/my.cnf (or your local my.cnf):
[mysqld]
# Set buffer pool size to 50-80% of your computer's memory
innodb_buffer_pool_size=800M
innodb_additional_mem_pool_size=20M
innodb_flush_log_at_trx_commit=2
# allow more connections
max_connections=700
# set cache size
key_buffer_size=900M
table_cache=300
query_cache_size=256M
# enable slow query log
log_slow_queries = ON
Start up MySQL and PacketFence
# /etc/init.d/mysqld start
Starting MySQL: [ OK ]
# /etc/init.d/packetfence start
Starting PacketFence...
[...]
Wait 10 minutes for PacketFence to initial the network map and re-check iostat and CPU
Vista de pagina 77
1 2 ... 73 74 75 76 77 78 79 80 81 82 83 ... 100 101

Comentarios a estos manuales

Sin comentarios