ورود

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : فوری - دان شدن mysql , پیام Warning: The system load average is 11.24



ramin02
January 11th, 2014, 22:13
سلام خدمت دوستان محترم
mysqld سرور دون میشه و از طرفی پیام Warning: The system load average is 11.24 برام میرسه و بعد از ری استارت چند دقیقه باز شده و سپس میبنده
لطفا راهنمایی کنید برای رفع مشکل

با تشکر

majidisaloo1
January 11th, 2014, 22:16
لود سرورتان در حالت عادی روی چند است؟
وضعیت رم به چه شکل است؟

irangate
January 11th, 2014, 22:17
احتمالا رم سیستم شما پر شده و سی پی یو هم ۱۰۰٪ هست. شما چند هسته پردازنده دارید؟ پر شدن سی پی یو ممکنه مربوط به io بالا هم باشه خروجی دستور ps |aux رو بزارید اینجا .

ramin02
January 11th, 2014, 22:19
رم سرور 3 گیگ هست و سی پی یو 1 هسته
_______________
در حالت عادی 1.5 گیگ رم استفاده میشه
میزبانی تعدادی چترومو داریم

ramin02
January 11th, 2014, 22:22
خروجی ps
PID TTY TIME CMD
9048 pts/0 00:00:00 mysqld
9050 pts/0 00:00:00 ps
9570 pts/0 00:00:00 bash
18065 pts/0 00:00:00 service
18070 pts/0 00:00:00 mysqld
18086 pts/0 00:00:00 mysqld_safe
19799 pts/0 00:00:00 sleep
19824 pts/0 00:00:00 mysqld <defunct>
19932 pts/0 00:00:20 mysqld_safe

,

irangate
January 11th, 2014, 22:24
نسخه لینوکس چیه؟ ببخشید اون پایپ رو بردارید بزنید فقط ps aux
همینطور خروجی دستورات زیر رو هم بدین
free -m
netstat -nat
df -h

