Server Resources Comparing & Question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DOX
    Confirmed User
    • Dec 2002
    • 199

    #1

    Server Resources Comparing & Question

    need some help to compare my server resources with yours.

    there is not enough 1Gb RAM for 150k site, seems to be something wrong... it must be at least 300-400Mb of free RAM, am i right?


    Server: P4 2.4Mhz, 1Gb Ram

    Site: 150-160k/day, main page includes 120 thumbs, trade script+gallery script, also i run several really small sites on this server using 2 trade programs.

    what do u think guys? is this ok or not?
    may big log files eat so huge RAM resources?

    thnx
  • JFPdude
    Confirmed User
    • Jan 2002
    • 4027

    #2
    Dox,

    There are a lot of variables to your question.

    1. how many scripts are you running?

    2. are the scripts php, perl or c?

    3. how much do you have running in your .htaccess file?

    4. Are you sure it's eating up RAM resources or could it be CPU resources?

    Many many other factors in play and not enough information to go on here.

    Comment

    • DOX
      Confirmed User
      • Dec 2002
      • 199

      #3
      also, i have over 100 sleeping & 10 zombie processes, is this too many?

      Comment

      • JFPdude
        Confirmed User
        • Jan 2002
        • 4027

        #4
        Originally posted by DOX
        also, i have over 100 sleeping & 10 zombie processes, is this too many?

        not really

        Comment

        • DOX
          Confirmed User
          • Dec 2002
          • 199

          #5
          Originally posted by JFPdude
          Dox,

          There are a lot of variables to your question.

          1. how many scripts are you running?

          2. are the scripts php, perl or c?

          3. how much do you have running in your .htaccess file?

          4. Are you sure it's eating up RAM resources or could it be CPU resources?

          Many many other factors in play and not enough information to go on here.
          1. i run 4 trade scripts (two of them don't have really small amount of traffic), 2 gallery scripts.

          2. "c" scripts, tm3

          3. .htaccess disabled for my main site.

          4. it's RAM, my server resources is really free.

          Comment

          • mangeli
            Registered User
            • Dec 2003
            • 48

            #6
            Dox,

            What OS are you running on?

            In linux, the kernel is designed to use most of the
            available RAM for buffers and cache. Thus, few systems will have very large numbers in the "free" column on the "Mem:" line of "free" output.
            Mostly those numbers will be high immediately after booting, then drop as you use the disk. It's the "-/+ buffers/cache" numbers that are better indicators of how much RAM is in use.

            If you're running a windows server its another story... ;)
            <table border=0><tr><tdrowspan=3></td><td>Respected since1996</td></tr><tr><td> TRUE 24/7/365Support</td></tr></table>

            Comment

            • DOX
              Confirmed User
              • Dec 2002
              • 199

              #7
              Originally posted by mangeli
              Dox,

              What OS are you running on?

              In linux, the kernel is designed to use most of the
              available RAM for buffers and cache. Thus, few systems will have very large numbers in the "free" column on the "Mem:" line of "free" output.
              Mostly those numbers will be high immediately after booting, then drop as you use the disk. It's the "-/+ buffers/cache" numbers that are better indicators of how much RAM is in use.

              If you're running a windows server its another story... ;)

              it's Unix FreeBSD

              Comment

              • goBigtime
                Confirmed User
                • Nov 2002
                • 7761

                #8
                run "top" and see what is hanging around a the top there... see if anything is persistent that might be causing the delays.

                Look at your httpd.conf file.... what is MaxClients set at?

                Type sockstat and see what other services/ports you have open..

                vmstat -w 1 will help you look at your virtural memory use

                Comment

                Working...