PDA

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : افزایش عجیبه رم



mohsen10
March 13th, 2011, 23:55
سلام
من تمام فایل ها و دیتابیس هامو پاک کردم اما بازم فضای رمم 70 درصده:-o
رمم 512
پنل دایرکت ادمینه
کسی از دوستان می دونه مشکل از کجاست؟.

persian.developer
March 14th, 2011, 00:33
با دستور زیر ببینید چه سرویس هایی بیش از حد استفاده میشه

top

Vahid
March 14th, 2011, 00:33
این کد رو وارد کنید در SSH و قرار بدید ببینیم مشکل از کجاست :

ps -aux

Reza.exe
March 14th, 2011, 00:42
سلام
منم مشکل همین دوستمون دارم
حدود 20 تا اکانت رو سرور هست دو تاشون پر بازدیدن
Ram : 6 gb
cpu : 4x 2.86 Ghz

root@server [~]# ps -aux
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 10352 688 ? Ss 15:52 0:00 init [3]
root 2 0.0 0.0 0 0 ? S< 15:52 0:00 [migration/0]
root 3 0.0 0.0 0 0 ? SN 15:52 0:00 [ksoftirqd/0]
root 4 0.0 0.0 0 0 ? S< 15:52 0:00 [watchdog/0]
root 5 0.0 0.0 0 0 ? S< 15:52 0:00 [events/0]
root 6 0.0 0.0 0 0 ? S< 15:52 0:00 [khelper]
root 7 0.0 0.0 0 0 ? S< 15:52 0:00 [kthread]
root 9 0.0 0.0 0 0 ? S< 15:52 0:00 [xenwatch]
root 10 0.0 0.0 0 0 ? S< 15:52 0:00 [xenbus]
root 14 0.0 0.0 0 0 ? S< 15:52 0:00 [migration/1]
root 15 0.0 0.0 0 0 ? SN 15:52 0:00 [ksoftirqd/1]
root 16 0.0 0.0 0 0 ? S< 15:52 0:00 [watchdog/1]
root 17 0.0 0.0 0 0 ? S< 15:52 0:00 [events/1]
root 18 0.0 0.0 0 0 ? S< 15:52 0:00 [migration/2]
root 19 0.0 0.0 0 0 ? SN 15:52 0:00 [ksoftirqd/2]
root 20 0.0 0.0 0 0 ? S< 15:52 0:00 [watchdog/2]
root 21 0.0 0.0 0 0 ? S< 15:52 0:00 [events/2]
root 22 0.0 0.0 0 0 ? S< 15:52 0:00 [migration/3]
root 23 0.0 0.0 0 0 ? SN 15:52 0:00 [ksoftirqd/3]
root 24 0.0 0.0 0 0 ? S< 15:52 0:00 [watchdog/3]
root 25 0.0 0.0 0 0 ? S< 15:52 0:00 [events/3]
root 30 0.0 0.0 0 0 ? S< 15:52 0:00 [kblockd/0]
root 31 0.0 0.0 0 0 ? S< 15:52 0:00 [kblockd/1]
root 32 0.0 0.0 0 0 ? S< 15:52 0:00 [kblockd/2]
root 33 0.0 0.0 0 0 ? S< 15:52 0:00 [kblockd/3]
root 34 0.0 0.0 0 0 ? S< 15:52 0:00 [cqueue/0]
root 35 0.0 0.0 0 0 ? S< 15:52 0:00 [cqueue/1]
root 36 0.0 0.0 0 0 ? S< 15:52 0:00 [cqueue/2]
root 37 0.0 0.0 0 0 ? S< 15:52 0:00 [cqueue/3]
root 41 0.0 0.0 0 0 ? S< 15:52 0:00 [khubd]
root 43 0.0 0.0 0 0 ? S< 15:52 0:00 [kseriod]
root 124 0.0 0.0 0 0 ? S 15:52 0:00 [khungtaskd]
root 127 0.0 0.0 0 0 ? S< 15:52 0:00 [kswapd0]
root 128 0.0 0.0 0 0 ? S< 15:52 0:00 [aio/0]
root 129 0.0 0.0 0 0 ? S< 15:52 0:00 [aio/1]
root 130 0.0 0.0 0 0 ? S< 15:52 0:00 [aio/2]
root 131 0.0 0.0 0 0 ? S< 15:52 0:00 [aio/3]
root 261 0.0 0.0 0 0 ? S< 15:52 0:00 [kpsmoused]
root 300 0.0 0.0 0 0 ? S< 15:52 0:00 [kstriped]
root 321 0.0 0.0 0 0 ? S< 15:52 0:00 [ksnapd]
root 344 0.0 0.0 0 0 ? S< 15:52 0:00 [kjournald]
root 366 0.0 0.0 0 0 ? S< 15:52 0:00 [kauditd]
root 394 0.0 0.0 12608 728 ? S<s 15:52 0:00 /sbin/udevd -d
root 777 0.0 0.0 0 0 ? S< 15:52 0:00 [kmpathd/0]
root 778 0.0 0.0 0 0 ? S< 15:52 0:00 [kmpathd/1]
root 779 0.0 0.0 0 0 ? S< 15:52 0:00 [kmpathd/2]
root 780 0.0 0.0 0 0 ? S< 15:52 0:00 [kmpathd/3]
root 781 0.0 0.0 0 0 ? S< 15:52 0:00 [kmpath_handlerd]
root 846 0.0 0.0 0 0 ? S< 15:52 0:00 [kjournald]
root 988 0.0 0.0 0 0 ? S< 15:52 0:04 [loop0]
root 989 0.0 0.0 0 0 ? S< 15:52 0:01 [kjournald]
root 1163 0.0 0.0 27352 856 ? S<sl 15:52 0:00 auditd
root 1165 0.0 0.0 16268 828 ? S<sl 15:52 0:00 /sbin/audispd
root 1204 0.0 0.0 5912 620 ? Ss 15:52 0:00 syslogd -m 0
root 1207 0.0 0.0 3808 432 ? Ss 15:52 0:00 klogd -x
root 1234 0.0 0.0 11624 384 ? Ss 15:52 0:00 irqbalance
root 1262 0.0 0.0 0 0 ? S< 15:52 0:00 [rpciod/0]
root 1263 0.0 0.0 0 0 ? S< 15:52 0:00 [rpciod/1]
root 1264 0.0 0.0 0 0 ? S< 15:52 0:00 [rpciod/2]
root 1265 0.0 0.0 0 0 ? S< 15:52 0:00 [rpciod/3]
root 1296 0.0 0.0 55184 768 ? Ss 15:52 0:00 rpc.idmapd
dbus 1309 0.0 0.0 21260 916 ? Ss 15:52 0:00 dbus-daemon --system
root 1317 0.0 0.0 10436 784 ? Ss 15:52 0:00 /usr/sbin/hcid
root 1323 0.0 0.0 5940 544 ? Ss 15:52 0:00 /usr/sbin/sdpd
root 1352 0.0 0.0 0 0 ? S< 15:52 0:00 [krfcommd]
root 1389 0.0 0.0 21044 1308 ? Ssl 15:52 0:00 pcscd
68 1402 0.0 0.0 30488 3508 ? Ss 15:52 0:00 hald
root 1403 0.0 0.0 21700 1036 ? S 15:52 0:00 hald-runner
root 1424 0.0 0.0 8520 484 ? Ss 15:52 0:00 /usr/bin/hidd --server
root 1447 0.0 0.0 57696 1748 ? Ssl 15:52 0:00 automount
root 1485 0.0 0.0 62628 1208 ? Ss 15:52 0:00 /usr/sbin/sshd
root 1495 0.0 0.0 134088 2612 ? Ss 15:52 0:00 cupsd
root 1525 0.0 0.0 21648 888 ? Ss 15:52 0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
mailnull 1681 0.0 0.0 64336 1084 ? Ss 15:52 0:00 /usr/sbin/exim -bd -q1h
root 1698 0.0 0.8 149416 54128 ? Ss 15:52 0:01 /usr/bin/spamd -d --allowed-ips=127.0.0.1 --pidfile=/var/run/spamd.pid --max
root 1700 0.0 0.8 149888 54032 ? S 15:52 0:06 spamd child
root 1709 0.0 0.0 12412 628 ? Ss 15:52 0:00 /usr/sbin/dovecot
root 1711 0.0 0.0 19924 1100 ? S 15:52 0:00 dovecot-auth
dovecot 1735 0.0 0.0 38944 1824 ? S 15:52 0:00 pop3-login
dovecot 1736 0.0 0.0 38944 1828 ? S 15:52 0:00 pop3-login
dovecot 1737 0.0 0.0 38952 1848 ? S 15:52 0:00 imap-login
dovecot 1738 0.0 0.0 38952 1848 ? S 15:52 0:00 imap-login
root 1764 0.0 0.0 93392 1292 ? Ss 15:52 0:00 pure-ftpd (SERVER)
root 1766 0.0 0.0 91036 968 ? S 15:52 0:00 /usr/sbin/pure-authd -s /var/run/ftpd.sock -r /usr/sbin/pureauth
root 1852 0.0 0.0 74856 1176 ? Ss 15:53 0:00 crond
root 1963 0.0 0.2 90276 13748 ? S 15:53 0:00 cpdavd - accepting connections on 2077 and 2078
root 1981 0.0 0.1 86500 12128 ? S 15:53 0:00 cpsrvd - waiting for connections
root 1991 0.0 0.1 37428 6456 ? S 15:53 0:00 queueprocd - wait to process a task
root 2000 0.0 0.1 43140 7772 ? S 15:53 0:00 tailwatchd
root 2002 0.0 0.0 23332 1984 ? SN 15:53 0:00 cpanellogd - sleeping for logs
avahi 2030 0.0 0.0 24176 1288 ? Ss 15:53 0:00 avahi-daemon: running [varez.local]
avahi 2031 0.0 0.0 23152 340 ? Ss 15:53 0:00 avahi-daemon: chroot helper
root 2055 0.0 0.0 18420 480 ? S 15:53 0:00 /usr/sbin/smartd -q never
root 2058 0.0 0.0 3804 520 xvc0 Ss+ 15:53 0:00 /sbin/agetty xvc0 9600 vt100-nav
named 2129 0.0 0.0 185740 5268 ? Ssl 15:53 0:00 /usr/sbin/named -u named
root 2399 0.0 0.0 94244 3436 ? Ss 15:54 0:00 sshd: root@pts/0
root 2403 0.0 0.0 66104 1528 pts/0 Ss 15:54 0:00 -bash
root 3050 0.0 0.0 0 0 ? S 17:38 0:00 [pdflush]
root 4697 0.0 0.0 0 0 ? S 17:48 0:00 [pdflush]
root 13367 0.0 0.0 94244 3448 ? Ss 18:42 0:00 sshd: root@pts/1
root 13376 0.0 0.0 66104 1492 pts/1 Ss 18:42 0:00 -bash
root 13407 0.0 0.0 12744 1100 pts/1 S+ 18:42 0:02 top
root 14243 0.0 0.0 65972 1280 pts/0 S 18:48 0:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/lib/my
mysql 14281 2.8 2.3 727084 144052 pts/0 Sl 18:48 8:10 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-fil
root 19945 0.0 0.1 93768 7748 ? Ss 16:02 0:00 /usr/sbin/munin-node
root 21186 0.0 0.1 8460 6204 ? S< 23:02 0:00 litespeed (lshttpd)
root 21187 0.0 0.0 1784 408 ? S< 23:02 0:00 httpd (lscgid)
nobody 21188 0.0 0.0 8508 6032 ? S< 23:02 0:00 litespeed (lshttpd)
nobody 21189 0.0 0.1 10188 7664 ? S< 23:02 0:00 litespeed (lshttpd)
mihdl 24271 2.0 0.2 152192 13408 ? S 23:23 0:15 lsphp5
ir 25796 0.0 0.1 94592 9368 ? S 23:33 0:00 lsphp5
sorkhabi 26505 4.3 0.3 108060 24436 ? S 23:36 0:00 lsphp5
sorkhabi 26509 0.0 0.2 90924 13132 ? Ss 23:36 0:00 cpaneld - serving 173.236.127.94
root 26511 0.0 0.0 65636 988 pts/0 R+ 23:36 0:00 ps -aux

