Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-05-12, 17:20:40

Author Topic: vps sering overload  (Read 5059 times)

0 Members and 1 Guest are viewing this topic.

Offline irawanto29

  • Junior Member
  • *
  • Posts: 20
  • Karma: +0/-0
    • View Profile
vps sering overload
« on: 2014-01-12, 15:58:40 »
akhir2 ini vps sering overload, kenapa ya pak?

Code: [Select]
top - 04:57:38 up 2 days,  5:55,  2 users,  load average: 3.34, 3.16, 3.24
Tasks: 318 total,   1 running, 317 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.2%us,  0.2%sy,  0.0%ni, 49.8%id, 49.3%wa,  0.0%hi,  0.0%si,  0.5%st
Mem:   1028152k total,   999836k used,    28316k free,   126768k buffers
Swap:  2097144k total,     2456k used,  2094688k free,   426324k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 2004 root      20   0  2836 1240  868 R  0.7  0.1   0:00.16 top
    1 root      20   0  2920  540  388 S  0.0  0.1   0:01.35 init
    2 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kthreadd
    3 root      RT   0     0    0    0 S  0.0  0.0   0:05.91 migration/0
    4 root      20   0     0    0    0 S  0.0  0.0   0:05.87 ksoftirqd/0
    5 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 migration/0
    6 root      RT   0     0    0    0 S  0.0  0.0   0:02.34 watchdog/0
    7 root      RT   0     0    0    0 S  0.0  0.0   0:05.03 migration/1
    8 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 migration/1
    9 root      20   0     0    0    0 S  0.0  0.0   0:03.34 ksoftirqd/1
   10 root      RT   0     0    0    0 S  0.0  0.0   0:02.23 watchdog/1
   11 root      20   0     0    0    0 S  0.0  0.0   0:23.27 events/0
   12 root      20   0     0    0    0 S  0.0  0.0   0:23.01 events/1
   13 root      20   0     0    0    0 S  0.0  0.0   0:00.00 cgroup
   14 root      20   0     0    0    0 S  0.0  0.0   0:00.00 khelper
   15 root      20   0     0    0    0 S  0.0  0.0   0:00.00 netns
   16 root      20   0     0    0    0 S  0.0  0.0   0:00.00 async/mgr

padahal RAM ny masih banyak

Code: [Select]
[root@~]# free -m
             total       used       free     shared    buffers     cached
Mem:          1004        985         18          0         26        579
-/+ buffers/cache:        379        624
Swap:         2047          2       2045

wktu buka web jadi ny time out terus.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: vps sering overload
« Reply #1 on: 2014-01-13, 06:25:16 »
%wa cukup tinggi. Artinya waktu tunggu untuk proses I/O cukup lama. Kemungkinan ada gangguan pada HDD sendiri.

Jika pakai KVM/Xen, coba jalankan 'sh /script/clearcache3; sh /script/restart-all' secara periodik (per-hari) melalui cron-task di panel.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline irawanto29

  • Junior Member
  • *
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: vps sering overload
« Reply #2 on: 2014-01-13, 12:18:46 »
ok pak  :)

Virtualization Type = Xen PV

ada :
sh /script/clearcache
sh /script/clearcache1
sh /script/clearcache2
sh /script/clearcache3

bedanya apa ya pak?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: vps sering overload
« Reply #3 on: 2014-01-13, 12:43:04 »
Ya coba saja 'sh /script/clearcache' dan anda akan tahu apa bedanya.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline irawanto29

  • Junior Member
  • *
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: vps sering overload
« Reply #4 on: 2014-01-13, 13:14:16 »
sdh paham sekarang pak

penjelasan agak detail ada di sini =
http://eduard.linux.edu/drop-clean-caches-dentries-and-inodes-from-memory/

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.039 seconds with 22 queries.

web stats analysis