Mac OS X Server [Archive] - Mac Help Forums:: [Archive] Running Panther Server, need help post here. Question Big Help Needed. Question Server 10.4 Mail Service being used as a bot? http://www.mac-help.com/forums/archive/index.php?f-9.htmlHOME | We are having a strange problem, and its been happening for a few months now. The strange thing about it is it can happen once then not happen for weeks. Then some days it can happen 5 times.
I have submitted a support ticket but I got the standard have you shut off your plugins and reverted your templates routiene from Steve. :) He then suggested I post here
The problem is my server load runs normally below 1.00 (Normally around .070) however every once in awhile the server load goes through the roof. to 38.65 or HIGHER and there is no rhyme or reason for it. The only way to get it back down is to restart MySQL. Emulator Server Discussion [Archive] - Page 22 - MMOwned - World of :: to host a server. help plz. Help needed! Instant DC, and High Population. need help geting my server online. How to make accounts gm Ac-repack 7.4. NPC disappear http://www.mmowned.com/forums/archive/index.php/f-52-p-22.htmlHOME |
I have tried shutting off my plugins and using the default skin and but problem happened again a few moments after. And I believe it may be something that a user is doing which is causing the issue. As I have dumped the database and then put that database and a clone of the site online, and when the problem happens its always the one people are using, it never happens on the beta site.
I thought this problem could be a cpanel problem, however they have looked at it and tell me its a vBulletin issue. When the problem happens they have been having dump the process list via mysqladmin (mysqladmin processlist) and I have been saving these logs which you can see at http://www.satelliteguys.us/proc
Here is a copy of one of them from today...
+-------+----------+-----------+-------------+---------+------+--------------+------------------------------------------------------------------------------------------------------+ Id User Host db Command Time State Info +-------+----------+-----------+-------------+---------+------+--------------+------------------------------------------------------------------------------------------------------+ 46351 satellit localhost satellit_vb Query 21 Locked UPDATE user SET lastvisit = lastactivity, lastactivity = 1172691756 WHERE 46621 satellit localhost satellit_vb Query 20 Locked SELECT user.userid, user.avatarid, user.avatarrevision, avatar.avatarpath, customavatar.filename, NO 46622 satellit localhost satellit_vb Query 20 Locked SELECT user.userid, user.avatarid, user.avatarrevision, avatar.avatarpath, customavatar.filename, NO 46623 satellit localhost satellit_vb Query 20 Locked SELECT user.userid, user.avatarid, user.avatarrevision, avatar.avatarpath, customavatar.filename, NO 46626 satellit localhost satellit_vb Query 20 Locked SELECT user.userid, user.avatarid, user.avatarrevision, avatar.avatarpath, customavatar.filename, NO 46627 satellit localhost satellit_vb Query 20 Locked SELECT user.userid, user.avatarid, user.avatarrevision, avatar.avatarpath, customavatar.filename, NO 46628 satellit localhost satellit_vb Query 20 Locked SELECT user.userid, user.avatarid, user.avatarrevision, avatar.avatarpath, customavatar.filename, NO 46630 satellit localhost satellit_vb Query 21 Sending data SELECT user.userid, user.avatarid, user.avatarrevision, avatar.avatarpath, customavatar.filename, NO 46632 satellit localhost satellit_vb Query 22 Sending data SELECT user.userid, user.avatarid, user.avatarrevision, avatar.avatarpath, customavatar.filename, NO 46634 satellit localhost satellit_vb Query 23 Sending data SELECT user.userid, user.avatarid, user.avatarrevision, avatar.avatarpath, customavatar.filename, NO 46635 satellit localhost satellit_vb Query 22 Sending data SELECT user.userid, user.avatarid, user.avatarrevision, avatar.avatarpath, customavatar.filename, NO 46636 satellit localhost satellit_vb Query 23 Sending data SELECT user.userid, user.avatarid, user.avatarrevision, avatar.avatarpath, customavatar.filename, NO 46637 satellit localhost satellit_vb Query 23 Sending data SELECT user.userid, user.avatarid, user.avatarrevision, avatar.avatarpath, customavatar.filename, NO 46638 satellit localhost satellit_vb Query 20 Locked SELECT user.userid, user.avatarid, user.avatarrevision, avatar.avatarpath, customavatar.filename, NO 46639 satellit localhost satellit_vb Query 23 Sending data SELECT user.userid, user.avatarid, user.avatarrevision, avatar.avatarpath, customavatar.filename, NO 46642 satellit localhost satellit_vb Query 22 Sending data SELECT user.userid, user.avatarid, user.avatarrevision, avatar.avatarpath, customavatar.filename, NO 46646 satellit localhost satellit_vb Query 22 Sending data SELECT user.userid, user.avatarid, user.avatarrevision, avatar.avatarpath, customavatar.filename, NO 46647 satellit localhost satellit_vb Query 21 Locked SELECT user.userid, user.avatarid, user.avatarrevision, avatar.avatarpath, customavatar.filename, NO 46650 satellit localhost satellit_vb Query 21 Locked SELECT user.userid, user.avatarid, user.avatarrevision, avatar.avatarpath, customavatar.filename, NO 46652 satellit localhost satellit_vb Query 21 Sending data SELECT user.userid, user.avatarid, user.avatarrevision, avatar.avatarpath, customavatar.filename, NO 46654 satellit localhost satellit_vb Query 20 Locked SELECT user.userid, user.avatarid, user.avatarrevision, avatar.avatarpath, customavatar.filename, NO 46655 satellit localhost satellit_vb Query 23 Sending data SELECT user.userid, user.avatarid, user.avatarrevision, avatar.avatarpath, customavatar.filename, NO 46658 satellit localhost satellit_vb Query 21 Sending data SELECT user.userid, user.avatarid, user.avatarrevision, avatar.avatarpath, customavatar.filename, NO 46659 satellit localhost satellit_vb Query 22 Sending data SELECT user.userid, user.avatarid, user.avatarrevision, avatar.avatarpath, customavatar.filename, NO 46661 satellit localhost satellit_vb Query 19 Locked SELECT user.userid, user.avatarid, user.avatarrevision, avatar.avatarpath, customavatar.filename, NO 46663 satellit localhost satellit_vb Query 19 Locked SELECT user.userid, user.avatarid, user.avatarrevision, avatar.avatarpath, customavatar.filename, NO 46664 satellit localhost satellit_vb Query 22 Sending data SELECT user.userid, user.avatarid, user.avatarrevision, avatar.avatarpath, customavatar.filename, NO 46668 satellit localhost satellit_vb Query 23 Sending data SELECT user.userid, user.avatarid, user.avatarrevision, avatar.avatarpath, customavatar.filename, NO 46672 satellit localhost satellit_vb Query 20 Locked SELECT user.userid, user.avatarid, user.avatarrevision, avatar.avatarpath, customavatar.filename, NO 46674 satellit localhost satellit_vb Query 21 Locked SELECT user.userid, user.avatarid, user.avatarrevision, avatar.avatarpath, customavatar.filename, NO 46681 satellit localhost satellit_vb Query 22 Sending data SELECT user.userid, user.avatarid, user.avatarrevision, avatar.avatarpath, customavatar.filename, NO 46726 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.subscriptionid, subscription.subscriptionid, subscrip 46737 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.subscriptionid, subscription.subscriptionid, subscrip 46750 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46754 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.subscriptionid, subscription.subscriptionid, subscrip 46755 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.subscriptionid, subscription.subscriptionid, subscrip 46756 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46757 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.subscriptionid, subscription.subscriptionid, subscrip 46758 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46759 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46763 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46767 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46768 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46777 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46779 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46780 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46782 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.subscriptionid, subscription.subscriptionid, subscrip 46790 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46795 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46793 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.subscriptionid, subscription.subscriptionid, subscrip 46800 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46807 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46817 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46818 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46819 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.subscriptionid, subscription.subscriptionid, subscrip 46820 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46821 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46822 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46823 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46825 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46826 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.subscriptionid, subscription.subscriptionid, subscrip 46830 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46832 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46837 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46840 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46845 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46847 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46849 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46851 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46853 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46855 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46856 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46857 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.subscriptionid, subscription.subscriptionid, subscrip 46858 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46860 satellit localhost satellit_vb Query 21 Locked SELECT userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate, IF 46863 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46864 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46865 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46866 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46867 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46870 satellit localhost satellit_vb Query 18 Locked SELECT userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate, IF 46871 satellit localhost satellit_vb Query 18 Locked SELECT userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate, IF 46872 satellit localhost satellit_vb Query 17 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46874 satellit localhost satellit_vb Query 17 Locked SELECT userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate, IF 46875 satellit localhost satellit_vb Query 17 Locked SELECT userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate, IF 46877 satellit localhost satellit_vb Query 16 Locked SELECT userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate, IF 46880 satellit localhost satellit_vb Query 12 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46881 satellit localhost satellit_vb Query 12 Locked SELECT userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate, IF 46882 satellit localhost satellit_vb Query 11 Locked SELECT userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate, IF 46885 satellit localhost satellit_vb Query 11 Locked SELECT userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate, IF 46886 satellit localhost satellit_vb Query 10 Locked SELECT userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate, IF 46887 satellit localhost satellit_vb Query 10 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46888 satellit localhost satellit_vb Query 10 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46894 satellit localhost satellit_vb Query 9 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46895 satellit localhost satellit_vb Query 9 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46896 satellit localhost satellit_vb Query 8 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46900 satellit localhost satellit_vb Query 6 Locked SELECT userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate, IF 46901 satellit localhost satellit_vb Query 6 Locked SELECT userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate, IF 46904 satellit localhost satellit_vb Query 2 Locked SELECT userid,username,email,password,usergroupid,timezon eoffset,salt,membergroupids FROM user WHERE 46905 satellit localhost satellit_vb Query 0 Locked SELECT subscriptionlog.userid, subscriptionlog.status, subscriptionlog.regdate, subscriptionlog.expi 46906 satellit localhost satellit_vb Sleep 0 46907 root localhost Query 0 show processlist +-------+----------+-----------+-------------+---------+------+--------------+------------------------------------------------------------------------------------------------------+
It will happen, we restart MySQL and all is good, sometimes for days or weeks and then BOOM it happens. I should also note it only happens between 8am and 2pm eastern time, it has never happened earlier or later than that.
I have checked my cron jobs and nothing is scheduled to run at those times, and my normal processes are set to run in vbilletin.
I know you are going to ask for this information so here is my config infomation.
1) Dedicated
2) Server Specs
2x Dual Core AMD Opteron(tm) Processor 280
6GB RAM
4 x 120 GB 10,000 RPM SATA Hard Drives (Setup on RAID 1+0) (With Sata Raid Card with 128MB Cache and battery Backup)
OS FreeBSD 6.1-STABLE 64 Bit
Apache/1.3.37 (Unix) mod_gzip/1.3.26.1a mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.4.4 mod_ssl/2.8.28 OpenSSL/0.9.7e-p1
PHP 4.4.4
mySQL version 4.1.22
APC / MemCache
3) vBulletin Version 3.6.4
4) No InoDB's
5) MySQL installed by Cpanel
6) Top Stats
last pid: 1710; load averages: 0.14, 0.37, 0.56 up 12+02:01:44 15:38:28
179 processes: 1 running, 177 sleeping, 1 zombie
CPU states: 7.8% user, 0.0% nice, 2.2% system, 0.0% interrupt, 90.1% idle
Mem: 2030M Active, 1064M Inact, 444M Wired, 288M Cache, 214M Buf, 1994M Free
Swap: 16G Total, 82M Used, 16G Free
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
98580 mysql 12 86 -10 807M 175M ucond 0 3:21 3.08% mysqld
589 nobody 1 4 0 88064K 43184K sbwait 2 0:05 1.32% httpd
1683 nobody 1 4 0 87880K 28644K sbwait 3 0:00 1.02% httpd
1679 nobody 1 4 0 88372K 25188K sbwait 3 0:00 0.90% httpd
1684 nobody 1 20 0 88460K 25860K lockf 3 0:01 0.84% httpd
95726 nobody 1 4 0 97432K 58012K sbwait 3 0:21 0.83% httpd
1687 nobody 1 4 0 86968K 30436K sbwait 1 0:01 0.78% httpd
1652 nobody 1 4 0 87736K 22220K sbwait 1 0:00 0.76% httpd
95654 nobody 1 96 0 96952K 57236K select 1 0:23 0.73% httpd
1043 nobody 1 4 0 94440K 55876K sbwait 1 0:06 0.73% httpd
1688 nobody 1 4 0 87400K 21912K sbwait 2 0:00 0.72% httpd
96215 nobody 1 4 0 93156K 53664K sbwait 1 0:23 0.68% httpd
96092 nobody 1 4 0 94488K 55552K sbwait 1 0:20 0.63% httpd
1678 nobody 1 20 0 86212K 19388K lockf 3 0:00 0.54% httpd
1677 nobody 1 20 0 87284K 22732K lockf 1 0:00 0.48% httpd
1651 nobody 1 20 0 87828K 22940K lockf 3 0:00 0.41% httpd
95664 nobody 1 20 0 96708K 56576K lockf 1 0:24 0.39% httpd
592 nobody 1 20 0 93140K 51260K lockf 1 0:07 0.39% httpd
1655 nobody 1 4 0 87492K 22020K sbwait 1 0:00 0.35% httpd
96393 nobody 1 4 0 106M 69784K sbwait 1 0:21 0.34% httpd
1658 nobody 1 20 0 86208K 20740K lockf 3 0:00 0.30% httpd
96485 nobody 1 4 0 96992K 57672K sbwait 3 0:17 0.29% httpd
1635 nobody 1 4 0 78540K 8508K sbwait 2 0:00 0.21% httpd
891 nobody 1 20 0 90544K 50628K lockf 3 0:03 0.20% httpd
1456 nobody 1 20 0 87560K 41180K lockf 3 0:02 0.15% httpd
1660 nobody 1 4 0 83632K 25160K sbwait 2 0:00 0.12% httpd
96153 nobody 1 4 0 97008K 57428K sbwait 1 0:24 0.10% httpd
1674 nobody 1 20 0 83572K 18896K lockf 1 0:00 0.06% httpd
96205 nobody 1 4 0 96720K 56520K sbwait 0 0:21 0.05% httpd
21842 nobody 1 4 0 53476K 1048K kqread 3 17:47 0.00% memcached
473 bind 1 96 0 29420K 21984K select 3 16:07 0.00% named
56749 root 6 20 0 79764K 36480K kserel 0 11:20 0.00% clamd
63669 root 1 8 20 79472K 3904K nanslp 0 5:27 0.00% perl5.8.8 ASP.NET caching with SQL Server doesnt work. Help needed. • Geekpedia:: Programming tutorials and source code for many programming languages and ASP.NET Caching With SQL Server Doesnt Work. Help Needed. http://www.geekpedia.com/Thread1233_ASPNET-Caching-With-SQL-Servesnt-Work-Help-Needed.htmlHOME |
668 root 1 96 0 18464K 460K select 1 2:47 0.00% sshd
1527 root 1 96 0 96440K 9712K select 0 2:03 0.00% perl
63692 root 1 96 0 39508K 4440K select 3 1:38 0.00% cppop-ssl
395 root 1 96 0 3576K 488K select 1 0:52 0.00% syslogd
18940 root 1 96 0 77352K 748K select 0 0:51 0.00% httpd
547 root 1 96 0 7572K 656K select 0 0:49 0.00% ntpd
63614 root 1 8 0 25124K 1828K nanslp 0 0:47 0.00% perl5.8.8
520 root 1 96 0 1952K 456K select 0 0:39 0.00% 3dm2
16885 root 1 8 0 8276K 1484K nanslp 0 0:37 0.00% perl5.8.8
95794 nobody 1 4 0 121M 83928K sbwait 1 0:28 0.00% httpd
62090 root 1 96 0 116M 74740K select 3 0:27 0.00% perl
95787 nobody 1 4 0 103M 65788K sbwait 3 0:26 0.00% httpd
95709 nobody 1 20 0 106M 56924K lockf 3 0:25 0.00% httpd
7) My.cnf
[client]
port = 3306
socket = /var/lib/mysql/mysql.sock
[mysqld]
port = 3306
socket = /var/lib/mysql/mysql.sock
safe-show-database
back_log = 75
skip-innodb
max_connections = 800
key_buffer = 512M
myisam_sort_buffer_size = 128M
join_buffer_size = 3M
read_buffer_size = 3M
sort_buffer_size = 8M
table_cache = 1800
thread_cache_size = 512
wait_timeout = 30
connect_timeout = 10
tmp_table_size = 1024M
max_heap_table_size = 512M
max_allowed_packet = 64M
max_connect_errors = 10
read_rnd_buffer_size = 524288
bulk_insert_buffer_size = 16M
query_cache_limit = 16M
query_cache_size = 256M
query_cache_type = 1
query_prealloc_size = 163840
query_alloc_block_size = 32768
default-storage-engine = MyISAM
[mysqld_safe]
nice = -10
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
8) MySQL Stats (Note MySql was just restarted about an hour ago due to this issue see http://www.satelliteguys.us/proc/proc8.txt
Here are your stats by running mysqladmin -u root -p var ext staat ver
http://www.satelliteguys.us/mysqlstats.txt
9) Other PHP / MySQL Apps
vBullletin 4.11
PhpAdsNew (Latest Version)
10) Avg users online 600 max 800 cookie timeout 900 secs (15 min)
11) My php info http://www.satelliteguys.us/php.php
11) Apache Stuff (Note you have 2 11's) :)
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 5
MinSpareServers 15
MaxSpareServers 20
StartServers 15
MaxClients 256
MaxRequestsPerChild 500
12) No big files
13) Other commands
uname -a
FreeBSD fast.satelliteguys.us 6.1-STABLE FreeBSD 6.1-STABLE #4: Sun Jun 25 04:15:41 EDT 2006 root@fast.satelliteguys.us:/usr/obj/usr/src/sys/FAST amd64
ulimit -aH
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) 33554432
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 11095
pipe size (512 bytes, -p) 1
stack size (kbytes, -s) 524288
cpu time (seconds, -t) unlimited
max user processes (-u) 5547
virtual memory (kbytes, -v) unlimited
Cat cpuinfo is not working for me.
I do hope that someone can help me figure out whats going on. It is really annoying to have a server that going with a load from 0.42 to jump 34.20 in just a matter of seconds. I have tried in the past letting this process run but killed it after an hour. I dont know what it is.
HELP PLEASE!
Thanks!
Okay I'm just commenting on what I see in the order I see it
1. Seems you do have some table locking issues related to subscription updates and other common mysql queries on busy vBs - which is common issue for MySQL. Maybe you have alot of users with subscribed email or new post subscriptions ? Does your default vB registration set subscribe to new post set to instant notification etc or No subscribe ? MySQL table locking is unavoidable and only thing you can do is take steps to reduce the duration and impact mysql table locks have when they occur.
2. Other locking queries related to avatars - make sure you move attachments and avatars to filesystem and not database
3. Slow SATA disks may worsen the table locking issues. Fast SCSI 15,000 rpm disks in raid 10 would help somewhat lessen the duration of the table locking
4. You have PHPAdsnew ensure persistent connections are disabled - same goes for vB config.php ensure pconnect = 0
5. Ensure vB admincp gzip is disabled since you already have Apache with mod_gzip which does the same thing
Try the following in this exact order. You can ignore any of the suggestions that you have already done.
1. Upgrade MySQL server to 4.1.22
2. Upgrade PHP to 4.4.4 and/or recompile PHP 4.4.4 after upgrading MySQL
3. Edit /etc/my.cnf and place the following mysql server settings in /etc/my.cnf and restart mysql server afterwards
[client]
port = 3306
socket = /var/lib/mysql/mysql.sock
[mysqld]
port = 3306
socket = /var/lib/mysql/mysql.sock
safe-show-database
old_passwords
back_log = 75
skip-innodb
max_connections = 800
key_buffer = 384M
myisam_sort_buffer_size = 64M
join_buffer_size = 2M
read_buffer_size = 2M
sort_buffer_size = 6M
table_cache = 4000
thread_cache_size = 768
wait_timeout = 20
connect_timeout = 10
tmp_table_size = 1024M
max_heap_table_size = 1024M
max_allowed_packet = 128M
max_connect_errors = 10
read_rnd_buffer_size = 1M
bulk_insert_buffer_size = 16M
query_cache_limit = 10M
query_cache_size = 128M
query_cache_type = 1
query_prealloc_size = 163840
query_alloc_block_size = 32768
default-storage-engine = MyISAM
[mysqld_safe]
nice = -10
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
4. Install APC Cache lastest version from http://pecl.php.net/package/APC.
5. Edit httpd.conf values from
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 5
MinSpareServers 15
MaxSpareServers 20
StartServers 15
MaxClients 256
MaxRequestsPerChild 500
to
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 5
MinSpareServers 15
MaxSpareServers 20
StartServers 15
MaxClients 200
MaxRequestsPerChild 1000
6. If you just upgraded to vB 3.5.x/3.6.x try to disable these 4 options:
Admin CP -> vBulletin Options -> Forums Home Page Options -> Display Logged in Users?
Admin CP -> vBulletin Options -> Forum Display Options (forumdisplay) -> Show Users Browsing Forums
Admin CP -> vBulletin Options -> Thread Display Options -> Show Users Browsing Thread
Admin CP -> vBulletin Options -> Message Searching Options -> Automatic Similar Thread search
We have a very similar problem - no solution so far...
Here is an update mysqlstats for today.
http://www.satelliteguys.us/mysqlstats2.txt
Try disabling "email functions" in your admin control panel.
Ok last night I changed my setting and moved from php mail from vbulletin to SMTP mail.
Unfortunately this did not help anything and my server crashed twice with the same issue.
Before I restarted things I took some snapshots of what was going on
You can see this here
http://www.satelliteguys.us/proc/proc8.txt
And here are the mysqlstats
http://www.satelliteguys.us/proc/mysqlstats5.txt
I do hope someone can help with this.
Thanks
Try disabling "email functions" in your admin control panel.
I just did that although I dont know if I can keep it off as the following features on my site are used often by the members
Email a Member
Email this Page to a Friend
New Post Notifications to Members
In my settings I have the following:
mailqueue system set to yes with locking
number of emails to send per batch set to 5 (should this be turned up?)
For Enable "-f" Parameter I have it set to yes.
I am not using SMTP for sending mail. Should I change this?
Thanks for any advice. :)
Thank you George, I will try that out.
Nortel Unveils Vision, Strategy for Israeli High-Performance Net
Busy Friday Leads to Strong Close for Net Stocks |