mohsen10
March 14th, 2011, 00:45
با دستور زیر ببینید چه سرویس هایی بیش از حد استفاده میشه

top

این خدمت شما.



1 root 15 0 10352 740 620 S 0.0 0.1 0:00.09 init
1500 root 16 0 5912 620 500 S 0.0 0.1 0:00.00 syslogd
1556 root 17 0 17860 808 564 S 0.0 0.2 0:00.00 dovecot
1569 dovecot 18 0 45716 2704 2084 S 0.0 0.5 0:00.00 pop3-login
1570 dovecot 17 0 45716 2704 2084 S 0.0 0.5 0:00.00 pop3-login
1574 dovecot 20 0 45716 2708 2084 S 0.0 0.5 0:00.00 pop3-login
1575 dovecot 22 0 45716 2704 2084 S 0.0 0.5 0:00.00 pop3-login
1577 dovecot 23 0 45716 2708 2084 S 0.0 0.5 0:00.00 pop3-login
1584 dovecot 18 0 45716 2708 2084 S 0.0 0.5 0:00.00 pop3-login
1589 dovecot 24 0 45716 2708 2084 S 0.0 0.5 0:00.00 pop3-login
1590 dovecot 23 0 45716 2708 2084 S 0.0 0.5 0:00.00 pop3-login
1591 dovecot 23 0 45716 2708 2084 S 0.0 0.5 0:00.00 pop3-login
1592 dovecot 24 0 45716 2708 2084 S 0.0 0.5 0:00.00 pop3-login
1593 dovecot 24 0 45716 2704 2084 S 0.0 0.5 0:00.00 pop3-login
1594 dovecot 23 0 45716 2708 2084 S 0.0 0.5 0:00.00 pop3-login
1595 dovecot 17 0 45716 2708 2084 S 0.0 0.5 0:00.00 pop3-login
1596 dovecot 25 0 45716 2708 2084 S 0.0 0.5 0:00.00 pop3-login

