• 11-04-2014, 17:05:24
    #10
    Elazığlı168 adlı üyeden alıntı: mesajı görüntüle
    Sevgili hasan iznin ile bir düzeltme yapmak isterim.

    Litespeed lisanslarındaki cpu seçenekleri core-fiziksel çekirdek mantığı ile oluşturulmuştur.

    1 cpu lisansında litespeed 1 fiziksel çekirdek üzerinde çalışır, sayı arttıkça daha fazla fiziksel çekirdek desteği açılır, bu lisansların farkı ise şudur.

    Çekirdek desteği arttıkça litespeedin php süreçlerini oluşturma ve anlık sayfa derleme kapasitesi artmaktadır.

    Tabiki normal bir web sunucusu için 1 cpu-core lisansı yeterli olacaktır, daha yoğun php süreçlerinin döndüğü 4 fiziksel core üstü veya 2 fiziksel işlemciye sahip sunucularda 2-4 veya 8 core lisansları tercih edilebilir. Ekstra olarak 2 core lisansında litespeed cache özelliğide açılıyordu paketler değişmedi ise.

    http://www.litespeedtech.com/support...43/#post-31588
    Haklısınız, her lisans yalnızca bir çekirdeğe etki ediyormuş

    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
  • 12-04-2014, 11:22:10
    #11
    @victories my.cnf dosyasında bir kaç satır daha ekledim koyu satırlar önceden var olan satırlar kırmızı satırları yeni ekledim ve mysql'e restart attım... reset attığım için mysqltuner.pl öneride bulunmuyor sistemin biraz çalışması için ama mysqltuner.pl çıktısını gene ekliyorum...

      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.)

    @Novadizayn uyarın için teşekkür ederim...

    aldığım firmanın web sitesindeki paket bilgilerinide yazayım..
    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 Trafik
    dediğiniz gibi vds oluyor sanırım..

    aşağıdada mysqltuner.pl nin çıktısı var yeni restart attığım için 24 saatlik verilere göre önerilerin yanlış olabileceğini söylüyor 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...

    bu arada sizede ilk mesajda belirttiğim gibi wp-admin panellerinde hala anasayfada ki gibi bir hız yok... anasayfa yada katagoriler jet gibi ama wp-admin için bekliyor...

    Chrome F12 den Network da geçikmeyi sağlayan yerin resmini de ekliyorum...

  • 12-04-2014, 23:39:54
    #12
    Merhaba

    Bildiğim kadarıyla update-core plugin vb updateleri kontrol ediyor onu devre dışı bırakırsanız açılma hızı yükselebilir panelinizde bir deneyin isterseniz.

    Bu arada sosyal medya eklentilerini kapatmayı deneyin sitenizde anormal bir yavaşlamayla karşılaşıyorsunuz birkaç seferdir bazı sosyal medya eklentilerinin ciddi anlamda siteyi yavaşlattığını farkettim ağır açılma değil baya baya yavaşlatıyordu.
  • 14-04-2014, 11:05:28
    #13
    arkadaşlar xcache i kurdum fakat wp total cache hata vermemesine karşın yeni yazı eklediğimde beklemeden direk anasayfaya düşüyor... sildiğimdede aynı şekilde...
    ssh çıktısı
    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..

    phpinfo
    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	0
    ve xcache admin panelinin resimleri pek bir önbellekleme yapmıyor sanki anlayamadım..


  • 14-04-2014, 18:07:07
    #14
    MehmetKabatas adlı üyeden alıntı: mesajı görüntüle
    arkadaşlar xcache i kurdum fakat wp total cache hata vermemesine karşın yeni yazı eklediğimde beklemeden direk anasayfaya düşüyor... sildiğimdede aynı şekilde...
    ssh çıktısı
    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..

    phpinfo
    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	0
    ve xcache admin panelinin resimleri pek bir önbellekleme yapmıyor sanki anlayamadım..


    Xcache resimlerde önbellekleme yapmaz zaten, yapısı itibariyle xcache sadece php opcode önbellekleyicisidir

    resimleri önbellekleme yapmak için pagespeed, varnish, nginx fastcgi veya apache mod_cache vs kullanabilirsin. Tavsiyem hem statik hem dinamik önbellekleme yaptığı için varnishtir.
  • 01-05-2014, 10:18:19
    #15
    Son yaptığım düzenlemeden bahsedeyim...

    Wp Total Cache eklentisinden vazgeçtim...

    Wp Super Cache eklentisini kurdum performans olarak daha iyi durumda... üstüne Cloudflare cdn Kullandım ama verim alamadım... sürekli sunucuya ulaşılamıyor hatası veriyordu...

    Onun üzerine Türkiye Odaklı olduğum için NetDirekt in 5gb ücretsiz CDN servisini kullanmaya başladım 2 gündür 3 sitemde aktif olarak kullanıyorum..

    performans ne oldu sonuçlar ne sizlere paylaşıyım

    Webpagetest sonuçları From: Bucharest, Romania - Chrome - Cable

    First Byte Time A
    Keep-alive Enabled A
    Compress Transfer A
    Compress Images A
    Cache static content B
    Effective use of CDN YES
    Google PageSpeed Insights Sonuçları:
    Mobil 73/100
    Masaüstü 89/100

    Gtmetrix sonuçları:
    Page Speed Grade: (95%)
    YSlow Grade: (91%)


    Sonuçlar uzun bir sayfa için bana göre ideal geldi çünkü bu değerlerin çok ve çok altındaydı...

    Peki ne yaptım...

    Wp Super cache eklentisi kurdum
    netdirekt'den deneme amaçlı ücretsiz 5gb CDN hizmetini wp super cache den aktif ettim.
    resimleri imsinty ve ewww image optimazzer ile düzenledim (tema görselleri dahil)
    birde resimler baseline olanları ssh dan jpegtran komutu ile progressive e çevirdim (bunun için çok eklenti aradım ama bulamadım...)