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

Keep getting mysql_connect(): Too many connections

Published by: cfz 2010-03-18

  • Web Applications are the Future Blog Archive Why Start Blogging::
    I keep getting this error. Warning: mysql_connect(): Too many connections in /www/jotform.com/lib/db.php on not connect: Too many connections. I wouldnt
    http://atank.interlogy.com/blog/?p=3
    HOME
    Please help me figure out the Too Many connections (email from vBulletin)

    mysql_connect(): Too many connections
    /home/xxxxxxxxx/public_html/includes/class_core.php on line 273


    This info, was pulled not during low traffic hour

    1. Is this on dedicated or shared virual server. If shared, how many sites share this server (ask web host if needed)

    Dedicated Server (Web server & Database server)

    2. your server specs. For example:

    Webserver
    Processor #1 Vendor: AuthenticAMD
    Processor #1 Name: Dual Core AMD Opteron(tm) Processor 265
    Processor #1 speed: 1793.911 MHz
    Processor #1 cache size: 1024 KB
    Processor #2 Vendor: AuthenticAMD
    Processor #2 Name: Dual Core AMD Opteron(tm) Processor 265
    Processor #2 speed: 1793.911 MHz
    Processor #2 cache size: 1024 KB
    Processor #3 Vendor: AuthenticAMD
    Processor #3 Name: Dual Core AMD Opteron(tm) Processor 265
    Processor #3 speed: 1793.911 MHz
    Processor #3 cache size: 1024 KB
    Processor #4 Vendor: AuthenticAMD
    Processor #4 Name: Dual Core AMD Opteron(tm) Processor 265
    Processor #4 speed: 1793.911 MHz
    Processor #4 cache size: 1024 KB
    Webserver Memory: 4089244k/4128704k available (1877k kernel code, 38396k reserved, 759k data, 184k init, 3211200k highmem)
    Database Memory 4 Gig
    Linux 2.6.9-42.0.3.ELsmp #1 SMP Fri Oct 6 06:21:39 CDT 2006 i686 athlon i386 GNU/Linux
    Mysql (4.0.27-standard)
    WHM 10.8.0 cPanel 10.9.0-R76
    CentOS 4.4 i686 - WHM X v3.1.0

    Database server information, please scroll at the bottom of this post (info from cat /proc/cpuinfo

    3. what version of vB are you running ?

    3.6.4

    4. if you use mysql 4.x instead of mysql 3.23.x, do you have any innodb type databases/tables on your server ?

    No

    5. if possible how mysql was compiled/installed

    Installed on the 2nd server (database dedicated), clean install

    6. your top stats

    top - 07:40:53 up 37 days, 15:37, 1 user, load average: 0.38, 0.72, 0.78
    Tasks: 51 total, 1 running, 50 sleeping, 0 stopped, 0 zombie
    Cpu(s): 19.9% us, 4.7% sy, 0.0% ni, 45.3% id, 29.4% wa, 0.0% hi, 0.7% si
    Mem: 4038616k total, 4014632k used, 23984k free, 26396k buffers
    Swap: 4192956k total, 144k used, 4192812k free, 3657436k cached
    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    4572 mysql 15 0 479m 226m 3552 S 50 5.8 33:37.52 mysqld
    1 root 16 0 4752 552 460 S 0 0.0 0:01.37 init
    2 root RT 0 0 0 0 S 0 0.0 0:00.71 migration/0
    3 root 34 19 0 0 0 S 0 0.0 0:00.72 ksoftirqd/0
    4 root RT 0 0 0 0 S 0 0.0 0:01.04 migration/1
    Saw some My_SQL errors. [Archive] - Beginnerbikers.org::
    Ill definately keep an eye out, if this becomes a big problem, let me know. Warning: mysql_connect(): Too many connections in /home2/dbeginne/public_html
    http://www.beginnerbikers.org/forum/archive/index.php/t-33.html
    HOME
    5 root 34 19 0 0 0 S 0 0.0 0:00.40 ksoftirqd/1
    6 root 5 -10 0 0 0 S 0 0.0 0:00.00 events/0
    7 root 5 -10 0 0 0 S 0 0.0 0:00.01 events/1
    8 root 7 -10 0 0 0 S 0 0.0 0:00.00 khelper
    9 root 15 -10 0 0 0 S 0 0.0 0:00.00 kacpid
    36 root 5 -10 0 0 0 S 0 0.0 0:00.00 kblockd/0
    37 root 5 -10 0 0 0 S 0 0.0 0:00.00 kblockd/1
    38 root 15 0 0 0 0 S 0 0.0 0:00.00 khubd
    65 root 14 -10 0 0 0 S 0 0.0 0:00.00 aio/0
    63 root 15 0 0 0 0 S 0 0.0 6:29.36 kswapd1
    64 root 15 0 0 0 0 S 0 0.0 5:02.47 kswapd0
    66 root 5 -10 0 0 0 S 0 0.0 0:00.00 aio/1
    210 root 23 0 0 0 0 S 0 0.0 0:00.00 kseriod
    325 root 19 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_0
    344 root 15 0 0 0 0 S 0 0.0 12:21.00 kjournald
    1576 root 6 -10 3604 448 364 S 0 0.0 0:00.01 udevd
    1770 root 6 -10 0 0 0 S 0 0.0 0:00.00 kauditd
    1849 root 19 0 0 0 0 S 0 0.0 0:00.00 kjournald

    7. your mysql configuration variables located at /etc/my.cnf or c:my.cnf or my.ini so post the contents inside of my.cnf (minus any passwords of course).

    [client]
    user=******
    password=******
    [mysqld]
    skip-name-resolve
    back_log = 100
    safe-show-database
    skip-innodb
    max_connections = 800
    key_buffer = 128M
    myisam_sort_buffer_size = 64M
    join_buffer_size = 1M
    read_buffer_size = 1M
    sort_buffer_size = 3M
    table_cache = 1800
    thread_cache_size = 384
    wait_timeout = 180
    connect_timeout = 10
    tmp_table_size = 64M
    max_allowed_packet = 32M
    max_connect_errors = 10000
    read_rnd_buffer_size = 524288
    bulk_insert_buffer_size = 16M
    thread_concurrency = 4
    query_cache_limit = 2M
    query_cache_size = 196M
    query_cache_type = 1
    query_prealloc_size = 16384
    query_alloc_block_size = 16384
    pid-file=/var/lib/mysql/mail.indoguides.net.pid
    [mysqldump]
    quick
    max_allowed_packet = 16M
    [myisamchk]
    key_buffer = 64M
    sort_buffer = 64M
    read_buffer = 16M
    write_buffer = 16M
    [mysqld_safe]
    open_files_limit = 8192

    8. MySQL stats from ssh telnet as root user type:

    +---------------------------------+--------------------------------------------------------+
    Variable_name Value
    +---------------------------------+--------------------------------------------------------+
    back_log 100
    basedir /usr/
    bdb_cache_size 8388600
    bdb_home /var/lib/mysql/
    bdb_log_buffer_size 921600
    bdb_logdir
    bdb_max_lock 10000
    bdb_shared_data OFF
    bdb_tmpdir /tmp/
    binlog_cache_size 32768
    bulk_insert_buffer_size 16777216
    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 10
    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 YES
    have_blackhole_engine NO
    have_compress YES
    have_crypt YES
    have_csv NO
    have_example_engine NO
    have_geometry YES
    have_innodb DISABLED
    have_isam YES
    have_ndbcluster NO
    have_openssl YES
    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
    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 1044480
    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
    license GPL
    local_infile ON
    locked_in_memory OFF
    log OFF
    log_bin OFF
    log_error
    log_slave_updates OFF
    log_slow_queries OFF
    log_update OFF
    log_warnings 1
    long_query_time 10
    low_priority_updates OFF
    lower_case_file_system OFF
    lower_case_table_names 0
    max_allowed_packet 33553408
    max_binlog_cache_size 18446744073709551615
    max_binlog_size 1073741824
    max_connect_errors 10000
    max_connections 800
    max_delayed_threads 20
    max_error_count 64
    max_heap_table_size 16777216
    max_insert_delayed_threads 20
    max_join_size 18446744073709551615
    max_length_for_sort_data 1024
    max_length_for_sort_data 1024
    max_prepared_stmt_count 16382
    max_relay_log_size 0
    max_seeks_for_key 18446744073709551615
    max_sort_length 1024
    max_tmp_tables 32
    max_user_connections 0
    max_write_lock_count 18446744073709551615
    myisam_data_pointer_size 4
    myisam_max_extra_sort_file_size 2147483648
    myisam_max_sort_file_size 9223372036854775807
    myisam_recover_options OFF
    myisam_repair_threads 1
    myisam_sort_buffer_size 67108864
    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 4410
    pid_file /var/lib/mysql/mail.indoguides.net.pid
    port 3306
    preload_buffer_size 32768
    prepared_stmt_count 0
    protocol_version 10
    query_alloc_block_size 16384
    query_cache_limit 2097152
    query_cache_min_res_unit 4096
    query_cache_size 205520896
    query_cache_type ON
    query_cache_wlock_invalidate OFF
    query_prealloc_size 16384
    range_alloc_block_size 2048
    read_buffer_size 1044480
    read_only OFF
    read_rnd_buffer_size 520192
    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 3145720
    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 WIT
    table_cache 1800
    table_type MyISAM
    thread_cache_size 384
    thread_stack 196608
    time_format %H:%i:%s
    time_zone SYSTEM
    tmp_table_size 67108864
    tmpdir
    transaction_alloc_block_size 8192
    transaction_prealloc_size 4096
    tx_isolation REPEATABLE-READ
    version 4.1.20
    version_bdb Sleepycat Software: Berkeley DB 4.1.24: (May 24, 2006)
    version_comment Source distribution
    version_compile_machine x86_64
    version_compile_os redhat-linux-gnu
    wait_timeout 180
    +---------------------------------+--------------------------------------------------------+
    +--------------------------------+-------------+
    Variable_name Value
    +--------------------------------+-------------+
    Aborted_clients 2
    Aborted_connects 1
    Binlog_cache_disk_use 0
    Binlog_cache_use 0
    Bytes_received 252275757
    Bytes_sent 18756831312
    Com_admin_commands 0
    Com_alter_db 0
    Com_alter_table 0
    Com_analyze 0
    Com_backup_table 0
    Com_begin 0
    Com_change_db 50765
    Hahahaha funniest thing - New Element - New Element::
    Warning: mysql_connect(): Too many connections in /home/sambo/public_html/forums Thats what Im getting and i keep refreshing the page. THAT is funny. Top
    http://forums.nedesigns.com/index.php?showtopic=8993
    HOME
    Com_change_master 0
    Com_check 0
    Com_checksum 0
    Com_commit 0
    Com_create_db 0
    Com_create_function 0
    Com_create_index 0
    Com_create_table 0
    Com_dealloc_sql 0
    Com_delete 8192
    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 35442
    Com_insert_select 115
    Com_kill 0
    Com_load 0
    Com_load_master_data 0
    Com_load_master_table 0
    Com_lock_tables 528
    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 6352
    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 276274
    Com_set_option 20
    Com_show_binlog_events 0
    Com_show_binlogs 1
    Com_show_charsets 5
    Com_show_collations 5
    Com_show_column_types 0
    Com_show_create_db 0
    Com_show_create_table 0
    Com_show_databases 2
    Com_show_errors 0
    Com_show_fields 0
    Com_show_grants 2
    Com_show_innodb_status 0
    Com_show_keys 0
    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 0
    Com_show_slave_hosts 0
    Com_show_slave_status 0
    Com_show_status 4
    Com_show_storage_engines 0
    Com_show_tables 11
    Com_show_variables 20
    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 528
    Com_update 79953
    Com_update_multi 0
    Connections 50768
    Created_tmp_disk_tables 2883
    Created_tmp_files 100
    Created_tmp_tables 8853
    Delayed_errors 0
    Delayed_insert_threads 0
    Delayed_writes 0
    Flush_commands 1
    Handler_commit 0
    Handler_delete 26183
    Handler_discover 0
    Handler_read_first 100147
    Handler_read_key 6145718
    Handler_read_next 193233353
    Handler_read_prev 1512099
    Handler_read_rnd 937364
    Handler_read_rnd 937364
    Handler_read_rnd_next 486213554
    Handler_rollback 0
    Handler_update 90709
    Handler_write 129036
    Key_blocks_not_flushed 0
    Key_blocks_unused 0
    Key_blocks_used 107171
    Key_read_requests 34534791
    Key_reads 262380
    Key_write_requests 158522
    Key_writes 114981
    Max_used_connections 285
    Not_flushed_delayed_rows 0
    Open_files 1556
    Open_streams 0
    Open_tables 1406
    Opened_tables 1412
    Qcache_free_blocks 2976
    Qcache_free_memory 188450544
    Qcache_hits 218581
    Qcache_inserts 273065
    Qcache_lowmem_prunes 0
    Qcache_not_cached 2676
    Qcache_queries_in_cache 8785
    Qcache_total_blocks 20820
    Questions 727494
    Rpl_status NULL
    Select_full_join 1785
    Select_full_range_join 2
    Open_files 1556
    Open_streams 0
    Open_tables 1406
    Opened_tables 1412
    Qcache_free_blocks 2976
    Qcache_free_memory 188450544
    Qcache_hits 218581
    Qcache_inserts 273065
    Qcache_lowmem_prunes 0
    Qcache_not_cached 2676
    Qcache_queries_in_cache 8785
    Qcache_total_blocks 20820
    Questions 727494
    Rpl_status NULL
    Select_full_join 1785
    Select_full_range_join 2
    Select_range 76836
    Select_range_check 0
    Select_scan 24527
    Slave_open_temp_tables 0
    Slave_retried_transactions 0
    Slave_running OFF
    Slow_launch_threads 0
    Slow_queries 166
    Sort_merge_passes 50
    Sort_range 75566
    Sort_rows 77493158
    Sort_scan 3980
    Ssl_accept_renegotiates 0
    Ssl_accepts 0
    Ssl_callback_cache_hits 0
    Ssl_cipher
    Ssl_cipher_list
    Ssl_client_connects 0
    Ssl_connect_renegotiates 0
    Ssl_ctx_verify_depth 0
    Ssl_ctx_verify_mode 0
    Ssl_default_timeout 0
    Ssl_finished_accepts 0
    Ssl_finished_connects 0
    Ssl_session_cache_hits 0
    Ssl_session_cache_misses 0
    Ssl_session_cache_mode NONE
    Ssl_session_cache_overflows 0
    Ssl_session_cache_size 0
    Ssl_session_cache_timeouts 0
    Ssl_sessions_reused 0
    Ssl_used_session_cache_entries 0
    Ssl_verify_depth 0
    Ssl_verify_mode 0
    Ssl_version
    Table_locks_immediate 780928
    Table_locks_waited 12881
    Threads_cached 277
    Threads_connected 8
    Threads_created 285
    Threads_running 8
    Uptime 7943
    +--------------------------------+-------------+
    Uptime: 7977 Threads: 6 Questions: 731780 Slow queries: 166 Opens: 1412 Flush tables: 1 Open tables: 1406 Queries per second avg: 91.736
    mysqladmin Ver 8.41 Distrib 4.1.20, for redhat-linux-gnu on x86_64
    (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
    This software comes with ABSOLUTELY NO WARRANTY. This is free software,
    and you are welcome to modify and redistribute it under the GPL license
    Server version 4.1.20
    Protocol version 10
    Connection Localhost via UNIX socket
    UNIX socket /var/lib/mysql/mysql.sock
    Uptime: 2 hours 12 min 57 sec
    Threads: 6 Questions: 731780 Slow queries: 166 Opens: 1412 Flush tables: 1 Open tables: 1406 Queries per second avg: 91.7369. is your vB the only thing on the server? or other scripts & sites which utilise php and mysql?

    Yes, the only thing on the server

    10. how many average and max concurrent users on your vB forum ? and what your cookie timeout is ?

    Cookie timeout 2000, with 2000-4000 users

    11. create a file named phpinfo.php and place this code in it and post the url/link to it from your web site

    http://206.51.224.141/php.php

    11. if you run Apache and you have your own dedicated server or access to your httpd.conf (apache configuration file) can you post the values you have set for the following :

    KeepAlive Off
    MaxKeepAliveRequests 500
    KeepAliveTimeout 8
    MinSpareServers 15
    MaxSpareServers 25
    StartServers 20
    MaxClients 900
    AND Maxrequestsperchild value = 250

    12. check to see if any files i.e. apache log files are hitting 2GB or 4GB max file size limits i.e. see if you have max file size exceeded messages in apache error log

    nope

    13. Post output from these 3 commands

    Webserver

    Linux cp.indoguides.net 2.6.9-42.0.3.ELsmp #1 SMP Fri Oct 6 06:21:39 CDT 2006 i686 athlon i386 GNU/Linux


    core file size (blocks, -c) 1000000
    data seg size (kbytes, -d) unlimited
    file size (blocks, -f) unlimited
    pending signals (-i) 1024
    max locked memory (kbytes, -l) 32
    max memory size (kbytes, -m) unlimited
    open files (-n) 4096
    pipe size (512 bytes, -p) 8
    POSIX message queues (bytes, -q) 819200
    stack size (kbytes, -s) 8192
    cpu time (seconds, -t) unlimited
    max user processes (-u) 14335
    virtual memory (kbytes, -v) unlimited
    file locks (-x) unlimited


    processor : 0
    vendor_id : AuthenticAMD
    cpu family : 15
    model : 33
    model name : Dual Core AMD Opteron(tm) Processor 265
    stepping : 2
    cpu MHz : 1793.911
    cache size : 1024 KB
    physical id : 0
    siblings : 2
    core id : 0
    cpu cores : 2
    fdiv_bug : no
    hlt_bug : no
    f00f_bug : no
    coma_bug : no
    fpu : yes
    fpu_exception : yes
    cpuid level : 1
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext lm 3dnowext 3dnow pni
    bogomips : 3590.04
    processor : 1
    vendor_id : AuthenticAMD
    cpu family : 15
    model : 33
    model name : Dual Core AMD Opteron(tm) Processor 265
    stepping : 2
    cpu MHz : 1793.911
    cache size : 1024 KB
    physical id : 0
    siblings : 2
    core id : 1
    cpu cores : 2
    fdiv_bug : no
    hlt_bug : no
    f00f_bug : no
    coma_bug : no
    fpu : yes
    fpu_exception : yes
    cpuid level : 1
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext lm 3dnowext 3dnow pni
    bogomips : 3586.04
    processor : 2
    vendor_id : AuthenticAMD
    cpu family : 15
    model : 33
    model name : Dual Core AMD Opteron(tm) Processor 265
    stepping : 2
    cpu MHz : 1793.911
    cache size : 1024 KB
    physical id : 1
    siblings : 2
    core id : 0
    cpu cores : 2
    fdiv_bug : no
    hlt_bug : no
    f00f_bug : no
    coma_bug : no
    fpu : yes
    fpu_exception : yes
    cpuid level : 1
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext lm 3dnowext 3dnow pni
    bogomips : 3586.10
    processor : 3
    vendor_id : AuthenticAMD
    cpu family : 15
    model : 33
    model name : Dual Core AMD Opteron(tm) Processor 265
    stepping : 2
    cpu MHz : 1793.911
    cache size : 1024 KB
    physical id : 1
    siblings : 2
    core id : 1
    cpu cores : 2
    fdiv_bug : no
    hlt_bug : no
    f00f_bug : no
    coma_bug : no
    fpu : yes
    fpu_exception : yes
    cpuid level : 1
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext lm 3dnowext 3dnow pni
    bogomips : 3586.09Database Server

    Linux mysql.indoguides.com 2.6.9-42.0.3.ELsmp #1 SMP Fri Oct 6 06:28:26 CDT 2006 x86_64 x86_64 x86_64 GNU/Linux


    core file size (blocks, -c) unlimited
    data seg size (kbytes, -d) unlimited
    file size (blocks, -f) unlimited
    pending signals (-i) 1024
    max locked memory (kbytes, -l) 32
    max memory size (kbytes, -m) unlimited
    open files (-n) 1024
    pipe size (512 bytes, -p) 8
    POSIX message queues (bytes, -q) 819200
    stack size (kbytes, -s) unlimited
    cpu time (seconds, -t) unlimited
    max user processes (-u) 40960
    virtual memory (kbytes, -v) unlimited
    file locks (-x) unlimited



    processor : 0
    vendor_id : AuthenticAMD
    cpu family : 15
    model : 37
    model name : AMD Opteron(tm) Processor 250
    stepping : 1
    cpu MHz : 2390.057
    cache size : 1024 KB
    fpu : yes
    fpu_exception : yes
    cpuid level : 1
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow pni
    bogomips : 4791.22
    TLB size : 1088 4K pages
    clflush size : 64
    cache_alignment : 64
    address sizes : 40 bits physical, 48 bits virtual
    power management: ts fid vid ttp
    processor : 1
    vendor_id : AuthenticAMD
    cpu family : 15
    model : 37
    model name : AMD Opteron(tm) Processor 250
    stepping : 1
    cpu MHz : 2390.057
    cache size : 1024 KB
    fpu : yes
    fpu_exception : yes
    cpuid level : 1
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow pni
    bogomips : 4779.38
    TLB size : 1088 4K pages
    clflush size : 64
    cache_alignment : 64
    address sizes : 40 bits physical, 48 bits virtual
    power management: ts fid vid ttp


  • usepconnect is 0 already..
    and maximum number of connections already bumped to 1000

    and seems still have a problem with too many connections, any other recommendation?

    thank you


  • anybody can help me tweak the server? please...
    my forum is up & down for almost 4 days.

    *sorry not mean to rush, but i really need help*


  • MySQL Error: Too Many Connections
    The server has maxed out the number of MySQL connections it allows. You can try turning persistent connections off by adding this to your config.php:

    $config['MasterServer']['usepconnect'] = 0;

    But if you still have problems after that, you will need ask your host to raise the maximum number of connections they allow.

    Here is more info on that error: http://dev.mysql.com/doc/refman/5.0/en/too-many-connections.html


  • You're using an out dated version of PHP.. i'd

    1. upgrade to MySQL 4.1.22 on db server

    2. upgrade to PHP 4.4.4/4.4.5 on web server

    3. You may need to install same mysql version on web server, and recompile PHP with the --with-mysql=/path/to/mysql option to tell PHP to use the latest mysql 4.1.x client libraries i.e. if mysqldump/mysqlcheck/mysqladmin are located at /usr/bin/ or /usr/local/mysql/bin then you need to compile PHP with --with-mysql=/usr or --with-mysql=/usr/local/mysql - just had a few issues with one vB client have issues with PHP connecting to external mysql server until i did this.

    4. If you have split web + db servers, ensure web server has dual network cards as outlined at http://www.vbulletin.org/forum/showthread.php?t=111191


  • thanks for your suggestion eva2000.
    will talk with my server admin





  • 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 Keep getting mysql_connect(): Too many connections , Please add it free.
  • how many prophylactic surgical castrations penectomies or
  • what is the main purpose of your life
  • are you from another country not us if so i have a serious cultural question for you
  • violating a social norm
  • journey into the mind of a woman part 1
  • what are the differences of being homeless and being a slave
  • women what do you think about tattoos on a guys calf
  • my boyfriend and i need a song
  • guys what do you think about eyebrow piercings on girls
  • would you date a guy like me
  • why are women still looked down on for liking tattoos
  • do you think women should have big bold tattoos to cover scars
  • why are women with tattoos considered to be tramps sluts
  • why do women put tattoos on their low lower back

  • will she pull away from me
  • do you think im ugly
  • why do men and women get those tramp stamps tattoos on the small of their back
  • what makeup foundation works best
  • democracy decency common sense
  • what was the last bad surprise you got
  • what is a tasteful amount of tattoos for a woman to have
  • bitches whores and drama
  • what would do you say
  • journey into the mind of a woman part 2
  • some questions on self spray on tanning
  • tattoos on women y
  • who stronger you or tito from the gym
  • About us |Contact us |Advertisement |Site map |Exchange links
    Copyright© 2008gigj.com All Rights Reserved