---------- Post added at 11:45 PM ---------- Previous post was at 11:44 PM ----------


این کد رو وارد کنید در SSH و قرار بدید ببینیم مشکل از کجاست :

ps -aux

بفرمایید.



[root@server ~]# ps -aux
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.1 10352 740 ? Ss 14:53 0:00 init [3]
root 1500 0.0 0.1 5912 620 ? Ss 14:53 0:00 syslogd -m 0
root 1556 0.0 0.1 17860 808 ? Ss 14:53 0:00 /usr/sbin/dovec
dovecot 1569 0.0 0.5 45716 2704 ? S 14:53 0:00 dovecot/pop3-lo
dovecot 1570 0.0 0.5 45716 2704 ? S 14:53 0:00 dovecot/pop3-lo
dovecot 1574 0.0 0.5 45716 2708 ? S 14:53 0:00 dovecot/pop3-lo
dovecot 1575 0.0 0.5 45716 2704 ? S 14:53 0:00 dovecot/pop3-lo
dovecot 1577 0.0 0.5 45716 2708 ? S 14:53 0:00 dovecot/pop3-lo
dovecot 1584 0.0 0.5 45716 2708 ? S 14:53 0:00 dovecot/pop3-lo
dovecot 1589 0.0 0.5 45716 2708 ? S 14:53 0:00 dovecot/pop3-lo
dovecot 1590 0.0 0.5 45716 2708 ? S 14:53 0:00 dovecot/pop3-lo
dovecot 1591 0.0 0.5 45716 2708 ? S 14:53 0:00 dovecot/pop3-lo
dovecot 1592 0.0 0.5 45716 2708 ? S 14:53 0:00 dovecot/pop3-lo
dovecot 1593 0.0 0.5 45716 2704 ? S 14:53 0:00 dovecot/pop3-lo
dovecot 1594 0.0 0.5 45716 2708 ? S 14:53 0:00 dovecot/pop3-lo
dovecot 1595 0.0 0.5 45716 2708 ? S 14:53 0:00 dovecot/pop3-lo
dovecot 1596 0.0 0.5 45716 2708 ? S 14:53 0:00 dovecot/pop3-lo
dovecot 1597 0.0 0.5 45716 2704 ? S 14:53 0:00 dovecot/pop3-lo
dovecot 1598 0.0 0.5 45716 2708 ? S 14:53 0:00 dovecot/pop3-lo
dovecot 1599 0.0 0.5 45720 2716 ? S 14:53 0:00 dovecot/imap-lo
dovecot 1600 0.0 0.5 45720 2708 ? S 14:53 0:00 dovecot/imap-lo
dovecot 1601 0.0 0.5 45720 2708 ? S 14:53 0:00 dovecot/imap-lo
dovecot 1602 0.0 0.5 45720 2712 ? S 14:53 0:00 dovecot/imap-lo
dovecot 1603 0.0 0.5 45720 2712 ? S 14:53 0:00 dovecot/imap-lo
dovecot 1604 0.0 0.5 45720 2712 ? S 14:53 0:00 dovecot/imap-lo
dovecot 1605 0.0 0.5 45720 2708 ? S 14:53 0:00 dovecot/imap-lo
dovecot 1606 0.0 0.5 45720 2708 ? S 14:53 0:00 dovecot/imap-lo
dovecot 1607 0.0 0.5 45720 2712 ? S 14:53 0:00 dovecot/imap-lo
dovecot 1609 0.0 0.5 45720 2708 ? S 14:53 0:00 dovecot/imap-lo
dovecot 1610 0.0 0.5 45720 2712 ? S 14:53 0:00 dovecot/imap-lo
dovecot 1611 0.0 0.5 45720 2712 ? S 14:53 0:00 dovecot/imap-lo
dovecot 1612 0.0 0.5 45720 2708 ? S 14:53 0:00 dovecot/imap-lo
dovecot 1613 0.0 0.5 45720 2712 ? S 14:53 0:00 dovecot/imap-lo
dovecot 1614 0.0 0.5 45720 2712 ? S 14:53 0:00 dovecot/imap-lo
dovecot 1615 0.0 0.5 45720 2712 ? S 14:53 0:00 dovecot/imap-lo
dovecot 1616 0.0 0.2 15724 1064 ? S 14:53 0:00 dovecot/anvil [
root 1617 0.0 0.2 15852 1080 ? S 14:53 0:00 dovecot/log
root 1619 0.0 0.4 17124 2396 ? S 14:53 0:00 dovecot/config
root 1620 0.0 0.2 62636 1208 ? Ss 14:53 0:00 /usr/sbin/sshd
root 1625 0.0 0.3 18716 1848 ? S 14:53 0:00 dovecot/auth [0
root 1643 0.0 0.2 65908 1368 ? S 14:53 0:00 /bin/sh /usr/bi
mysql 1681 0.0 3.8 141080 19956 ? Sl 14:53 0:00 /usr/sbin/mysql
root 1776 0.0 0.0 1252 216 ? Ss 14:53 0:00 /usr/local/dire
nobody 1793 0.0 0.2 48748 1504 ? Ss 14:53 0:00 /usr/local/dire
mail 1807 0.0 0.2 56884 1196 ? Ss 14:53 0:00 /usr/sbin/exim
nobody 1823 0.0 0.1 48748 752 ? S 14:53 0:00 /usr/local/dire
nobody 1824 0.0 0.1 48748 752 ? S 14:53 0:00 /usr/local/dire
nobody 1830 0.0 0.1 48748 752 ? S 14:53 0:00 /usr/local/dire
nobody 1831 0.0 0.1 48748 752 ? S 14:53 0:00 /usr/local/dire
nobody 1833 0.0 0.1 48748 752 ? S 14:53 0:00 /usr/local/dire
root 1899 0.0 1.4 92696 7660 ? Ss 14:53 0:00 /usr/sbin/httpd
ftp 1908 0.0 0.2 17356 1136 ? Ss 14:53 0:00 proftpd: (accep
root 1916 0.0 0.2 74820 1156 ? Ss 14:53 0:00 crond
apache 1933 0.0 2.9 100776 15280 ? S 14:53 0:00 /usr/sbin/httpd
apache 1934 0.0 2.3 97304 12204 ? S 14:53 0:00 /usr/sbin/httpd
apache 1935 0.0 2.9 100776 15280 ? S 14:53 0:00 /usr/sbin/httpd
apache 1936 0.0 2.9 100552 15228 ? S 14:53 0:00 /usr/sbin/httpd
apache 1937 0.0 1.7 94468 9284 ? S 14:53 0:00 /usr/sbin/httpd
named 3599 0.0 0.7 185188 3692 ? Ssl 14:54 0:00 named -u named
apache 3804 0.0 2.3 97280 12168 ? S 14:54 0:00 /usr/sbin/httpd
root 25832 0.0 0.6 86076 3360 ? Ss 15:11 0:00 sshd: root@pts/
root 25954 0.0 0.3 66044 1596 pts/0 Ss 15:11 0:00 -bash
root 29986 0.0 0.1 65604 1016 pts/0 R+ 15:13 0:00 ps -aux
root 32589 0.0 0.1 13368 672 ? S<s 14:53 0:00 /sbin/udevd -d

Vahid
March 14th, 2011, 00:52
free -m

این دستور هم بزنید

mohsen10
March 14th, 2011, 00:57
free -m

این دستور هم بزنید

از 512 ، 370

Vahid
March 14th, 2011, 00:57
لطفا قرار بدید

mohsen10
March 14th, 2011, 13:49
[root@server ~]# free -m
total used free shared buffers cached
Mem: 512 346 165 0 0 0
-/+ buffers/cache: 346 165
Swap: 0 0 0

mohsen10
March 14th, 2011, 20:46
sorry Up

Vahid
March 14th, 2011, 21:32
شما باید رم وی پی استون رو افزایش بدید