Ir para conteúdo
  • Cadastre-se

vitorcherulli

Membro
  • Postagens

    8
  • Registro em

  • Última visita

Tudo que vitorcherulli postou

  1. Obrigado pelas respostas! Pessoal consegui instalar o MySQLTuner, e ele mostrou os resultados abaixo! >> MySQLTuner 1.6.0 - Major Hayden <[email protected]> >> Bug reports, feature requests, and downloads at http://mysqltuner.com/ >> Run with '--help' for additional options and output filtering [--] Skipped version check for MySQLTuner script [OK] Currently running supported MySQL version 5.5.42-cll [OK] Operating on 64-bit architecture -------- Storage Engine Statistics ------------------------------------------- [--] Status: +ARCHIVE +BLACKHOLE +CSV -FEDERATED +InnoDB +MRG_MYISAM [--] Data in MyISAM tables: 1G (Tables: 7284) [--] Data in InnoDB tables: 46M (Tables: 288) [!!] Total fragmented tables: 169 -------- Security Recommendations ------------------------------------------- [OK] There is no anonymous account in all database users [OK] All database users have passwords assigned [!!] User 'novatabela@%' hasn't specific host restriction. [!!] User 'novatabela@%' hasn't specific host restriction. [!!] User 'novatabela@%' hasn't specific host restriction. [!!] User 'novatabela@%' hasn't specific host restriction. [!!] User 'novatabela@%' hasn't specific host restriction. [!!] User 'novatabela@%' hasn't specific host restriction. [--] There is 605 basic passwords in the list. -------- Performance Metrics ------------------------------------------------- [--] Up for: 1h 21m 11s (286K q [58.758 qps], 8K conn, TX: 9B, RX: 35M) [--] Reads / Writes: 96% / 4% [--] Binary logging is disabled [--] Total buffers: 168.0M global + 2.8M per thread (151 max threads) [OK] Maximum reached memory usage: 223.0M (5.63% of installed RAM) [OK] Maximum possible memory usage: 583.2M (14.73% of installed RAM) [OK] Slow queries: 0% (0/286K) [OK] Highest usage of available connections: 13% (20/151) [OK] Aborted connections: 0.00% (0/8452) [!!] Query cache is disabled [OK] Sorts requiring temporary tables: 0% (10 temp sorts / 43K sorts) [!!] Joins performed without indexes: 667 [!!] Temporary tables created on disk: 65% (9K on disk / 14K total) [!!] Thread cache is disabled [!!] Table cache hit rate: 0% (400 open / 260K opened) [OK] Open file limit used: 4% (691/17K) [OK] Table locks acquired immediately: 99% (276K immediate / 276K locks) -------- MyISAM Metrics ----------------------------------------------------- [!!] Key buffer used: 77.9% (6M used / 8M cache) [OK] Key buffer size / total MyISAM indexes: 8.0M/146.7M [OK] Read Key buffer hit rate: 99.7% (37M cached / 101K reads) [OK] Write Key buffer hit rate: 99.6% (5M cached / 24K writes) -------- InnoDB Metrics ----------------------------------------------------- [--] InnoDB is enabled. [OK] InnoDB buffer pool / data size: 128.0M/46.7M [OK] InnoDB buffer pool instances: 1 [!!] InnoDB Used buffer: 41.31% (3384 used/ 8192 total) [OK] InnoDB Read buffer efficiency: 99.27% (447815 hits/ 451116 total) [!!] InnoDB Write buffer efficiency: 0.00% (0 hits/ 1 total) [OK] InnoDB log waits: 0.00% (0 waits / 1941 writes) -------- AriaDB Metrics ----------------------------------------------------- [--] AriaDB is disabled. -------- Replication Metrics ------------------------------------------------- [--] No replication slave(s) for this server. [--] This is a standalone server.. -------- Recommendations ----------------------------------------------------- General recommendations: Run OPTIMIZE TABLE to defragment tables for better performance Restrict Host for user@% to user@SpecificDNSorIp MySQL started within last 24 hours - recommendations may be inaccurate Enable the slow query log to troubleshoot bad queries Adjust your join queries to always utilize indexes When making adjustments, make tmp_table_size/max_heap_table_size equal Reduce your SELECT DISTINCT queries without LIMIT clauses Set thread_cache_size to 4 as a starting value Increase table_open_cache gradually to avoid file descriptor limits Read this before increasing table_open_cache over 64: http://bit.ly/1mi7c4C Beware that open_files_limit (17000) variable should be greater than table_open_cache ( 400) Variables to adjust: query_cache_size (>= 8M) join_buffer_size (> 128.0K, or always use indexes with joins) tmp_table_size (> 16M) max_heap_table_size (> 16M) thread_cache_size (start at 4) table_open_cache (> 400) Bom, provavelmente eu terei que editar o aquivo /etc/my.cnf tentei pelo ssh e não deu ele ficou em branco! Baixei ele pelo ftp e apareceu essas configurações. [mysqld] datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock user=mysql # Disabling symbolic-links is recommended to prevent assorted security risks symbolic-links=0 innodb_file_per_table=1 max_allowed_packet=268435456 open_files_limit=17000 default-storage-engine=MyISAM VI NO LINK INDICADO QUE O CARA COLOCOU ASSIM NO ARQUIVO! key_buffer_size=196M sort_buffer=1M join_buffer=1M max_join_size=2M thread_concurrency=16 thread_cache=5 table_cache=2000 interactive_timeout=45 wait_timeout=45 max_heap_table_size=128M tmp_table_size=2G query_cache_limit=1M query_cache_size=512M max_connections=500 max_user_connections=30 innodb_buffer_pool_size=128M innodb_file_per_table=1 innodb_log_file_size=5M innodb_thread_concurrency=4 Bom amigos, gostaria de saber: - Se eu posso somente colar essas configurações no meu arquivo my.cnf e fazer upload dele? - Realmente é esse o problema do roundcube estar caindo toda hora? - O servidor usa "eu acho" somente 30% da memória ram, depois dessa configuração vou precisar comprar mais memória? Obrigado a atenção de todos!
  2. Pessoal tudo bem? Estou com um problema em meu Roundcube. Ele está caindo em vários momentos do dia, e aparece essa mensagem abaixo CENTOS 6.7 x86_64 kvm – s01 WHM 11.50.0 (build 30) DATABASE ERROR: CONNECTION FAILED! Unable to connect to the database! Please contact your server-administrator. Ai eu reinicio o MySql e tudo volta a funcionar corretamente. Tentei reparar o BD e aparece essa mensagem. roundcube.cache note : The storage engine for the table doesn't support repair roundcube.cache_index note : The storage engine for the table doesn't support repair roundcube.cache_messages note : The storage engine for the table doesn't support repair roundcube.cache_shared Já atualizei ele para ultima versão. Alguém já passou por este problema? Obrigado
  3. Problema resolvido! - Um dos problemas era um robot malware, que estava fazendo milhares de requisições e sobrecarregando o CPU ficando por vários minutos em 100%,onde corrompia o banco de dados e travava tudo. - Um amigo meu conseguiu remover, e realizou a otimização do DB mysqlcheck -u root -p --auto-repair --optimize --all-databases como sugerido por vocês! Realizamos várias configurações, dentre delas a troca da porta SSH. Agora preciso instalar um bom firewall, alguém tem recomendações sobre? Muito Obrigado!
  4. Boa tarde amigos! Estou com o problema em meu servidor CENTOS 6.6 x86_64 kvm – s01 WHM 11.48.4 (build 4) - 4gb ram 60HD O servidor está caindo o tempo todo, consigo acessar os sites do mesmo, só que aparece um erro de conexão com o banco de dados. - Para resolver o problema eu reinicio o servidor SQL Server (MySQL) e tudo volta a funcionar, mais depois de um tempo o SQL cai novamente; - Antigamente aparecia um erro relacionado ao ClamAV, o mesmo foi desativado e continua continua caindo; - Olhando os níveis de memória ram/CPU, percebo em alguns momentos do dia um nível de 80% de uso, mas a média fica em 20% durante todo dia. Gostaria da ajuda de vocês! Obrigado. Na reinicialização do SQL Sempre aparecem erros diferentes, mas nesse ultima reinicialização apareceu esse erro! ================================================== ================================================== ================================================== Waiting for “mysql” to restart ……waiting for “mysql” to initialize …… …finished. Service Status mysql (/usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --user=mysql --log-error=/var/lib/mysql/NOMEDOHOST.COM.BR.err --open-files-limit=17000 --pid-file=/var/lib/mysql/NOMEDOHOST.COM.BR.pid --socket=/var/lib/mysql/mysql.sock) is running as mysql with PID 23860 (pidfile check method). Startup Log Starting MySQL.. SUCCESS! Log Messages 150626 9:06:33 [ERROR] /usr/sbin/mysqld: Table './cphulkd/login_track' is marked as crashed and should be repaired 150626 9:06:31 [Note] /usr/sbin/mysqld: ready for connections. 150626 09:06:30 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql 150626 09:06:29 mysqld_safe mysqld from pid file /var/lib/mysql/NOMEDOHOST.COM.BR.pid ended 150626 9:06:29 [Note] /usr/sbin/mysqld: Shutdown complete 150626 9:06:28 [Warning] /usr/sbin/mysqld: Forcing close of thread 51 user: 'eximstats' 150626 9:06:28 [Warning] /usr/sbin/mysqld: Forcing close of thread 4151 user: 'leechprotect' 150626 9:06:26 [Note] /usr/sbin/mysqld: Normal shutdown 150626 9:06:19 [ERROR] /usr/sbin/mysqld: Table './cphulkd/login_track' is marked as crashed and should be repaired ================================================== ================================================== ==================================================
  5. Estou interessado neste módulo, para WHMCS, se alguém tiver me contactar, [email protected]
  6. Pessoal, tudo bem? Gostaria de saber se alguém tem um módulo do pagseguro assinaturas recorrentes para WHMCS? Estamos muito interessados neste sistema de pagamentos do pagseguro para WHMCS. Aguardo retorno, e desde já. Obrigado
  7. Estava pensando em usar 30 dias para suspensão, isso para evitar constrangimento ao cliente.
×
×
  • Criar Novo...

Informação Importante

Concorda com os nossos termos?

-