Elazığlı168 adlı üyeden alıntı:
mesajı görüntüle

Yanlış bilgiledirme için özür dilerim, hiç aktif kullanmadığım için incelememiştim ama düşününce çok saçma geldi bu lisanslandırma modeli
14
●2.453

GNU nano 2.0.9 File: /etc/my.cnf [mysqld] innodb_file_per_table=1 open_files_limit=50000 query_cache_size = 32M thread_cache_size = 128 table_cache = 2000 key_buffer = 256M query_cache_limit = 4M @@MiLLer7 cronjob günlük değil her 60 saniyede bir çalışıyor 400 bin kayıt içinden gerekli verileri çekiyor ... ve tablo onarımını verdiğin kodla yaptım (Bu yeni sunucuya geçtiğimde ben tek tek phpmyadminden elle onarmıştım....
teşekkür ederim.)Intel i7 3770 İşlemci 4 Core CPU 4 GB Ram (Bellek) 40 GB SSD + 100 GB SATA3 100 Mbit Bağlantı 2000 GB Aylık Trafikdediğiniz gibi vds oluyor sanırım..
root@sunucu1 [/]# ./mysqltuner.pl
>> MySQLTuner 1.3.0 - Major Hayden <major@mhtx.net>
>> Bug reports, feature requests, and downloads at http://mysqltuner.com/
>> Run with '--help' for additional options and output filtering
[OK] Currently running supported MySQL version 5.5.36-cll
[OK] Operating on 64-bit architecture
-------- Storage Engine Statistics -------------------------------------------
[--] Status: +ARCHIVE +BLACKHOLE +CSV -FEDERATED +InnoDB +MRG_MYISAM
[--] Data in MyISAM tables: 1G (Tables: 1767)
[--] Data in InnoDB tables: 2M (Tables: 133)
[--] Data in PERFORMANCE_SCHEMA tables: 0B (Tables: 17)
[!!] Total fragmented tables: 17
-------- Security Recommendations -------------------------------------------
[OK] All database users have passwords assigned
-------- Performance Metrics -------------------------------------------------
[--] Up for: 4m 52s (34K q [118.041 qps], 253 conn, TX: 116M, RX: 5M)
[--] Reads / Writes: 97% / 3%
[--] Total buffers: 448.0M global + 2.8M per thread (151 max threads)
[OK] Maximum possible memory usage: 863.2M (22% of installed RAM)
[OK] Slow queries: 0% (0/34K)
[OK] Highest usage of available connections: 4% (7/151)
[OK] Key buffer size / total MyISAM indexes: 256.0M/108.7M
[OK] Key buffer hit rate: 98.1% (514K cached / 9K reads)
[OK] Query cache efficiency: 21.2% (6K cached / 32K selects)
[!!] Query cache prunes per day: 3982980
[OK] Sorts requiring temporary tables: 0% (5 temp sorts / 14K sorts)
[!!] Joins performed without indexes: 5
[!!] Temporary tables created on disk: 45% (5K on disk / 13K total)
[OK] Thread cache hit rate: 97% (7 created / 253 connections)
[OK] Table cache hit rate: 98% (672 open / 679 opened)
[OK] Open file limit used: 2% (1K/50K)
[OK] Table locks acquired immediately: 100% (40K immediate / 40K locks)
[OK] InnoDB buffer pool / data size: 128.0M/2.1M
[OK] InnoDB log waits: 0
-------- Recommendations -----------------------------------------------------
General recommendations:
Run OPTIMIZE TABLE to defragment tables for better performance
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
Variables to adjust:
query_cache_size (> 32M)
join_buffer_size (> 128.0K, or always use indexes with joins)
tmp_table_size (> 16M)
max_heap_table_size (> 16M)wp total cache eklentisi için ise sunucuya dün xcache i kurdum ve biraz sonrada memcached eklentisini kurucam...
root@sunucu1 [/]# php -v
Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20100525/ZendGuardLoader.so: /usr/local/lib/php/extensions/no-debug-non-zts-20100525/ZendGuardLoader.so: cannot open shared object file: No such file or directory
PHP 5.4.27 (cli) (built: Apr 8 2014 18:38:20)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
with XCache v3.1.0, Copyright (c) 2005-2013, by mOo
with the ionCube PHP Loader v4.4.1, Copyright (c) 2002-2013, by ionCube Ltd.
with XCache Cacher v3.1.0, Copyright (c) 2005-2013, by mOo
root@sunucu1 [/]#ilk satırdaki hata yüzünden mi oluyor...if( extension_loaded('XCache') === false ) {
echo 'XCache yüklü degil.';
exit;
}
else
{
echo "eklenti yüklü";
}şu kodu test etmek için kullandığımda yüklü olduğu gözüküyor tabi kod doğru ise..XCache XCache Version 3.1.0 Modules Built cacher Directive Local Value Master Value xcache.coredump_directory no value no value xcache.disable_on_crash Off Off xcache.experimental Off Off xcache.test Off Off XCache Cacher XCache Cacher Module enabled Readonly Protection disabled Page Request Time 2014-04-14 07:59:41 Cache Init Time 2014-04-14 07:59:41 Cache Instance Id 10249 Opcode Cache enabled, 209,715,200 bytes, 4 split(s), with 4096 slots each Variable Cache enabled, 4,194,304 bytes, 1 split(s), with 8192 slots each Shared Memory Schemes mmap Directive Local Value Master Value xcache.admin.enable_auth On On xcache.allocator bestfit bestfit xcache.cacher On On xcache.count 4 4 xcache.gc_interval 0 0 xcache.mmap_path /dev/zero /dev/zero xcache.readonly_protection Off Off xcache.shm_scheme mmap mmap xcache.size 200M 200M xcache.slots 4K 4K xcache.stat On On xcache.ttl 0 0 xcache.var_allocator bestfit bestfit xcache.var_count 1 1 xcache.var_gc_interval 300 300 xcache.var_maxttl 0 0 xcache.var_namespace no value no value xcache.var_namespace_mode 0 0 xcache.var_size 4M 4M xcache.var_slots 8K 8K xcache.var_ttl 0 0ve xcache admin panelinin resimleri pek bir önbellekleme yapmıyor sanki anlayamadım..


First Byte Time A Keep-alive Enabled A Compress Transfer A Compress Images A Cache static content B Effective use of CDN YESGoogle PageSpeed Insights Sonuçları: