The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Hotlink Problem Momery Used +80%

Discussion in 'General Discussion' started by soul3, Aug 3, 2008.

  1. soul3

    soul3 Member

    Joined:
    Mar 13, 2008
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I have got the problem that before 3 days some body who's site traffic is very high hotlink some images from my site which cause my server memory and bandwidth using too much due to that my server not working properly and extreme slow.

    I have then immediately protect the Hotlink after that my bandwidth is not using more but the images which he has hotlink their request are coming too much and continued and my server still busy on that request and due to that server memory is still using too much.

    I have checked it from top command and cpanel and apache status here I have found that Nobody user are hitting too much and using my server memory on alarming stage in cpanel CPU/Memory/MySQL Usage shows nobody used +90% memory. I have also checked it on top command nobody user PID and I have match it with the apache status from cpanel then I have come to know that the request are coming from same site for hotlink images and these are using my server memory too much.

    I have also block that site from htaccess but still these requesting coming continually.

    Now my bandwidth is using normally but memory is still using very +80% much after doing all these action mentioned above. So, kindly tell me how can I block
    the requests coming from the site who hotlink images so that I can control my server memory to normal position.

    Following are my top command and server information.
    Intel(R) Xeon(R) CPU 1.86GHz with 1 GB Ram
    WHM 11.23.2 cPanel 11.23.4
    CENTOS Enterprise 5.2 i686
    Server Version: Apache/2.0.63
    Php 5.2
    msql 4.1

    top - 19:19:18 up 1 day, 4:13, 1 user, load average: 0.11, 0.33, 0.34
    Tasks: 557 total, 2 running, 555 sleeping, 0 stopped, 0 zombie
    Cpu(s): 4.6%us, 0.5%sy, 0.0%ni, 94.2%id, 0.7%wa, 0.0%hi, 0.0%si, 0.0%st
    Mem: 1033788k total, 1010136k used, 23652k free, 17328k buffers
    Swap: 2096472k total, 139776k used, 1956696k free, 276248k cached

    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    2457 mysql 17 0 294m 138m 2356 S 1 13.7 59:40.07 mysqld
    10772 nobody 15 0 36136 19m 3836 S 0 1.9 0:00.85 httpd
    10787 nobody 15 0 36120 19m 3824 S 0 1.9 0:00.92 httpd
    11346 nobody 18 0 36244 19m 3788 S 0 1.9 0:00.65 httpd
    10824 nobody 15 0 36140 19m 3816 S 0 1.9 0:01.06 httpd
    11236 nobody 15 0 35868 19m 3892 S 0 1.9 0:01.06 httpd
    10900 nobody 15 0 35012 18m 4200 S 0 1.8 0:01.19 httpd
    11228 nobody 16 0 35464 18m 3796 S 3 1.8 0:00.87 httpd
    10768 nobody 15 0 34760 18m 4148 S 0 1.8 0:01.16 httpd
    10769 nobody 15 0 34996 18m 3840 S 0 1.8 0:00.91 httpd
    11239 nobody 15 0 34884 18m 3796 S 0 1.8 0:00.72 httpd
    11403 nobody 15 0 34468 18m 4204 S 0 1.8 0:00.52 httpd
    11367 nobody 15 0 34992 18m 3780 S 0 1.8 0:00.42 httpd
    10803 nobody 15 0 34604 17m 3868 S 0 1.8 0:01.38 httpd
    11379 nobody 15 0 34680 17m 3844 S 0 1.8 0:00.45 httpd
    10877 nobody 15 0 34644 17m 3848 S 0 1.8 0:00.41 httpd
    11314 nobody 15 0 34504 17m 3880 S 0 1.8 0:00.78 httpd
    11354 nobody 15 0 34508 17m 3856 S 0 1.8 0:00.95 httpd
    10795 nobody 15 0 34484 17m 3848 S 0 1.8 0:00.67 httpd
    10780 nobody 15 0 34384 17m 3856 S 0 1.7 0:00.64 httpd
    11240 nobody 15 0 34424 17m 3844 S 0 1.7 0:00.65 httpd
    10861 nobody 16 0 34520 17m 3992 S 0 1.7 0:00.37 httpd
    11463 nobody 15 0 33992 17m 4184 S 0 1.7 0:00.56 httpd
    11466 nobody 15 0 34520 17m 3628 S 0 1.7 0:00.27 httpd
    11370 nobody 15 0 34300 17m 3820 S 0 1.7 0:00.64 httpd
    11192 nobody 19 0 34456 17m 3664 S 0 1.7 0:00.67 httpd
    11369 nobody 15 0 34468 17m 3648 S 0 1.7 0:00.35 httpd
    11242 nobody 15 0 34240 17m 3872 S 0 1.7 0:00.54 httpd
    11337 nobody 15 0 34444 17m 3636 S 0 1.7 0:00.28 httpd
    10895 nobody 18 0 34316 17m 3816 S 0 1.7 0:01.24 httpd
    10915 nobody 15 0 34208 17m 3828 S 0 1.7 0:00.94 httpd
    10897 nobody 15 0 34180 17m 3872 S 0 1.7 0:01.03 httpd
    10754 nobody 15 0 34208 17m 3848 S 0 1.7 0:00.73 httpd
    11294 nobody 15 0 33952 17m 4120 S 0 1.7 0:00.87 httpd
    11311 nobody 15 0 34236 17m 3812 S 0 1.7 0:00.45 httpd
    11356 nobody 15 0 34188 17m 3852 S 0 1.7 0:00.66 httpd

    Please help me.
     
  2. qwidjib0

    qwidjib0 Member
    PartnerNOC

    Joined:
    Aug 3, 2005
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Chicago, Illinois
Loading...

Share This Page