#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2003
    Posts
    125
    Rep Power
    12

    I really really need help, serverloads 60+, few visitors, host clueless


    We have ongoing issues with our server for a long time. Experts are telling me it is a good server, we have little traffic (getting less and less this way).

    6GB of RAM
    CPU: Intel(R) Xeon(TM) CPU 3.00GHz (3000.12-MHz K8-class CPU)
    Logical CPUs per core: 2
    FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs


    Sample output of TOP:

    Anything we can derive from that?

    PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
    6763 if2 1 112 0 84040K 35032K RUN 2 0:03 10.11% httpd
    6758 if2 1 112 0 83300K 34280K RUN 0 0:03 9.86% httpd
    6733 if2 1 111 0 83008K 34016K RUN 0 0:03 9.81% httpd
    4936 if2 1 111 0 102M 50896K RUN 0 0:35 9.42% httpd
    6737 if2 1 111 0 84404K 35424K RUN 0 0:04 9.03% httpd
    6759 if2 1 112 0 83964K 34952K RUN 2 0:03 8.98% httpd
    6764 if2 1 112 0 84784K 35784K CPU2 0 0:04 8.93% httpd
    5181 if2 1 112 0 132M 81432K RUN 0 0:28 8.54% httpd
    6445 if2 1 113 0 96500K 47520K RUN 0 0:12 8.45% httpd
    6760 if2 1 112 0 85856K 36844K RUN 0 0:04 8.19% httpd
    5147 if2 1 112 0 90008K 36784K RUN 0 0:19 8.11% httpd
    5169 if2 1 112 0 122M 71868K RUN 0 0:25 7.08% httpd
    5170 if2 1 112 0 97744K 44640K RUN 0 0:23 6.88% httpd
    6765 if2 1 20 0 97932K 49144K lockf 0 0:02 3.58% httpd
    4924 if2 1 113 0 177M 116M RUN 0 0:26 2.73% httpd
    5179 if2 1 113 0 132M 81364K RUN 0 0:24 2.69% httpd
    6490 if2 1 20 0 102M 55676K lockf 0 0:14 2.69% httpd
    6832 if2 1 111 0 74816K 25788K RUN 0 0:01 2.66% httpd
    4918 if2 1 113 0 144M 86508K RUN 0 0:16 2.64% httpd
    6491 if2 1 113 0 147M 99948K RUN 0 0:14 2.29% httpd
    4915 if2 1 113 0 150M 97580K RUN 0 0:20 2.25% httpd
    4934 if2 1 113 0 129M 83960K RUN 0 0:17 2.20% httpd
    6836 if2 1 112 0 74696K 25672K RUN 2 0:01 2.16% httpd
    5173 if2 1 113 0 150M 98460K RUN 0 0:25 2.15% httpd
    4919 if2 1 113 0 155M 93148K RUN 0 0:17 2.15% httpd
    4933 if2 1 113 0 147M 83940K RUN 0 0:35 2.10% httpd
    6833 if2 1 111 0 74268K 25180K RUN 0 0:01 1.96% httpd
    4935 if2 1 112 0 185M 130M RUN 0 0:35 1.95% httpd
    5148 if2 1 112 0 195M 131M RUN 0 0:24 1.95% httpd
    5146 if2 1 4 0 102M 52056K sbwait 0 0:13 1.71% httpd
    6837 if2 1 111 0 74268K 25128K RUN 0 0:01 1.71% httpd
    6834 if2 1 108 0 64260K 15156K RUN 0 0:00 0.10% httpd
    6841 if2 1 108 0 63344K 13964K select 0 0:00 0.05% httpd
    4930 if2 1 4 0 132M 81972K sbwait 0 0:40 0.00% httpd
    3603 if2 1 -20 0 132M 57508K swread 0 0:38 0.00% httpd
    3591 if2 1 -20 0 103M 33200K swread 0 0:29 0.00% httpd
    4055 if2 1 -20 0 147M 73296K swread 0 0:25 0.00% httpd
    4060 if2 1 -20 0 151M 77132K swread 0 0:24 0.00% httpd
    4042 if2 1 -20 0 143M 75548K swread 0 0:23 0.00% httpd
    4104 if2 1 -20 0 105M 35972K swread 0 0:22 0.00% httpd
    4115 if2 1 -20 0 142M 78652K swread 0 0:21 0.00% httpd
    4041 if2 1 -20 0 146M 77152K swread 0 0:21 0.00% httpd
    4109 if2 1 -20 0 149M 76880K swread 0 0:20 0.00% httpd
    4116 if2 1 -20 0 102M 32112K swread 0 0:18 0.00% httpd
    4317 if2 1 -20 0 132M 64480K swread 0 0:17 0.00% httpd
    4404 if2 1 -20 0 103M 36496K swread 0 0:17 0.00% httpd
    4376 if2 1 -20 0 103M 36680K swread 0 0:17 0.00% httpd
    4408 if2 1 -20 0 104M 36908K swread 0 0:17 0.00% httpd
    4118 if2 1 -20 0 148M 74736K swread 0 0:17 0.00% httpd
    4411 if2 1 -20 0 104M 36696K swread 0 0:17 0.00% httpd
    4414 if2 1 -20 0 104M 36388K swread 0 0:17 0.00% httpd
    4390 if2 1 -20 0 103M 35048K swread 0 0:17 0.00% httpd
    4396 if2 1 -20 0 105M 36000K swread 0 0:17 0.00% httpd
    4389 if2 1 -20 0 104M 34072K swread 0 0:16 0.00% httpd

    If ANYbody could help us in the right direction, that'd be golden!
  2. #2
  3. No Profile Picture
    Lost in code
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 2004
    Posts
    8,317
    Rep Power
    7170
    If you have more active HTTPD processes than visitors it might indicate that your application code is doing something dumb like connecting to itself over HTTP.

    One of the more common problems I see is someone who triggers 404 errors on their 404 page (by linking to non-existent images/scripts/stylesheets).
    PHP FAQ

    Originally Posted by Spad
    Ah USB, the only rectangular connector where you have to make 3 attempts before you get it the right way around
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2010
    Posts
    20
    Rep Power
    0
    Try to activate status module in additional config files - this way you will see the requests which are bombing your server

IMN logo majestic logo threadwatch logo seochat tools logo