GIGJ.COM
welcome to my space
X
Welcome to:gigj.com
Search:  
Personal Injury | Languages | Soups | Photography | Email | Prepress | Exotic Locations | Computer Games | Related articles
NAVIGATION - HOME

Can someone help me with server problems?

Published by: mike 2010-03-16

  • What is the cause of the Firefox cant find the server message ::
    My internet works fine. I can surf onto any server. I can also download using limewire uTorrent. The only problem that arises is for connecting to servers. I cannot
    http://answers.yahoo.com/question/index?qid=20081119135733AA2Ezg8
    HOME
    I have moved from 1and1 to theplanet. Since I have moved my site does nothing but crash.

    This is the error I get everytime. As you can see its been going on for over 1 month now.

    Database error in vBulletin :

    mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11)
    /home/b20vtec/public_html/forums/includes/class_core.php on line 273

    MySQL Error :
    Error Number :
    Date : Thursday, February 1st 2007 @ 09:06:13 PM
    Script : http://b20vtec.com/forums/index.php?
    Referrer :
    IP Address : Username :
    Classname : vb_database


    Here are the server loads before it crashes.

    (******b20v-03/04/2007 19:51:29):After reboot at 8:49 pm.
    cpsrvd up
    named (9.2.4) up
    Server Load 4.09 (2 cpus)
    Memory Used 42.7 %

    --------------------------------------
    (******b20v-03/04/2007 20:12:23):9:11pm 328 users online.
    cpsrvd up
    named (9.2.4) up
    Server Load 6.56 (2 cpus)
    Memory Used 75.8 %

    --------------------------------------
    (******b20v-03/04/2007 20:34:13):9:33 pm site is down.
    cpsrvd up
    named (9.2.4) up
    Server Load 43.01 (2 cpus)
    Memory Used 96.6 %

    They cant seem to fix this problem for anything. This is what I was told.

    "Hi Robert – Our techs are thinking you need to do some tweaking to MySQL"

    Can anyone help me with this. Im on a managed dedicated server. I have very little server skills or understanding.

    I tried to do the optimise but only got to step 10
    1. Dedicated Server

    2.Processor Information
    Processor #1 Vendor: GenuineIntelProcessor #1 Name: Intel(R) Xeon(R) CPU 3060 @ 2.40GHzProcessor #1 speed: 2400.128 MHzProcessor #1 cache size: 4096 KB

    Processor #2 Vendor: GenuineIntelProcessor #2 Name: Intel(R) Xeon(R) CPU 3060 @ 2.40GHzProcessor #2 speed: 2400.128 MHzProcessor #2 cache size: 4096 KB

    Redhat linux i686 i686 i386 gnu/linux
    apache 1.3.37 (Unix)
    php 4.4.4
    mysql version 4.1.21-standard



    Diagnostics

    Help MySQL Variables
    Variable_name Value
    back_log 50
    basedir /
    binlog_cache_size 32768
    bulk_insert_buffer_size 8388608
    character_set_client latin1
    character_set_connection latin1
    character_set_database latin1
    character_set_results latin1
    character_set_server latin1
    character_set_system utf8
    character_sets_dir /usr/share/mysql/charsets/
    collation_connection latin1_swedish_ci
    collation_database latin1_swedish_ci
    collation_server latin1_swedish_ci
    concurrent_insert ON
    connect_timeout 5
    datadir /var/lib/mysql/
    date_format %Y-%m-%d
    datetime_format %Y-%m-%d %H:%i:%s
    default_week_format 0
    delay_key_write ON
    delayed_insert_limit 100
    delayed_insert_timeout 300
    delayed_queue_size 1000
    expire_logs_days 0
    flush OFF
    flush_time 0
    ft_boolean_syntax + -><()~*:""&
    ft_max_word_len 84
    ft_min_word_len 4
    ft_query_expansion_limit 20
    ft_stopword_file (built-in)
    group_concat_max_len 1024
    have_archive NO
    have_bdb NO
    have_blackhole_engine NO
    Can someone please help me xbox 360 problems? We have a brand new xbox ::
    We are using a DLink WBR 2310 router. We have 2 problems: 1. make sure you dont have any thing else runnin through ur server while playin online
    http://answers.yahoo.com/question/index?qid=20090125151706AAxTN4G
    HOME
    have_compress YES
    have_crypt YES
    have_csv NO
    have_example_engine NO
    have_geometry YES
    have_innodb YES
    have_isam NO
    have_ndbcluster NO
    have_merge_engine YES
    have_openssl NO
    have_query_cache YES
    have_raid NO
    have_rtree_keys YES
    have_symlink YES
    init_connect
    init_file
    init_slave
    innodb_additional_mem_pool_size 1048576
    innodb_autoextend_increment 8
    innodb_buffer_pool_awe_mem_mb 0
    innodb_buffer_pool_size 8388608
    innodb_data_file_path ibdata1:10M:autoextend
    innodb_data_home_dir
    innodb_fast_shutdown ON
    innodb_file_io_threads 4
    innodb_file_per_table OFF
    innodb_flush_log_at_trx_commit 1
    innodb_flush_method
    innodb_force_recovery 0
    innodb_lock_wait_timeout 50
    innodb_locks_unsafe_for_binlog OFF
    innodb_log_arch_dir
    innodb_log_archive OFF
    innodb_log_buffer_size 1048576
    innodb_log_file_size 5242880
    innodb_log_files_in_group 2
    innodb_log_group_home_dir ./
    innodb_max_dirty_pages_pct 90
    innodb_max_purge_lag 0
    innodb_mirrored_log_groups 1
    innodb_open_files 300
    innodb_table_locks ON
    innodb_thread_concurrency 8
    interactive_timeout 28800
    join_buffer_size 131072
    key_buffer_size 134217728
    key_cache_age_threshold 300
    key_cache_block_size 1024
    key_cache_division_limit 100
    language /usr/share/mysql/english/
    large_files_support ON
    lc_time_names en_US
    license GPL
    local_infile ON
    locked_in_memory OFF
    log OFF
    log_bin OFF
    log_error
    log_slave_updates OFF
    log_slow_queries ON
    log_update OFF
    log_warnings 1
    long_query_time 5
    low_priority_updates OFF
    lower_case_file_system OFF
    lower_case_table_names 0
    max_allowed_packet 1048576
    max_binlog_cache_size 4294967295
    max_binlog_size 1073741824
    max_connect_errors 10
    max_connections 500
    max_delayed_threads 20
    max_error_count 64
    max_heap_table_size 16777216
    max_insert_delayed_threads 20
    max_join_size 4294967295
    max_length_for_sort_data 1024
    max_prepared_stmt_count 16382
    max_relay_log_size 0
    max_seeks_for_key 4294967295
    max_sort_length 1024
    max_tmp_tables 32
    max_user_connections 0
    max_write_lock_count 4294967295
    myisam_data_pointer_size 4
    myisam_max_extra_sort_file_size 2147483648
    myisam_max_sort_file_size 2147483647
    myisam_recover_options OFF
    myisam_repair_threads 1
    myisam_sort_buffer_size 8388608
    myisam_stats_method nulls_unequal
    net_buffer_length 16384
    net_read_timeout 30
    net_retry_count 10
    net_write_timeout 60
    new OFF
    old_passwords OFF
    open_files_limit 2510
    pid_file /var/lib/mysql/host.b20vtec.com.pid
    port 3306
    preload_buffer_size 32768
    prepared_stmt_count 0
    protocol_version 10
    query_alloc_block_size 8192
    query_cache_limit 1048576
    query_cache_min_res_unit 4096
    query_cache_size 0
    query_cache_type ON
    query_cache_wlock_invalidate OFF
    query_prealloc_size 8192
    range_alloc_block_size 2048
    read_buffer_size 131072
    read_only OFF
    read_rnd_buffer_size 262144
    relay_log_purge ON
    relay_log_space_limit 0
    rpl_recovery_rank 0
    secure_auth OFF
    server_id 0
    skip_external_locking ON
    skip_networking OFF
    skip_show_database OFF
    slave_net_timeout 3600
    slave_transaction_retries 0
    slow_launch_time 2
    socket /var/lib/mysql/mysql.sock
    sort_buffer_size 2097144
    sql_mode
    sql_notes ON
    sql_warnings ON
    storage_engine MyISAM
    sync_binlog 0
    sync_frm ON
    sync_replication 0
    sync_replication_slave_id 0
    sync_replication_timeout 0
    system_time_zone CST
    table_cache 512
    table_type MyISAM
    thread_cache_size 0
    thread_stack 196608
    time_format %H:%i:%s
    time_zone SYSTEM
    tmp_table_size 33554432
    tmpdir /tmp
    transaction_alloc_block_size 8192
    transaction_prealloc_size 4096
    tx_isolation REPEATABLE-READ
    version 4.1.21-standard-log
    version_comment MySQL Community Edition - Standard (GPL)
    version_compile_machine i686
    version_compile_os pc-linux-gnu
    wait_timeout 240
    vBulletin® v3.6.4, ©2000-2007, Jelsoft Enterprises Ltd.


    Diagnostics

    Help MySQL Status
    Variable_name Value
    Aborted_clients 408
    Aborted_connects 1109
    Binlog_cache_disk_use 0
    Binlog_cache_use 0
    Bytes_received 180617529
    Bytes_sent 834624277
    Com_admin_commands 4
    Com_alter_db 0
    Com_alter_table 0
    Com_analyze 0
    Com_backup_table 0
    Com_begin 16
    Com_change_db 2410932
    Com_change_master 0
    Com_check 0
    Com_checksum 0
    Com_commit 16
    Com_create_db 0
    Com_create_function 0
    Com_create_index 0
    Com_create_table 0
    Com_dealloc_sql 0
    Com_delete 62949
    Com_delete_multi 0
    Com_do 0
    Com_drop_db 0
    Com_drop_function 0
    Com_drop_index 0
    Com_drop_table 0
    Com_drop_user 0
    Com_execute_sql 0
    Com_flush 0
    Com_grant 0
    Com_ha_close 0
    Com_ha_open 0
    Com_ha_read 0
    Com_help 0
    Com_insert 475373
    Com_insert_select 0
    Com_kill 0
    Com_load 0
    Com_load_master_data 0
    Com_load_master_table 0
    Com_lock_tables 25
    Com_optimize 0
    Com_preload_keys 0
    Com_prepare_sql 0
    Com_purge 0
    Com_purge_before_date 0
    Com_rename_table 0
    Com_repair 0
    Com_replace 41493
    Com_replace_select 0
    Com_reset 0
    Com_restore_table 0
    Com_revoke 0
    Com_revoke_all 0
    Com_rollback 0
    Com_savepoint 0
    Com_select 11013096
    Com_set_option 5456
    Com_show_binlog_events 0
    Com_show_binlogs 0
    Com_show_charsets 0
    Com_show_collations 0
    Com_show_column_types 0
    Com_show_create_db 0
    Com_show_create_table 0
    Com_show_databases 6
    Com_show_errors 0
    Com_show_fields 1
    Com_show_grants 0
    Com_show_innodb_status 0
    Com_show_keys 1
    Com_show_logs 0
    Com_show_master_status 0
    Com_show_ndb_status 0
    Com_show_new_master 0
    Com_show_open_tables 0
    Com_show_privileges 0
    Com_show_processlist 6448
    Com_show_slave_hosts 0
    Com_show_slave_status 0
    Com_show_status 5375
    Com_show_storage_engines 0
    Com_show_tables 12
    Com_show_variables 10819
    Com_show_warnings 0
    Com_slave_start 0
    Com_slave_stop 0
    Com_stmt_close 0
    Com_stmt_execute 0
    Com_stmt_prepare 0
    Com_stmt_reset 0
    Com_stmt_send_long_data 0
    Com_truncate 0
    Com_unlock_tables 25
    Com_update 1897959
    Com_update_multi 23
    Connections 1652044
    Created_tmp_disk_tables 83414
    Created_tmp_files 448
    Created_tmp_tables 834784
    Delayed_errors 0
    Delayed_insert_threads 0
    Delayed_writes 0
    Flush_commands 1
    Handler_commit 16
    Handler_delete 139964
    Handler_discover 0
    Handler_read_first 3260033
    Handler_read_key 266847931
    Handler_read_next 369093341
    Handler_read_prev 12402194
    Handler_read_rnd 80143588
    Handler_read_rnd_next 2975009371
    Handler_rollback 16
    Handler_update 4091291
    Handler_write 76539813
    Key_blocks_not_flushed 0
    Key_blocks_unused 21765
    Key_blocks_used 96500
    Key_read_requests 904830539
    Key_reads 118960
    Key_write_requests 1159874
    Key_writes 910933
    Max_used_connections 501
    Not_flushed_delayed_rows 0
    Open_files 616
    Open_streams 0
    Open_tables 512
    Opened_tables 11043
    Qcache_free_blocks 0
    Qcache_free_memory 0
    Qcache_hits 0
    Qcache_inserts 0
    Qcache_lowmem_prunes 0
    Qcache_not_cached 0
    Qcache_queries_in_cache 0
    Qcache_total_blocks 0
    Questions 17579654
    Rpl_status NULL
    Select_full_join 54
    Select_full_range_join 0
    Select_range 3163607
    Select_range_check 0
    Select_scan 974573
    Slave_open_temp_tables 0
    Slave_retried_transactions 0
    Slave_running OFF
    Slow_launch_threads 28
    Slow_queries 2816
    Sort_merge_passes 222
    Sort_range 1335804
    Sort_rows 110645903
    Sort_scan 437810
    Table_locks_immediate 21121553
    Table_locks_waited 25411
    Threads_cached 0
    Threads_connected 6
    Threads_created 1652043
    Threads_running 1
    Uptime 323326
    vBulletin® v3.6.4, ©2000-2007, Jelsoft Enterprises Ltd.

    _ Key __________________________________________________ _______________
    Buffer used 94.24M of 128.00M %Used: 73.62
    Current 106.84M %Usage: 83.47
    Write ratio 0.785
    Read ratio 0.000
    __ Questions __________________________________________________ _________
    Total 17.59M 54.4/s
    DMS 13.50M 41.7/s %Total: 76.74
    Com_ 2.44M 7.5/s 13.87
    COM_QUIT 1.65M 5.1/s 9.40
    -Unknown 2.21k 0.0/s 0.01
    Slow 2.82k 0.0/s 0.02 %DMS: 0.02
    DMS 13.50M 41.7/s 76.74
    SELECT 11.02M 34.1/s 62.65 81.63
    UPDATE 1.90M 5.9/s 10.80 14.07
    INSERT 475.73k 1.5/s 2.70 3.52
    DELETE 63.02k 0.2/s 0.36 0.47
    REPLACE 41.52k 0.1/s 0.24 0.31
    Com_ 2.44M 7.5/s 13.87
    change_db 2.41M 7.5/s 13.71
    show_variab 10.83k 0.0/s 0.06
    show_proces 6.45k 0.0/s 0.04
    __ SELECT and Sort __________________________________________________ ___
    Scan 975.36k 3.0/s %SELECT: 8.85
    Range 3.17M 9.8/s 28.72
    Full join 54 0.0/s 0.00
    Range check 0 0/s 0.00
    Full rng join 0 0/s 0.00
    Sort scan 438.15k 1.4/s
    Sort range 1.34M 4.1/s
    Sort mrg pass 222 0.0/s
    __ Table Locks __________________________________________________ _______
    Waited 25.42k 0.1/s %Total: 0.12
    Immediate 21.14M 65.3/s
    __ Tables __________________________________________________ ____________
    Open 512 of 512 %Cache: 100.00
    Opened 11.04k 0.0/s
    __ Connections __________________________________________________ _______
    Max used 501 of 500 %Max: 100.20
    Total 1.65M 5.1/s
    __ Created Temp __________________________________________________ ______
    Disk table 83.47k 0.3/s
    Table 835.36k 2.6/s
    File 448 0.0/s
    __ Threads __________________________________________________ ___________
    Running 1 of 4
    Cached 0 of 0 %Hit: 0
    Created 1.65M 5.1/s
    Slow 28 0.0/s
    __ Aborted __________________________________________________ ___________
    Clients 408 0.0/s
    Connects 1.11k 0.0/s
    __ Bytes __________________________________________________ _____________
    Sent 1.06G 3.3k/s
    Received 183.94M 568.6/s
    9. only thing on the server is the forums

    10. average is around 225 max is around 390. I dont know what my cookie time out is.


  • Usually it's in the directory where your MySQL databases are stored. The filename itself is your server's hostname .err.

    So, one of our server's hostnames is "db" so the file would be called: db.err

    Our data directory is: /var/lib/mysql

    So, your error log file may be: /var/lib/mysql/something.err

    You probably just need some MySQL settings tweaking, but while you wait for George to help you, we could take a look to see if it's actually something more than an unoptimized server.


  • FYI, server optimisation isn't officially included in vB support, it's done as a courtesy for basic tweaking advice via the forums where possible.

    2.6.9-42.0.10 is too new to know if the load bug still exists - only kernel which seems to have confirmed to not have the issue is 2.6.9-42.0.2

    Next time you have high cpu load, repost output for these 2 commands

    top

    mysqladmin -u root -p var ext ver > stats.txt

    open the stats.txt file to copy and paste it's contents.


  • Linux host.b20vtec.com 2.6.9-42.0.10.ELsmp #1 SMP Fri Feb 16 17:17:21 EST 2007 i686 i686 i386 GNU/Linux


    They changed the settings for me but didnt update mysql.


    A few hours later I got this load.

    120.81 75.14 36.43 with 300 users online.

    Once again I had to have the server manually rebooted.


    Does anyone have any suggestions for my issues?
    And is there a way to open a ticket with vbulletin to get you to look at the server?


  • Is there anything happening in your MySQL error log?


  • you're using 500+ mysql concurrent connections either your traffic has grown or DDOS attack or something as that server won't handle that many connections and would require splitting to 2x dual cpu server setup one for web + one for db server

    what OS and kernel version ?

    Update to MySQL 4.122 and try this my.cnf


    [mysqld]
    safe-show-database
    back_log = 75
    skip-innodb
    max_connections = 800
    key_buffer = 144M
    myisam_sort_buffer_size = 64M
    join_buffer_size = 1M
    read_buffer_size = 1M
    sort_buffer_size = 2M
    table_cache = 2500
    thread_cache_size = 512
    wait_timeout = 30
    connect_timeout = 10
    tmp_table_size = 64M
    max_heap_table_size = 64M
    max_allowed_packet = 64M
    max_connect_errors = 10
    read_rnd_buffer_size = 524288
    bulk_insert_buffer_size = 8M
    query_cache_limit = 3M
    query_cache_size = 64M
    query_cache_type = 1
    query_prealloc_size = 163840
    query_alloc_block_size = 32768
    default-storage-engine = MyISAM

    [mysqld_safe]
    nice = -5
    open_files_limit = 8192

    [mysqldump]
    quick
    max_allowed_packet = 16M

    [myisamchk]
    key_buffer = 64M
    sort_buffer = 64M
    read_buffer = 16M
    write_buffer = 16M

    [mysqlhotcopy]
    interactive-timeout


    restart mysql server afterwards

    Then wait a few days or at next high cpu load time, repost output for these 2 commands

    top

    mysqladmin -u root -p var ext ver > stats.txt

    open the stats.txt file to copy and paste it's contents.


  • I did this /var/lib/mysql

    Then tried to do this. /var/lib/mysql/host.b20vtec.com.err

    but its telling about some type of swap file and gives me code e325 so I stopped because I wasnt sure what to do.


  • Can you tell me how to check the error logs?


  • thank you for the advice. I will see if the host will change these setting for me.





  • Nortel Unveils Vision, Strategy for Israeli High-Performance Net
    Busy Friday Leads to Strong Close for Net Stocks

    #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about Can someone help me with server problems? , Please add it free.
  • adding sleeves to crochet shrug pattern help plz
  • how do i no if im pregnanr
  • why would a toddler do this
  • i took my friend to the hospital and now her mother is blaming me
  • why is the poppy a symbol for remembrance day
  • opinions needed about this guys ability
  • can social security checks be used on anything
  • is it jus normal for a to do so
  • what can i make with ground beef ground mild sausage
  • why does my 5yr old keep pooping himself even after several different types of discipline
  • is it illegal for a woman to not tell a man he is the father of her baby if she knows that he is
  • if you file for bankruptcy and someone sues you will that hold up in court
  • my 039 almost 039 3 year old is constantly yelling
  • i am in a job tha i truly love i just have issues with my co workers how to deal with it

  • woodpecker destroying our stucco
  • french revolution paper please help
  • is it normal for parnets to give 16 year olds a bedtime
  • how do i make my computer stop overheating
  • wordpress plugins installing
  • for those that have a 3 year old of multiples
  • my roommate keeps bringing guys back to our room at night
  • what is shared files and folders what are it 039 s purposes
  • is excessive clumsiness in a toddler a symptom of something more serious
  • yet another parakeet question very detailed
  • can budgies lay eggs anytime or isit when they reach a certain age
  • anyone good at quilting
  • can anyone in the houston tx area recommend a good family doctor for a 18 month old girl toddler
  • About us |Contact us |Advertisement |Site map |Exchange links
    Copyright© 2008gigj.com All Rights Reserved