ramin02
January 11th, 2014, 22:27
خروجی ps aux
SER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 2200 700 ? Ss 19:49 0:01 init [3]
root 2 0.0 0.0 0 0 ? S< 19:49 0:00 [migration/0]
root 3 0.0 0.0 0 0 ? SN 19:49 0:00 [ksoftirqd/0]
root 4 0.0 0.0 0 0 ? S< 19:49 0:04 [events/0]
root 5 0.0 0.0 0 0 ? S< 19:49 0:00 [khelper]
root 6 0.0 0.0 0 0 ? S< 19:49 0:00 [kthread]
root 9 0.0 0.0 0 0 ? S< 19:49 0:00 [kblockd/0]
root 10 0.0 0.0 0 0 ? S< 19:49 0:00 [kacpid]
root 170 0.0 0.0 0 0 ? S< 19:49 0:00 [cqueue/0]
root 173 0.0 0.0 0 0 ? S< 19:49 0:00 [khubd]
root 175 0.0 0.0 0 0 ? S< 19:49 0:00 [kseriod]
root 243 0.0 0.0 0 0 ? S 19:49 0:00 [khungtaskd]
root 244 0.0 0.0 0 0 ? S 19:49 0:00 [pdflush]
root 245 0.0 0.0 0 0 ? S 19:49 0:00 [pdflush]
root 246 0.0 0.0 0 0 ? S< 19:49 0:00 [kswapd0]
root 247 0.0 0.0 0 0 ? S< 19:49 0:00 [aio/0]
root 465 0.0 0.0 0 0 ? S< 19:49 0:00 [kpsmoused]
root 496 0.0 0.0 0 0 ? S< 19:49 0:00 [mpt_poll_0]
root 497 0.0 0.0 0 0 ? S< 19:49 0:00 [mpt/0]
root 498 0.0 0.0 0 0 ? S< 19:49 0:00 [scsi_eh_0]
root 501 0.0 0.0 0 0 ? S< 19:49 0:00 [ata/0]
root 502 0.0 0.0 0 0 ? S< 19:49 0:00 [ata_aux]
root 507 0.0 0.0 0 0 ? S< 19:49 0:00 [kstriped]
root 516 0.0 0.0 0 0 ? S< 19:49 0:00 [ksnapd]
root 527 0.0 0.0 0 0 ? D< 19:50 0:02 [kjournald]
root 552 0.0 0.0 0 0 ? S< 19:50 0:00 [kauditd]
root 585 0.0 0.0 2432 740 ? S<s 19:50 0:00 /sbin/udevd -d
apache 1178 0.0 0.4 50988 14180 ? S 22:16 0:00 /usr/sbin/httpd
apache 1215 0.0 0.4 52144 15420 ? S 22:16 0:00 /usr/sbin/httpd
apache 1216 0.0 0.4 52144 15428 ? S 22:16 0:00 /usr/sbin/httpd
root 1697 0.0 0.0 0 0 ? S< 19:50 0:00 [kmpathd/0]
root 1698 0.0 0.0 0 0 ? S< 19:50 0:00 [kmpath_handle]
root 1754 0.0 0.0 0 0 ? S< 19:50 0:00 [kjournald]
root 1756 0.0 0.0 0 0 ? S< 19:50 0:00 [loop0]
root 1757 0.0 0.0 0 0 ? S< 19:50 0:00 [kjournald]
root 1911 0.0 0.0 0 0 ? S< 19:50 0:00 [iscsi_eh]
root 1945 0.0 0.0 0 0 ? S< 19:50 0:00 [cnic_wq]
root 1948 0.0 0.0 0 0 ? S< 19:50 0:00 [bnx2i_thread/]
root 1961 0.0 0.0 0 0 ? S< 19:50 0:00 [ib_addr]
root 1968 0.0 0.0 0 0 ? S< 19:50 0:00 [ib_mcast]
root 1969 0.0 0.0 0 0 ? S< 19:50 0:00 [ib_inform]
root 1970 0.0 0.0 0 0 ? S< 19:50 0:00 [local_sa]
root 1973 0.0 0.0 0 0 ? S< 19:50 0:00 [iw_cm_wq]
root 1976 0.0 0.0 0 0 ? S< 19:50 0:00 [ib_cm/0]
root 1979 0.0 0.0 0 0 ? S< 19:50 0:00 [rdma_cm]
root 1995 0.0 0.7 22544 22536 ? S<Lsl 19:50 0:00 iscsiuio
root 2000 0.0 0.0 2412 484 ? Ss 19:50 0:00 iscsid
root 2001 0.0 0.0 2876 2872 ? S<Ls 19:50 0:00 iscsid
root 2228 0.0 0.0 12692 788 ? S<sl 19:50 0:00 auditd
root 2230 0.0 0.0 12224 724 ? S<sl 19:50 0:00 /sbin/audispd
root 2260 0.0 0.0 1872 616 ? Ss 19:50 0:00 syslogd -m 0
root 2263 0.0 0.0 1820 440 ? Ss 19:50 0:00 klogd -x
rpc 2348 0.0 0.0 1968 548 ? Ss 19:50 0:00 portmap
root 2475 0.0 0.0 1968 460 ? Ss 19:50 0:00 /usr/sbin/hv_kv
root 2487 0.0 0.3 14324 9996 ? Ss 19:50 0:03 lfd - sleeping
dbus 2508 0.0 0.0 2888 920 ? Ss 19:50 0:00 dbus-daemon --s
root 2544 0.0 0.0 1816 524 ? Ss 19:50 0:00 /usr/sbin/acpid
68 2560 0.0 0.1 6552 4612 ? Ss 19:50 0:01 hald
root 2561 0.0 0.0 3328 1148 ? S 19:50 0:00 hald-runner
68 2568 0.0 0.0 2168 868 ? S 19:50 0:00 hald-addon-acpi
68 2574 0.0 0.0 2168 864 ? S 19:50 0:00 hald-addon-keyb
root 2583 0.0 0.0 2120 744 ? S 19:50 0:03 hald-addon-stor
root 2648 0.0 0.0 28352 1424 ? Ssl 19:50 0:00 automount --pid
root 2669 0.0 0.0 3772 1136 ? Ss 19:50 0:00 /usr/sbin/dovec
dovecot 2684 0.0 0.0 7008 2284 ? S 19:50 0:00 dovecot/pop3-lo
dovecot 2685 0.0 0.0 7012 2288 ? S 19:50 0:00 dovecot/imap-lo
dovecot 2686 0.0 0.0 3660 1044 ? S 19:50 0:00 dovecot/anvil [
root 2687 0.0 0.0 3788 1120 ? S 19:50 0:00 dovecot/log
dovecot 2689 0.0 0.0 7008 2288 ? S 19:50 0:00 dovecot/pop3-lo
dovecot 2690 0.0 0.0 7008 2280 ? S 19:50 0:00 dovecot/pop3-lo
dovecot 2691 0.0 0.0 7008 2284 ? S 19:50 0:00 dovecot/pop3-lo
dovecot 2692 0.0 0.0 7008 2284 ? S 19:50 0:00 dovecot/pop3-lo
dovecot 2693 0.0 0.0 7008 2284 ? S 19:50 0:00 dovecot/pop3-lo
dovecot 2694 0.0 0.0 7008 2288 ? S 19:50 0:00 dovecot/pop3-lo
dovecot 2695 0.0 0.0 7008 2280 ? S 19:50 0:00 dovecot/pop3-lo
dovecot 2696 0.0 0.0 7008 2284 ? S 19:50 0:00 dovecot/pop3-lo
dovecot 2697 0.0 0.0 7008 2292 ? S 19:50 0:00 dovecot/pop3-lo
dovecot 2698 0.0 0.0 7008 2284 ? S 19:50 0:00 dovecot/pop3-lo
dovecot 2699 0.0 0.0 7012 2288 ? S 19:50 0:00 dovecot/imap-lo
dovecot 2700 0.0 0.0 7012 2296 ? S 19:50 0:00 dovecot/imap-lo
dovecot 2701 0.0 0.0 7012 2288 ? S 19:50 0:00 dovecot/imap-lo
dovecot 2702 0.0 0.0 7012 2288 ? S 19:50 0:00 dovecot/imap-lo
dovecot 2703 0.0 0.0 7012 2288 ? S 19:50 0:00 dovecot/imap-lo
dovecot 2704 0.0 0.0 7012 2288 ? S 19:50 0:00 dovecot/imap-lo
dovecot 2705 0.0 0.0 7012 2284 ? S 19:50 0:00 dovecot/imap-lo
dovecot 2706 0.0 0.0 7012 2292 ? S 19:50 0:00 dovecot/imap-lo
dovecot 2707 0.0 0.0 7012 2288 ? S 19:50 0:00 dovecot/imap-lo
dovecot 2708 0.0 0.0 7012 2292 ? S 19:50 0:00 dovecot/imap-lo
dovecot 2709 0.0 0.0 7008 2284 ? S 19:50 0:00 dovecot/pop3-lo
dovecot 2710 0.0 0.0 7008 2280 ? S 19:50 0:00 dovecot/pop3-lo
dovecot 2711 0.0 0.0 7008 2288 ? S 19:50 0:00 dovecot/pop3-lo
dovecot 2712 0.0 0.0 7008 2292 ? S 19:50 0:00 dovecot/pop3-lo
dovecot 2713 0.0 0.0 7008 2288 ? S 19:50 0:00 dovecot/pop3-lo
dovecot 2714 0.0 0.0 7012 2284 ? S 19:50 0:00 dovecot/imap-lo
dovecot 2715 0.0 0.0 7012 2288 ? S 19:50 0:00 dovecot/imap-lo
dovecot 2716 0.0 0.0 7012 2288 ? S 19:50 0:00 dovecot/imap-lo
dovecot 2717 0.0 0.0 7012 2284 ? S 19:50 0:00 dovecot/imap-lo
dovecot 2718 0.0 0.0 7012 2288 ? S 19:50 0:00 dovecot/imap-lo
root 2719 0.0 0.0 4608 1876 ? S 19:50 0:00 dovecot/config
root 2721 0.0 0.0 4464 1796 ? S 19:50 0:00 dovecot/auth [0
root 2722 0.0 0.0 7352 1060 ? Ss 19:50 0:00 /usr/sbin/sshd
root 2750 0.2 6.7 247240 210708 ? Ssl 19:51 0:27 /usr/sbin/clamd
clamav 2766 0.1 0.0 16672 1788 ? Ss 19:51 0:10 /usr/bin/freshc
root 3149 0.0 0.0 3372 460 ? Ss 19:52 0:00 /usr/local/dire
nobody 3162 0.0 0.0 9752 1908 ? Ss 19:52 0:00 /usr/local/dire
mail 3174 0.0 0.0 9348 1024 ? Ss 19:52 0:00 /usr/sbin/exim
root 3197 0.0 1.1 39632 34504 ? Ss 19:52 0:05 /usr/bin/spamd
root 3215 0.0 1.0 39632 33172 ? S 19:53 0:00 spamd child
root 3216 0.0 1.0 39632 33092 ? S 19:53 0:00 spamd child
root 3318 0.0 0.0 7688 1452 ? Ss 19:54 0:00 pure-ftpd (SERV
root 3332 0.0 0.0 5420 1148 ? Ss 19:54 0:00 crond
root 3352 0.0 0.0 2396 448 ? Ss 19:54 0:00 /usr/sbin/atd
root 3409 0.0 0.0 5888 592 ? S 19:54 0:00 /usr/sbin/smart
root 3412 0.0 0.0 1804 512 tty1 Ss+ 19:54 0:00 /sbin/mingetty
root 3413 0.0 0.0 1804 512 tty2 Ss+ 19:54 0:00 /sbin/mingetty
root 3414 0.0 0.0 1804 512 tty3 Ss+ 19:54 0:00 /sbin/mingetty
root 3415 0.0 0.0 1804 508 tty4 Ss+ 19:54 0:00 /sbin/mingetty
root 3416 0.0 0.0 1804 516 tty5 Ss+ 19:54 0:00 /sbin/mingetty
root 3417 0.0 0.0 1804 512 tty6 Ss+ 19:54 0:00 /sbin/mingetty
root 3446 0.0 0.3 27020 10448 ? SN 19:54 0:00 /usr/bin/python
root 3448 0.0 0.0 2720 1220 ? SN 19:54 0:00 /usr/libexec/ga
named 3486 0.0 0.1 39236 3604 ? Ssl 19:55 0:00 named -u named
root 9560 0.0 0.1 10180 3304 ? Ss 22:03 0:00 sshd: root@pts/
root 9570 0.0 0.0 4804 1632 pts/0 Ss 22:03 0:00 -bash
mysql 15379 84.0 14.0 703792 438068 pts/0 Sl 22:24 0:00 /usr/sbin/mysql
root 15392 0.0 0.0 4388 980 pts/0 R+ 22:24 0:00 ps aux
root 18065 0.0 0.0 4616 1312 pts/0 T 22:08 0:00 /bin/sh /sbin/s
root 18070 0.0 0.0 4668 1284 pts/0 T 22:08 0:00 /bin/sh /etc/in
root 18086 0.0 0.0 4672 1400 pts/0 T 22:08 0:00 /bin/sh /usr/bi
nobody 19168 0.0 0.0 9752 652 ? S 22:08 0:00 /usr/local/dire
nobody 19357 0.0 0.0 9752 652 ? S 22:08 0:00 /usr/local/dire
nobody 19358 0.0 0.0 9752 652 ? S 22:08 0:00 /usr/local/dire
nobody 19550 0.0 0.0 9752 652 ? S 22:09 0:00 /usr/local/dire
nobody 19758 0.0 0.0 9752 652 ? S 22:09 0:00 /usr/local/dire
root 19799 0.0 0.0 3856 560 pts/0 T 22:09 0:00 sleep 1
root 19824 0.0 0.0 0 0 pts/0 Z 22:09 0:00 [mys] <defunct>
root 19848 0.0 0.4 50544 14804 ? Ss 22:09 0:00 /usr/sbin/httpd
apache 19850 0.0 0.5 52104 15620 ? S 22:09 0:00 /usr/sbin/httpd
apache 19851 0.0 0.5 52104 15616 ? S 22:09 0:00 /usr/sbin/httpd
apache 19852 0.0 0.4 50820 14860 ? S 22:09 0:00 /usr/sbin/httpd
apache 19853 0.0 0.5 52144 15668 ? S 22:09 0:00 /usr/sbin/httpd
apache 19854 0.0 0.5 54192 17720 ? S 22:09 0:00 /usr/sbin/httpd
apache 19855 0.0 0.5 52144 15672 ? S 22:09 0:00 /usr/sbin/httpd
apache 19857 0.0 0.4 52100 15512 ? S 22:09 0:00 /usr/sbin/httpd
root 19932 4.1 0.0 5316 1972 pts/0 S 22:10 0:35 /bin/sh /usr/bi





__________________________________________________ _________-
free m
total used free shared buffers cached
Mem: 3042 1650 1391 0 79 897
-/+ buffers/cache: 673 2368
Swap: 2047 0 2047


__________________________________________________ ________________
netstat -nat


Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:3310 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:783 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 **.***.***.***:80 2.180.11.103:16740 SYN_RECV
tcp 0 0 0.0.0.0:465 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:3060 0.0.0.0:* LISTEN
tcp 0 0 **.***.***.****:53 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN
tcp 0 1868 **.***.***.***:3060 5.236.184.99:49207 ESTABLISHED
tcp 0 0 :::587 :::* LISTEN
tcp 0 0 :::2222 :::* LISTEN
tcp 0 0 :::80 :::* LISTEN
tcp 0 0 :::465 :::* LISTEN
tcp 0 0 :::3060 :::* LISTEN
tcp 0 0 :::21 :::* LISTEN
tcp 0 0 :::25 :::* LISTEN
tcp 0 0 :::443 :::* LISTEN
tcp 0 0 ::ffff:**.***.***.***:80 ::ffff:5.116.12.7:59601 TIME_WAIT
tcp 0 0 ::ffff:**.***.***.***:80 ::ffff:37.254.92.174:63969 TIME_WAIT
tcp 0 0 ::ffff:**.***.***.***:80 ::ffff:188.245.137.19:59204 TIME_WAIT
tcp 0 0 ::ffff:**.***.***.***:80 ::ffff:188.245.137.19:59206 TIME_WAIT





__________________________________________________ __________
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
18G 17G 0 100% /
/dev/sda1 99M 25M 69M 27% /boot
/var/tmpMnt 1008M 44M 914M 5% /tmp

irangate
January 11th, 2014, 22:39
هارد سرور پر شده و مشکل اجرا نشدن Mysql‌به این خاطره به نظرمدستور top رو بزنین ببنین clamd رو به عنوان اولین پروسه نشون میده ؟

ramin02
January 11th, 2014, 22:42
10347 root 15 0 2464 1000 752 R 2.0 0.0 0:00.01 top
1 root 15 0 2200 700 600 S 0.0 0.0 0:01.27 init
2 root RT -5 0 0 0 S 0.0 0.0 0:00.00 migration/0
3 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0
4 root 10 -5 0 0 0 S 0.0 0.0 0:05.00 events/0
5 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 khelper
6 root 12 -5 0 0 0 S 0.0 0.0 0:00.00 kthread
9 root 10 -5 0 0 0 S 0.0 0.0 0:00.04 kblockd/0
10 root 20 -5 0 0 0 S 0.0 0.0 0:0


خیر

irangate
January 11th, 2014, 22:48
در اون لحظه که ps رو خروجیش رو فرستادین اون calmd داشت بار زیادی میگذاشت شاید الان قطع شده به هر صورت باید فضای هارد رو آزاد کنین و ببینین چه چیزی باعث شده هارد پر بشه. باید وقتی df -h میزنین برای /‌نگه که 100% پر هست.

kaajhost
January 11th, 2014, 22:55
با سلام
فضای
dev/mapper/VolGroup00-LogVol00 پرشده است برای بررسی دقیقتر دستورات زیر را بزنید و خروجی را اعلام بفرمایید:

du -h / --max-depth=1
بعد
find / -size +1000000k -print0 | xargs -0 ls -l

موفق باشید

ramin02
January 12th, 2014, 07:38
درود

0 /net
8.0K /selinux
11M /tmp
0 /sys
12K /mnt
16K /opt
112M /etc
1.6G /home
20M /boot
3.6M /tmp-bkp
34M /sbin
0 /proc
8.0K /srv
7.6M /bin
16K /lost+found
7.0M /tmp_backup
1.9G /var
133M /root
60K /dev
201M /lib
0 /misc
8.0K /media
12G /usr
16G /


و دستور بعدی


find: /proc/19782/task/19782/fd/4: No such file or directory
find: /proc/19782/task/19782/fdinfo/4: No such file or directory
find: /proc/19782/fd/4: No such file or directory
find: /proc/19782/fdinfo/4: No such file or directory
-rw-r--r-- 1 root root 10240000000 Nov 28 15:35 /usr/local/tmppartition/tmpMnt
-rw-r--r-- 1 root root 1073741824 Dec 3 08:45 /var/tmpMnt
-rw-r--r-- 1 root root 10737418240 Dec 1 15:15 /var/tmpmount

ramin02
January 12th, 2014, 12:04
بله میدونم مشکل از هارده ولی حجم زیادی اشغال نکردن بوزر های من

kaajhost
January 12th, 2014, 12:15
درود

0 /net
8.0K /selinux
11M /tmp
0 /sys
12K /mnt
16K /opt
112M /etc
1.6G /home
20M /boot
3.6M /tmp-bkp
34M /sbin
0 /proc
8.0K /srv
7.6M /bin
16K /lost+found
7.0M /tmp_backup
1.9G /var
133M /root
60K /dev
201M /lib
0 /misc
8.0K /media
12G /usr
16G /


و دستور بعدی


find: /proc/19782/task/19782/fd/4: No such file or directory
find: /proc/19782/task/19782/fdinfo/4: No such file or directory
find: /proc/19782/fd/4: No such file or directory
find: /proc/19782/fdinfo/4: No such file or directory
-rw-r--r-- 1 root root 10240000000 Nov 28 15:35 /usr/local/tmppartition/tmpMnt
-rw-r--r-- 1 root root 1073741824 Dec 3 08:45 /var/tmpMnt
-rw-r--r-- 1 root root 10737418240 Dec 1 15:15 /var/tmpmount

با سلام
طبق موارد بالا و خروجی دستورات مشکل از فایلهای موجود در این قسمت /var می باشد .

این دو فایل هم حجم بیش از 1 گیگ دارند که بررسی بفرمایید

-rw-r--r-- 1 root root 1073741824 Dec 3 08:45 /var/tmpMnt
-rw-r--r-- 1 root root 10737418240 Dec 1 15:15 /var/tmpmount

اکثر این موارد از کانفیگ نادرست سرور حاصل می گردد که پیشنهاد می کنیم مجددا سرور را مورد بازبینی قرار دهید
موفق باشید