A warning about Repetitive Monkeys Sig Counter.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • - Jesus Christ -
    Confirmed User
    • Mar 2003
    • 7197

    #1

    A warning about Repetitive Monkeys Sig Counter.

    You should not use it on a server that has a PHP cache/optimizer enabled. The fact that the data is stored in the actual PHP file will cause the cache/optimizer to keep reoptimizing and caching the file every time it is hit.... This will still work but On my server with the latest version of Turck mmcache it was casuing the cache to waste memory and eat a LOT of CPU. HTTP would spike to 99.9% CPU usage every time I hit the file a few times rapidly.

    So I would reccomend a SEPERATE txt file to store the hit/click count. (its generally a bad Idea to have a self contained data/script file in any case)

    Still a cool script though, just thought people should know that it can casue problems with cache/optimization software in its current state.

    Amen
  • Repetitive Monkey
    Confirmed User
    • Feb 2004
    • 3505

    #2
    I could change it to a seperate flatfile in 5 secs, I just wanted to keep it as simple as possible so that I wouldn't have to give support all day, seeing as this is a free for all script in a forum with a lot of newbies. lol

    Comment

    • 4Pics
      Confirmed User
      • Dec 2001
      • 7952

      #3
      seems to work fine on my server, with zend installed...

      Comment

      • NaughtyJenn
        Confirmed User
        • Apr 2003
        • 7355

        #4
        seems to be fine here but thanks for the heads up!

        Comment

        • eroswebmaster
          March 1st, 2003
          • Jul 2001
          • 20295

          #5
          I count my sig views by hand..my brain's cpu is 99.9%
          For rent - ICQ 127-027-910
          Click here for more details

          Comment

          • Repetitive Monkey
            Confirmed User
            • Feb 2004
            • 3505

            #6
            If the siggy people at large want the script to have a seperate database I'll change it over right now.

            Comment

            • - Jesus Christ -
              Confirmed User
              • Mar 2003
              • 7197

              #7
              Originally posted by 4Pics
              seems to work fine on my server, with zend installed...
              I'm not saying it doesnt work, but it re-optimizes then caches the code over and over again every hit becasue the contents of the file change every time.

              ITs not gonna bring your server to a grinding halt...... But it shure as hell eats a LOT more cpu than you would want for a hit tracker.

              Amen

              Comment

              Working...