1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Website Still Slow

Discussion in 'Server Configuration and Hosting' started by silence, Apr 10, 2013.

  1. silence

    silence Well-Known Member

    I have spent weeks configuring it and I can't simply get it fast enough.
    Here is my specs:

    Nginx 1.3.15
    PHP-FPM 5.4.13

    MariaDB running on a SSD with this my.cnf:

    # CLIENT #
    port                          = 3306
    socket                        = /var/lib/mysql/mysql.sock
    # GENERAL #
    user                          = mysql
    default_storage_engine        = MyISAM
    socket                        = /var/lib/mysql/mysql.sock
    pid_file                      = /var/lib/mysql/mysql.pid
    bind-address                  = jeebus
    # MyISAM #
    key_buffer_size                = 976M
    myisam_recover                = FORCE,BACKUP
    # SAFETY #
    max_allowed_packet            = 16M
    max_connect_errors            = 1000000
    datadir                        = /var/lib/mysql/
    log_bin                        = /var/lib/mysql/mysql-bin
    expire_logs_days              = 14
    sync_binlog                    = 1
    tmp_table_size                = 32M
    max_heap_table_size            = 32M
    query_cache_type              = 0
    query_cache_size              = 0
    max_connections                = 500
    thread_cache_size              = 50
    open_files_limit              = 65535
    table_definition_cache        = 4096
    table_open_cache              = 4096
    # INNODB #
    innodb_flush_method            = O_DIRECT
    innodb_log_files_in_group      = 2
    innodb_log_file_size          = 32M
    innodb_flush_log_at_trx_commit = 1
    innodb_file_per_table          = 1
    innodb_buffer_pool_size        = 8M
    # LOGGING #
    log_error                      = /var/lib/mysql/mysql-error.log
    log_queries_not_using_indexes  = 1
    slow_query_log                = 1
    slow_query_log_file            = /var/lib/mysql/mysql-slow.log
    Also php save session is running on memcached server, nginx cache going to a ramdisk.

    VPS Info:
    3 cores of a Intel(R) Xeon(R) CPU E5-2690 0 @ 2.90GHz
    3 gigs ram
    300gb hdd
    16 gb ssd
    I can't get it to resolve very fast, even though I'm using google's dns for resolving :(
    What can I do?
  2. WSWD

    WSWD Well-Known Member

    What is the site's address?
  3. silence

    silence Well-Known Member

  4. WSWD

    WSWD Well-Known Member

    Not seeing any delay or slowness here at all in Southern California. Everything loads almost immediately. Tried using 3 different Internet connections, and remote desktop on a server. You sure it's your server and not your Internet connection causing the issues?

    The second place I would look is CloudFlare. People experience slowdowns with CF all the time.
  5. silence

    silence Well-Known Member

    Yes but the only reason I'm using CloudFlare is since I can use unlimited SSl tickets for like 20 a month.
  6. MattW

    MattW Well-Known Member

    Loads OK for me as well in the UK
  7. WSWD

    WSWD Well-Known Member

    If you aren't willing to at least try it, you're not going to know if that is the cause or not. You should also be able to access the website by bypassing Cloud Flare, to test it.
  8. silence

    silence Well-Known Member

    Do you know of any other service that offers ssl certificates without me having to buy 2 wildcard ones D:

    And I'll attempt disabling later :)
  9. Digital Doctor

    Digital Doctor Well-Known Member

  10. silence

    silence Well-Known Member

    How can I decrease the first-time-to-byte conventionally?
  11. Tracy Perry

    Tracy Perry Well-Known Member

    I haven't even played around with that site... neat.
    I guess mine isn't to bad (http://www.webpagetest.org/result/130411_KW_18E2/), when you consider it is hitting the Portal page and I have 3 Google AdSense ads running along with the Amazon block. No CloudFare or similar.
  12. Liam D.

    Liam D. Active Member

    It loads perfectly fine on my end. Your my.cnf also looks good to me. (You use InnoDB instead of MyISAM, right?)
  13. RoldanLT

    RoldanLT Well-Known Member

  14. silence

    silence Well-Known Member

    Yes I'm using InnoDB.
  15. silence

    silence Well-Known Member

  16. RoldanLT

    RoldanLT Well-Known Member

    You should hide for the guest, yo enhance more seo.
    speed = seo

Share This Page