رتبه موضوع:
  • 0 رای - 0 میانگین
  • 1
  • 2
  • 3
  • 4
  • 5
استفاده پیش از حد منابع
#1
سلام

یک سرور VPS به یک مشکلی برخورده که در ساعاتی منابع زیادی از سرور مصرف می کنه و Ram و Swap خیلی مصرف می کنه، از برنامه هم فکر نمی کنم باشه چون هنوز بازدید زیادی نداره .

پیام زیر در Direct Admin نمایش داده میشه.

This is an automated message notifying you that the 5 minute load average on your system is 110.09.
This has exceeded the 10 threshold.

One Minute      - 123.07
Five Minutes    - 110.09
Fifteen Minutes - 60.28

top - 19:52:40 up  3:49,  0 users,  load average: 104.29, 107.39, 62.49
Tasks: 411 total,   1 running, 406 sleeping,   0 stopped,   4 zombie
Cpu(s):  2.6%us,  1.7%sy,  0.0%ni, 88.9%id,  6.7%wa,  0.0%hi,  0.0%si,  0.1%st
Mem:   1922360k total,  1869316k used,    53044k free,     4384k buffers
Swap:   511992k total,   490836k used,    21156k free,   424152k cached

 PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
15763 fruser 20   0  197m  12m 6572 D  3.9  0.7   0:00.09 /usr/local/php5/bin/php-cgi /home/fruser/domains/301030.ir/public_html/index.php                                                                                                                                                                                                                                                                                                                                                                                                                                                 
15764 fruser 20   0  197m  12m 6564 D  3.9  0.7   0:00.10 /usr/local/php5/bin/php-cgi /home/fruser/domains/301030.ir/public_html/index.php                                                                                                                                                                                                                                                                                                                                                                                                                                                 
15765 fruser 20   0  195m  11m 6140 D  1.9  0.6   0:00.10 /usr/local/php5/bin/php-cgi /home/fruser/domains/301030.ir/public_html/index.php                                                                                                                                                                                                                                                                                                                                                                                                                                                 
15783 root      20   0 15292 1448  860 R  1.9  0.1   0:00.02 /usr/bin/top -c -b -n 1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
   1 root      20   0 19232  908  772 S  0.0  0.0   0:00.43 /sbin/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:00.14 [migration/0]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
   4 root      20   0     0    0    0 S  0.0  0.0   0:00.11 [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:00.24 [watchdog/0]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
   7 root      RT   0     0    0    0 S  0.0  0.0   0:00.18 [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:00.05 [ksoftirqd/1]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
  10 root      RT   0     0    0    0 S  0.0  0.0   0:02.19 [watchdog/1]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
  11 root      20   0     0    0    0 S  0.0  0.0   0:01.44 [events/0]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
  12 root      20   0     0    0    0 S  0.0  0.0   0:00.94 [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]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
  17 root      20   0     0    0    0 S  0.0  0.0   0:00.00 [pm]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
  18 root      20   0     0    0    0 S  0.0  0.0   0:02.12 [sync_supers]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
  19 root      20   0     0    0    0 S  0.0  0.0   0:00.06 [bdi-default]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      


================================
Automated Message Generated by DirectAdmin


مشکل از چی میتونه باشه ؟

ممکنه یکی روبات نوشته باشه برای پیمایش سایت ؟
پاسخ
تشکر شده توسط:
#2
بهتره موضوع رو به پشتیبان فنی سرور اطلاع دهید.
...
پاسخ
تشکر شده توسط: afshin
#3
(18-05-1394، 10:55 ق.ظ)MRPM نوشته: بهتره موضوع رو به پشتیبان فنی سرور اطلاع دهید.

اطلاع دادم میگن به دلیل استفاده بیش از حد fruser از ram و swap می باشد و دلیل هم کلی گفتند که میتونه به خاطر حملات DOS ، mysql یا کدبرنامه باشه.

من mysql یک event داشت حذف کردم، جالب اینه که وقتی هم بازدیدی از سایت نیست با این حال سایت دان میشه .
پاسخ
تشکر شده توسط:
#4
اگر اسکریپت نال شده استفاده میکنید احتمال زیادی وجود دارد که اسپم ایمیل یا چیزی مثل این داخلش باشه، حتما با یک اسکنر خوب مثل acounetix اسکن کنین سایت رو که آلوده نباشه، این مشکل اکثرا در اسکیپت های نال شده وجود دارد.
_____________________
از دیروز بیاموز. برای امروز زندگی کن و امید به فردا داشته باش. (آلبرت انیشتن)
پاسخ
تشکر شده توسط:
#5
(27-05-1394، 01:51 ق.ظ)arashanvari نوشته: اگر اسکریپت نال شده استفاده میکنید احتمال زیادی وجود دارد که اسپم ایمیل یا چیزی مثل این داخلش باشه، حتما با یک اسکنر خوب مثل acounetix اسکن کنین سایت رو که آلوده نباشه، این مشکل اکثرا در اسکیپت های نال شده وجود دارد.

نه، برنامه با yii پیاده سازی نوشته شده است.
پاسخ
تشکر شده توسط:
#6
لاگ وب سرور رو بذارید اینجا بررسی کنیم
_____________________
از دیروز بیاموز. برای امروز زندگی کن و امید به فردا داشته باش. (آلبرت انیشتن)
پاسخ
تشکر شده توسط:




کاربران در حال بازدید این موضوع: 1 مهمان