staticrebelle
Sun 29th Jun '08, 9:56pm
1. Dedicated Server
2. Processor: Dual Opteron 246
Memory: 4GB DDR Registered ECC
Hd1: 120GB 7200RPM SATA / 8MB Cache
Hd2: 120GB 7200RPM SATA / 8MB Cache
RemoteBackup: 50GB Remote Backup
OS: Linux - CentOS 4
ControlPanel: cPanel / Web Host Manager
(+Fantastico/XController)
Apache 2.2.9 (Unix)
PHP 5.2.6
MySQL 4.1.22-standard Planning to upgrade to latest 5.x.x branch via WHM
3. 3.6.10 PL2 Planning to upgrade to 3.7.2 at one AM tonight (low site usage hours)
4. I do not know
5. MySQL (to my knowledge) was compiled and installed via WHM/cPanel but it could have been via the yum package manager
6. top - 20:29:29 up 4 days, 14:53, 1 user, load average: 0.71, 0.65, 0.63
Tasks: 133 total, 3 running, 130 sleeping, 0 stopped, 0 zombie
Cpu(s): 22.0% us, 4.5% sy, 0.0% ni, 71.7% id, 1.5% wa, 0.0% hi, 0.3% si
Mem: 3703608k total, 3635612k used, 67996k free, 165692k buffers
Swap: 2040244k total, 108520k used, 1931724k free, 2671444k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
20113 mysql 15 0 319m 190m 3872 S 20 5.3 956:18.49 mysqld
32631 nobody 15 0 134m 24m 18m S 10 0.7 0:08.58 httpd
32710 nobody 17 0 137m 28m 18m S 6 0.8 0:06.48 httpd
709 nobody 17 0 134m 23m 17m S 4 0.7 0:01.89 httpd
1497 nobody 15 0 133m 17m 11m S 2 0.5 0:00.21 httpd
1456 nobody 15 0 136m 17m 9700 S 1 0.5 0:00.07 httpd
338 nobody 16 0 134m 24m 18m S 1 0.7 0:04.52 httpd
708 nobody 15 0 133m 19m 14m S 1 0.6 0:02.10 httpd
32624 nobody 15 0 134m 25m 19m S 0 0.7 0:08.15 httpd
32634 nobody 15 0 134m 25m 19m S 0 0.7 0:07.13 httpd
32707 nobody 15 0 134m 26m 19m S 0 0.7 0:08.65 httpd
1 root 16 0 4756 456 424 S 0 0.0 0:04.38 init
2 root RT 0 0 0 0 S 0 0.0 0:00.58 migration/0
3 root 34 19 0 0 0 S 0 0.0 0:00.27 ksoftirqd/0
4 root RT 0 0 0 0 S 0 0.0 0:00.65 migration/1
5 root 34 19 0 0 0 S 0 0.0 0:00.41 ksoftirqd/1
6 root 5 -10 0 0 0 S 0 0.0 0:00.20 events/0
7 root 5 -10 0 0 0 S 0 0.0 0:00.04 events/1
8 root 5 -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
32 root 5 -10 0 0 0 S 0 0.0 0:00.01 kblockd/0
33 root 5 -10 0 0 0 S 0 0.0 0:00.00 kblockd/1
34 root 25 0 0 0 0 S 0 0.0 0:00.00 khubd
61 root 15 0 0 0 0 S 0 0.0 7:25.16 kswapd0
62 root 13 -10 0 0 0 S 0 0.0 0:00.00 aio/0
63 root 5 -10 0 0 0 S 0 0.0 0:00.00 aio/1
207 root 23 0 0 0 0 S 0 0.0 0:00.00 kseriod
324 nobody 16 0 134m 23m 17m S 0 0.6 0:06.80 httpd
336 nobody 15 0 134m 24m 18m S 0 0.7 0:05.49 httpd
337 nobody 15 0 134m 23m 17m S 0 0.7 0:05.33 httpd
339 nobody 15 0 134m 21m 15m S 0 0.6 0:04.09 httpd
439 root 5 -10 0 0 0 S 0 0.0 0:00.00 ata/0
440 root 5 -10 0 0 0 S 0 0.0 0:00.00 ata/1
441 root 8 -10 0 0 0 S 0 0.0 0:00.00 ata_aux
445 root 15 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_0
446 root 15 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_1
447 root 15 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_2
448 root 15 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_3
454 nobody 16 0 134m 21m 15m S 0 0.6 0:03.67 httpd
475 root 15 0 0 0 0 S 0 0.0 0:08.64 kjournald
507 nobody 15 0 134m 21m 15m S 0 0.6 0:04.38 httpd
551 nobody 16 0 133m 20m 14m S 0 0.6 0:01.78 httpd
552 nobody 15 0 134m 22m 16m S 0 0.6 0:02.97 httpd
631 nobody 15 0 133m 19m 13m S 0 0.5 0:01.18 httpd
646 nobody 15 0 133m 19m 13m S 0 0.5 0:03.36 httpd
650 nobody 15 0 133m 20m 14m S 0 0.6 0:03.02 httpd
731 root 16 0 30788 4020 2172 S 0 0.1 0:00.02 exim
7. mysqld]
# max_connections = 75
max_connections = 250
safe-show-database
skip-locking
key_buffer = 64M
max_allowed_packet = 1M
table_cache = 128
sort_buffer_size = 2M
read_buffer_size = 2M
read_rnd_buffer_size = 2M
myisam_sort_buffer_size = 64M
thread_cache_size = 8
query_cache_size= 64M
thread_concurrency = 8
wait_timeout = 10
interactive_timeout = 30
[mysqldump]
quick
max_allowed_packet = 8M
[mysql]
no-auto-rehash
[isamchk]
key_buffer = 64M
sort_buffer_size = 64M
read_buffer = 2M
write_buffer = 2M
[myisamchk]
key_buffer = 64M
sort_buffer_size = 64M
read_buffer = 2M
write_buffer = 2M
8. +---------------------------------+---------------------------------------------+
| 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 |
| have_compress | YES |
| have_crypt | YES |
| have_csv | NO |
| have_example_engine | NO |
| have_geometry | YES |
| have_innodb | YES |
| have_isam | NO |
| have_merge_engine | YES |
| have_ndbcluster | NO |
| 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 | 30 |
| join_buffer_size | 131072 |
| key_buffer_size | 67108864 |
| 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 | 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 | 1047552 |
| max_binlog_cache_size | 18446744073709551615 |
| max_binlog_size | 1073741824 |
| max_connect_errors | 10 |
| max_connections | 250 |
| 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_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 | 1250 |
| pid_file | /var/lib/mysql/apollo.avrilbandaids.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 | 67108864 |
| query_cache_type | ON |
| query_cache_wlock_invalidate | OFF |
| query_prealloc_size | 8192 |
| range_alloc_block_size | 2048 |
| read_buffer_size | 2093056 |
| read_only | OFF |
| read_rnd_buffer_size | 2093056 |
| 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 | EDT |
| table_cache | 128 |
| table_type | MyISAM |
| thread_cache_size | 8 |
| thread_stack | 196608 |
| time_format | %H:%i:%s |
| time_zone | SYSTEM |
| tmp_table_size | 33554432 |
| tmpdir | |
| transaction_alloc_block_size | 8192 |
| transaction_prealloc_size | 4096 |
| tx_isolation | REPEATABLE-READ |
| version | 4.1.22-standard |
| version_comment | MySQL Community Edition - Standard (GPL) |
| version_compile_machine | x86_64 |
| version_compile_os | unknown-linux-gnu |
| wait_timeout | 10 |
+---------------------------------+---------------------------------------------+
+----------------------------+-------------+
| Variable_name | Value |
+----------------------------+-------------+
| Aborted_clients | 11872 |
| Aborted_connects | 37 |
| Binlog_cache_disk_use | 0 |
| Binlog_cache_use | 0 |
| Bytes_received | 1523092652 |
| Bytes_sent | 91027044680 |
| Com_admin_commands | 0 |
| Com_alter_db | 0 |
| Com_alter_table | 35 |
| Com_analyze | 0 |
| Com_backup_table | 0 |
| Com_begin | 0 |
| Com_change_db | 252989 |
| 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 | 56 |
| Com_dealloc_sql | 2551 |
| Com_delete | 56436 |
| Com_delete_multi | 0 |
| Com_do | 0 |
| Com_drop_db | 0 |
| Com_drop_function | 0 |
| Com_drop_index | 0 |
| Com_drop_table | 56 |
| Com_drop_user | 0 |
| Com_execute_sql | 2551 |
| Com_flush | 4 |
| Com_grant | 12 |
| Com_ha_close | 0 |
| Com_ha_open | 0 |
| Com_ha_read | 0 |
| Com_help | 0 |
| Com_insert | 49532 |
| Com_insert_select | 56 |
| Com_kill | 0 |
| Com_load | 0 |
| Com_load_master_data | 0 |
| Com_load_master_table | 0 |
| Com_lock_tables | 133 |
| Com_optimize | 88 |
| Com_preload_keys | 0 |
| Com_prepare_sql | 2551 |
| Com_purge | 0 |
| Com_purge_before_date | 0 |
| Com_rename_table | 0 |
| Com_repair | 0 |
| Com_replace | 7233 |
| 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 | 974361 |
| Com_set_option | 5920 |
| Com_show_binlog_events | 0 |
| Com_show_binlogs | 2 |
| Com_show_charsets | 6 |
| Com_show_collations | 6 |
| Com_show_column_types | 0 |
| Com_show_create_db | 16 |
| Com_show_create_table | 1209 |
| Com_show_databases | 11 |
| Com_show_errors | 0 |
| Com_show_fields | 1461 |
| Com_show_grants | 72 |
| 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 | 335 |
| Com_show_slave_hosts | 0 |
| Com_show_slave_status | 0 |
| Com_show_status | 1 |
| Com_show_storage_engines | 0 |
| Com_show_tables | 1279 |
| Com_show_variables | 51 |
| Com_show_warnings | 0 |
| Com_slave_start | 0 |
| Com_slave_stop | 0 |
| Com_stmt_close | 2551 |
| Com_stmt_execute | 2551 |
| Com_stmt_prepare | 2551 |
| Com_stmt_reset | 0 |
| Com_stmt_send_long_data | 0 |
| Com_truncate | 56 |
| Com_unlock_tables | 130 |
| Com_update | 198731 |
| Com_update_multi | 60 |
| Connections | 196499 |
| Created_tmp_disk_tables | 4814 |
| Created_tmp_files | 48518 |
| Created_tmp_tables | 26395 |
| Delayed_errors | 0 |
| Delayed_insert_threads | 0 |
| Delayed_writes | 0 |
| Flush_commands | 1 |
| Handler_commit | 14 |
| Handler_delete | 37696 |
| Handler_discover | 0 |
| Handler_read_first | 177355 |
| Handler_read_key | 123250425 |
| Handler_read_next | 4057197618 |
| Handler_read_prev | 3595536 |
| Handler_read_rnd | 1979890957 |
| Handler_read_rnd_next | 3848135585 |
| Handler_rollback | 4 |
| Handler_update | 984721 |
| Handler_write | 169225451 |
| Key_blocks_not_flushed | 0 |
| Key_blocks_unused | 11113 |
| Key_blocks_used | 53585 |
| Key_read_requests | 829210462 |
| Key_reads | 769329 |
| Key_write_requests | 499686 |
| Key_writes | 241059 |
| Max_used_connections | 151 |
| Not_flushed_delayed_rows | 0 |
| Open_files | 214 |
| Open_streams | 0 |
| Open_tables | 128 |
| Opened_tables | 41538 |
| Qcache_free_blocks | 5235 |
| Qcache_free_memory | 41214344 |
| Qcache_hits | 1215239 |
| Qcache_inserts | 921349 |
| Qcache_lowmem_prunes | 26889 |
| Qcache_not_cached | 51791 |
| Qcache_queries_in_cache | 10723 |
| Qcache_total_blocks | 27252 |
| Questions | 2961079 |
| Rpl_status | NULL |
| Select_full_join | 14999 |
| Select_full_range_join | 0 |
| Select_range | 160094 |
| Select_range_check | 0 |
| Select_scan | 172604 |
| Slave_open_temp_tables | 0 |
| Slave_retried_transactions | 0 |
| Slave_running | OFF |
| Slow_launch_threads | 36 |
| Slow_queries | 3315 |
| Sort_merge_passes | 62198 |
| Sort_range | 221192 |
| Sort_rows | 2045951624 |
| Sort_scan | 24511 |
| Table_locks_immediate | 2114981 |
| Table_locks_waited | 66390 |
| Threads_cached | 2 |
| Threads_connected | 6 |
| Threads_created | 10542 |
| Threads_running | 4 |
| Uptime | 100027 |
+----------------------------+-------------+
Uptime: 100027 Threads: 6 Questions: 2961080 Slow queries: 3315 Opens: 41538 Flush tables: 1 Open tables: 128 Queries per second avg: 29.603
mysqladmin Ver 8.41 Distrib 4.1.22, for unknown-linux-gnu on x86_64
Copyright (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.22-standard
Protocol version 10
Connection Localhost via UNIX socket
UNIX socket /var/lib/mysql/mysql.sock
Uptime: 1 day 3 hours 47 min 7 sec
Threads: 6 Questions: 2961080 Slow queries: 3315 Opens: 41538 Flush tables: 1 Open tables: 128 Queries per second avg: 29.603
+--------+------------------+-----------+-------------------+---------+------+--------------+------------------------------------------------------------------------------------------------------+
| Id | User | Host | db | Command | Time | State | Info |
+--------+------------------+-----------+-------------------+---------+------+--------------+------------------------------------------------------------------------------------------------------+
| 196493 | bandaids_atropos | localhost | bandaids_basilik | Query | 1 | Sending data | SELECT user.*, usergroup.usergroupid, usergroup.title, user.options, usertextfield.*, userfield.*,
|
| 196494 | bandaids_thetis | localhost | bandaids_sunprint | Query | 0 | Sending data | SELECT pid FROM cpg1411_pictures WHERE filepath='2680/' AND filename='Ryan_Seacrest_Interview_pt1_20 |
| 196495 | bandaids_atropos | localhost | bandaids_basilik | Sleep | 0 | | |
| 196496 | bandaids_thetis | localhost | bandaids_sunprint | Query | 0 | Sending data | SELECT pid FROM cpg1411_pictures WHERE filepath='2680/' AND filename='Ryan_Seacrest_Interview_pt1_20 |
| 196497 | bandaids_atropos | localhost | bandaids_basilik | Sleep | 0 | | |
| 196498 | root | localhost | | Query | 0 | | show processlist |
+--------+------------------+-----------+-------------------+---------+------+--------------+------------------------------------------------------------------------------------------------------+
9. Coppermine image gallery, AttachMax may be migrated over in the future
10. 400 users average; max 4,000
Cookie timeout: 1,200
11. http://www.avrilbandaids.com/1AxhZ2/
12.
KeepAlive Off
MaxKeepAliveRequests 80
KeepAliveTimeout 3
MinSpareServers 10
MaxSpareServers 20
StartServers 10
AND MaxRequestsPerChild 500
13.
/backup/cpbackup/weekly/bandaids.tar.gz
/backup/cpbackup/daily/bandaids.tar.gz
/backup/cpbackup/monthly/bandaids.tar.gz
14.
Linux apollo.avrilbandaids.com 2.6.9-55.0.12.ELsmp #1 SMP Fri Nov 2 12:38:56 EDT 2007 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) 29951
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 5
model name : AMD Opteron(tm) Processor 246
stepping : 10
cpu MHz : 1991.526
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
bogomips : 3988.48
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 : 5
model name : AMD Opteron(tm) Processor 246
stepping : 10
cpu MHz : 1991.526
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
bogomips : 3982.25
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
2. Processor: Dual Opteron 246
Memory: 4GB DDR Registered ECC
Hd1: 120GB 7200RPM SATA / 8MB Cache
Hd2: 120GB 7200RPM SATA / 8MB Cache
RemoteBackup: 50GB Remote Backup
OS: Linux - CentOS 4
ControlPanel: cPanel / Web Host Manager
(+Fantastico/XController)
Apache 2.2.9 (Unix)
PHP 5.2.6
MySQL 4.1.22-standard Planning to upgrade to latest 5.x.x branch via WHM
3. 3.6.10 PL2 Planning to upgrade to 3.7.2 at one AM tonight (low site usage hours)
4. I do not know
5. MySQL (to my knowledge) was compiled and installed via WHM/cPanel but it could have been via the yum package manager
6. top - 20:29:29 up 4 days, 14:53, 1 user, load average: 0.71, 0.65, 0.63
Tasks: 133 total, 3 running, 130 sleeping, 0 stopped, 0 zombie
Cpu(s): 22.0% us, 4.5% sy, 0.0% ni, 71.7% id, 1.5% wa, 0.0% hi, 0.3% si
Mem: 3703608k total, 3635612k used, 67996k free, 165692k buffers
Swap: 2040244k total, 108520k used, 1931724k free, 2671444k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
20113 mysql 15 0 319m 190m 3872 S 20 5.3 956:18.49 mysqld
32631 nobody 15 0 134m 24m 18m S 10 0.7 0:08.58 httpd
32710 nobody 17 0 137m 28m 18m S 6 0.8 0:06.48 httpd
709 nobody 17 0 134m 23m 17m S 4 0.7 0:01.89 httpd
1497 nobody 15 0 133m 17m 11m S 2 0.5 0:00.21 httpd
1456 nobody 15 0 136m 17m 9700 S 1 0.5 0:00.07 httpd
338 nobody 16 0 134m 24m 18m S 1 0.7 0:04.52 httpd
708 nobody 15 0 133m 19m 14m S 1 0.6 0:02.10 httpd
32624 nobody 15 0 134m 25m 19m S 0 0.7 0:08.15 httpd
32634 nobody 15 0 134m 25m 19m S 0 0.7 0:07.13 httpd
32707 nobody 15 0 134m 26m 19m S 0 0.7 0:08.65 httpd
1 root 16 0 4756 456 424 S 0 0.0 0:04.38 init
2 root RT 0 0 0 0 S 0 0.0 0:00.58 migration/0
3 root 34 19 0 0 0 S 0 0.0 0:00.27 ksoftirqd/0
4 root RT 0 0 0 0 S 0 0.0 0:00.65 migration/1
5 root 34 19 0 0 0 S 0 0.0 0:00.41 ksoftirqd/1
6 root 5 -10 0 0 0 S 0 0.0 0:00.20 events/0
7 root 5 -10 0 0 0 S 0 0.0 0:00.04 events/1
8 root 5 -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
32 root 5 -10 0 0 0 S 0 0.0 0:00.01 kblockd/0
33 root 5 -10 0 0 0 S 0 0.0 0:00.00 kblockd/1
34 root 25 0 0 0 0 S 0 0.0 0:00.00 khubd
61 root 15 0 0 0 0 S 0 0.0 7:25.16 kswapd0
62 root 13 -10 0 0 0 S 0 0.0 0:00.00 aio/0
63 root 5 -10 0 0 0 S 0 0.0 0:00.00 aio/1
207 root 23 0 0 0 0 S 0 0.0 0:00.00 kseriod
324 nobody 16 0 134m 23m 17m S 0 0.6 0:06.80 httpd
336 nobody 15 0 134m 24m 18m S 0 0.7 0:05.49 httpd
337 nobody 15 0 134m 23m 17m S 0 0.7 0:05.33 httpd
339 nobody 15 0 134m 21m 15m S 0 0.6 0:04.09 httpd
439 root 5 -10 0 0 0 S 0 0.0 0:00.00 ata/0
440 root 5 -10 0 0 0 S 0 0.0 0:00.00 ata/1
441 root 8 -10 0 0 0 S 0 0.0 0:00.00 ata_aux
445 root 15 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_0
446 root 15 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_1
447 root 15 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_2
448 root 15 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_3
454 nobody 16 0 134m 21m 15m S 0 0.6 0:03.67 httpd
475 root 15 0 0 0 0 S 0 0.0 0:08.64 kjournald
507 nobody 15 0 134m 21m 15m S 0 0.6 0:04.38 httpd
551 nobody 16 0 133m 20m 14m S 0 0.6 0:01.78 httpd
552 nobody 15 0 134m 22m 16m S 0 0.6 0:02.97 httpd
631 nobody 15 0 133m 19m 13m S 0 0.5 0:01.18 httpd
646 nobody 15 0 133m 19m 13m S 0 0.5 0:03.36 httpd
650 nobody 15 0 133m 20m 14m S 0 0.6 0:03.02 httpd
731 root 16 0 30788 4020 2172 S 0 0.1 0:00.02 exim
7. mysqld]
# max_connections = 75
max_connections = 250
safe-show-database
skip-locking
key_buffer = 64M
max_allowed_packet = 1M
table_cache = 128
sort_buffer_size = 2M
read_buffer_size = 2M
read_rnd_buffer_size = 2M
myisam_sort_buffer_size = 64M
thread_cache_size = 8
query_cache_size= 64M
thread_concurrency = 8
wait_timeout = 10
interactive_timeout = 30
[mysqldump]
quick
max_allowed_packet = 8M
[mysql]
no-auto-rehash
[isamchk]
key_buffer = 64M
sort_buffer_size = 64M
read_buffer = 2M
write_buffer = 2M
[myisamchk]
key_buffer = 64M
sort_buffer_size = 64M
read_buffer = 2M
write_buffer = 2M
8. +---------------------------------+---------------------------------------------+
| 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 |
| have_compress | YES |
| have_crypt | YES |
| have_csv | NO |
| have_example_engine | NO |
| have_geometry | YES |
| have_innodb | YES |
| have_isam | NO |
| have_merge_engine | YES |
| have_ndbcluster | NO |
| 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 | 30 |
| join_buffer_size | 131072 |
| key_buffer_size | 67108864 |
| 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 | 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 | 1047552 |
| max_binlog_cache_size | 18446744073709551615 |
| max_binlog_size | 1073741824 |
| max_connect_errors | 10 |
| max_connections | 250 |
| 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_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 | 1250 |
| pid_file | /var/lib/mysql/apollo.avrilbandaids.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 | 67108864 |
| query_cache_type | ON |
| query_cache_wlock_invalidate | OFF |
| query_prealloc_size | 8192 |
| range_alloc_block_size | 2048 |
| read_buffer_size | 2093056 |
| read_only | OFF |
| read_rnd_buffer_size | 2093056 |
| 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 | EDT |
| table_cache | 128 |
| table_type | MyISAM |
| thread_cache_size | 8 |
| thread_stack | 196608 |
| time_format | %H:%i:%s |
| time_zone | SYSTEM |
| tmp_table_size | 33554432 |
| tmpdir | |
| transaction_alloc_block_size | 8192 |
| transaction_prealloc_size | 4096 |
| tx_isolation | REPEATABLE-READ |
| version | 4.1.22-standard |
| version_comment | MySQL Community Edition - Standard (GPL) |
| version_compile_machine | x86_64 |
| version_compile_os | unknown-linux-gnu |
| wait_timeout | 10 |
+---------------------------------+---------------------------------------------+
+----------------------------+-------------+
| Variable_name | Value |
+----------------------------+-------------+
| Aborted_clients | 11872 |
| Aborted_connects | 37 |
| Binlog_cache_disk_use | 0 |
| Binlog_cache_use | 0 |
| Bytes_received | 1523092652 |
| Bytes_sent | 91027044680 |
| Com_admin_commands | 0 |
| Com_alter_db | 0 |
| Com_alter_table | 35 |
| Com_analyze | 0 |
| Com_backup_table | 0 |
| Com_begin | 0 |
| Com_change_db | 252989 |
| 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 | 56 |
| Com_dealloc_sql | 2551 |
| Com_delete | 56436 |
| Com_delete_multi | 0 |
| Com_do | 0 |
| Com_drop_db | 0 |
| Com_drop_function | 0 |
| Com_drop_index | 0 |
| Com_drop_table | 56 |
| Com_drop_user | 0 |
| Com_execute_sql | 2551 |
| Com_flush | 4 |
| Com_grant | 12 |
| Com_ha_close | 0 |
| Com_ha_open | 0 |
| Com_ha_read | 0 |
| Com_help | 0 |
| Com_insert | 49532 |
| Com_insert_select | 56 |
| Com_kill | 0 |
| Com_load | 0 |
| Com_load_master_data | 0 |
| Com_load_master_table | 0 |
| Com_lock_tables | 133 |
| Com_optimize | 88 |
| Com_preload_keys | 0 |
| Com_prepare_sql | 2551 |
| Com_purge | 0 |
| Com_purge_before_date | 0 |
| Com_rename_table | 0 |
| Com_repair | 0 |
| Com_replace | 7233 |
| 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 | 974361 |
| Com_set_option | 5920 |
| Com_show_binlog_events | 0 |
| Com_show_binlogs | 2 |
| Com_show_charsets | 6 |
| Com_show_collations | 6 |
| Com_show_column_types | 0 |
| Com_show_create_db | 16 |
| Com_show_create_table | 1209 |
| Com_show_databases | 11 |
| Com_show_errors | 0 |
| Com_show_fields | 1461 |
| Com_show_grants | 72 |
| 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 | 335 |
| Com_show_slave_hosts | 0 |
| Com_show_slave_status | 0 |
| Com_show_status | 1 |
| Com_show_storage_engines | 0 |
| Com_show_tables | 1279 |
| Com_show_variables | 51 |
| Com_show_warnings | 0 |
| Com_slave_start | 0 |
| Com_slave_stop | 0 |
| Com_stmt_close | 2551 |
| Com_stmt_execute | 2551 |
| Com_stmt_prepare | 2551 |
| Com_stmt_reset | 0 |
| Com_stmt_send_long_data | 0 |
| Com_truncate | 56 |
| Com_unlock_tables | 130 |
| Com_update | 198731 |
| Com_update_multi | 60 |
| Connections | 196499 |
| Created_tmp_disk_tables | 4814 |
| Created_tmp_files | 48518 |
| Created_tmp_tables | 26395 |
| Delayed_errors | 0 |
| Delayed_insert_threads | 0 |
| Delayed_writes | 0 |
| Flush_commands | 1 |
| Handler_commit | 14 |
| Handler_delete | 37696 |
| Handler_discover | 0 |
| Handler_read_first | 177355 |
| Handler_read_key | 123250425 |
| Handler_read_next | 4057197618 |
| Handler_read_prev | 3595536 |
| Handler_read_rnd | 1979890957 |
| Handler_read_rnd_next | 3848135585 |
| Handler_rollback | 4 |
| Handler_update | 984721 |
| Handler_write | 169225451 |
| Key_blocks_not_flushed | 0 |
| Key_blocks_unused | 11113 |
| Key_blocks_used | 53585 |
| Key_read_requests | 829210462 |
| Key_reads | 769329 |
| Key_write_requests | 499686 |
| Key_writes | 241059 |
| Max_used_connections | 151 |
| Not_flushed_delayed_rows | 0 |
| Open_files | 214 |
| Open_streams | 0 |
| Open_tables | 128 |
| Opened_tables | 41538 |
| Qcache_free_blocks | 5235 |
| Qcache_free_memory | 41214344 |
| Qcache_hits | 1215239 |
| Qcache_inserts | 921349 |
| Qcache_lowmem_prunes | 26889 |
| Qcache_not_cached | 51791 |
| Qcache_queries_in_cache | 10723 |
| Qcache_total_blocks | 27252 |
| Questions | 2961079 |
| Rpl_status | NULL |
| Select_full_join | 14999 |
| Select_full_range_join | 0 |
| Select_range | 160094 |
| Select_range_check | 0 |
| Select_scan | 172604 |
| Slave_open_temp_tables | 0 |
| Slave_retried_transactions | 0 |
| Slave_running | OFF |
| Slow_launch_threads | 36 |
| Slow_queries | 3315 |
| Sort_merge_passes | 62198 |
| Sort_range | 221192 |
| Sort_rows | 2045951624 |
| Sort_scan | 24511 |
| Table_locks_immediate | 2114981 |
| Table_locks_waited | 66390 |
| Threads_cached | 2 |
| Threads_connected | 6 |
| Threads_created | 10542 |
| Threads_running | 4 |
| Uptime | 100027 |
+----------------------------+-------------+
Uptime: 100027 Threads: 6 Questions: 2961080 Slow queries: 3315 Opens: 41538 Flush tables: 1 Open tables: 128 Queries per second avg: 29.603
mysqladmin Ver 8.41 Distrib 4.1.22, for unknown-linux-gnu on x86_64
Copyright (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.22-standard
Protocol version 10
Connection Localhost via UNIX socket
UNIX socket /var/lib/mysql/mysql.sock
Uptime: 1 day 3 hours 47 min 7 sec
Threads: 6 Questions: 2961080 Slow queries: 3315 Opens: 41538 Flush tables: 1 Open tables: 128 Queries per second avg: 29.603
+--------+------------------+-----------+-------------------+---------+------+--------------+------------------------------------------------------------------------------------------------------+
| Id | User | Host | db | Command | Time | State | Info |
+--------+------------------+-----------+-------------------+---------+------+--------------+------------------------------------------------------------------------------------------------------+
| 196493 | bandaids_atropos | localhost | bandaids_basilik | Query | 1 | Sending data | SELECT user.*, usergroup.usergroupid, usergroup.title, user.options, usertextfield.*, userfield.*,
|
| 196494 | bandaids_thetis | localhost | bandaids_sunprint | Query | 0 | Sending data | SELECT pid FROM cpg1411_pictures WHERE filepath='2680/' AND filename='Ryan_Seacrest_Interview_pt1_20 |
| 196495 | bandaids_atropos | localhost | bandaids_basilik | Sleep | 0 | | |
| 196496 | bandaids_thetis | localhost | bandaids_sunprint | Query | 0 | Sending data | SELECT pid FROM cpg1411_pictures WHERE filepath='2680/' AND filename='Ryan_Seacrest_Interview_pt1_20 |
| 196497 | bandaids_atropos | localhost | bandaids_basilik | Sleep | 0 | | |
| 196498 | root | localhost | | Query | 0 | | show processlist |
+--------+------------------+-----------+-------------------+---------+------+--------------+------------------------------------------------------------------------------------------------------+
9. Coppermine image gallery, AttachMax may be migrated over in the future
10. 400 users average; max 4,000
Cookie timeout: 1,200
11. http://www.avrilbandaids.com/1AxhZ2/
12.
KeepAlive Off
MaxKeepAliveRequests 80
KeepAliveTimeout 3
MinSpareServers 10
MaxSpareServers 20
StartServers 10
AND MaxRequestsPerChild 500
13.
/backup/cpbackup/weekly/bandaids.tar.gz
/backup/cpbackup/daily/bandaids.tar.gz
/backup/cpbackup/monthly/bandaids.tar.gz
14.
Linux apollo.avrilbandaids.com 2.6.9-55.0.12.ELsmp #1 SMP Fri Nov 2 12:38:56 EDT 2007 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) 29951
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 5
model name : AMD Opteron(tm) Processor 246
stepping : 10
cpu MHz : 1991.526
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
bogomips : 3988.48
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 : 5
model name : AMD Opteron(tm) Processor 246
stepping : 10
cpu MHz : 1991.526
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
bogomips : 3982.25
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