View Single Post
  #1  
Old 05-05-2010, 10:13 AM
farhanisfarhan farhanisfarhan is offline
 
Join Date: Jun 2007
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How do I optimize my site? Its gone slow

Hello guys,

Just wanted someone to help me identify the problem in slow vBulletin forum.

I am on a cloud server with 8GB ram and Quadcore processors. CENTOS with PLESK.

URL is: http://bit.ly/bRkAmE

I know there are some issues related to mySQL which need to be addressed. I have tried all the possibilities before I am posting my issue here. even my SSH is so slow and my PLESK won't let me do anything as it says mysql errors.


My my.cnf file looks like (after running mysqltuner):

[mysqld]
set-variable=local-infile=0
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1
skip-bdb
set-variable=max_connections=800
set-variable=key_buffer=128M
set-variable=myisam_sort_buffer_size=64M
set-variable=join_buffer_size=1M
set-variable=read_buffer_size=2M
set-variable=sort_buffer_size=2M
set-variable=table_cache=2000
set-variable=thread_cache_size=128
set-variable=wait_timeout=600
set-variable=interactive_timeout=600
set-variable=connect_timeout=10
set-variable=tmp_table_size=64M
set-variable=max_heap_table_size=64M
set-variable=max_allowed_packet=64M
set-variable=max_connect_errors=10
set-variable=thread_concurrency=4
set-variable=read_rnd_buffer_size=524288
set-variable=bulk_insert_buffer_size=8M
set-variable=query_cache_limit=4M
set-variable=query_cache_size=64M
set-variable=query_cache_type=1
set-variable=query_prealloc_size=131072
set-variable=query_alloc_block_size=65536
set-variable=default-storage-engine=MyISAM

[mysql.server]
user=mysql
basedir=/var/lib


[mysqld_safe]
nice = -5
open_files_limit=8192
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

[mysqldump]
quick
max_allowed_packet=16M

[myisamchk]
set-variable=key_buffer=64M
set-variable=sort_buffer=64M
set-variable=read_buffer=16M
set-variable=write_buffer=16M
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01079 seconds
  • Memory Usage 1,765KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete