Welcome to Geeklog, Anonymous Tuesday, November 10 2026 @ 07:30 pm EST

Geeklog Forums

Number of stories in past 24 hours


Chuck

Anonymous
We've been using Geeklog for a high traffic site for several years. This past week we went over the 33,000 story mark.

We are using a slightly older version of Geeklog, which I was hoping to upgrade this week. But a few days ago the counter broke for the notice that says "x number of stories in the past 24 hours." It now says that we've posted over 330 stories in the past 24 hours. Where is this number configured in the software or database. It's weird that this would go weird for no reason.

Chuck
 Quote

Status: offline

1000ideen

Forum User
Full Member
Registered: 08/04/03
Posts: 1298
Are you sure there were no 330 stories in 24 hours, no spam attack?

Did you change this setting $_CONF['newstoriesinterval'] to see what happens?
 Quote

Chuck

Anonymous
There has been some story spam in the past 24 hours, but not at those numbers.

I haven't checked the thing you mentioned, but we haven't made any changes to our setup recently.
 Quote

Status: offline

1000ideen

Forum User
Full Member
Registered: 08/04/03
Posts: 1298
I`m not really an expert on this detail. Just wait a few hours and someone else will help you. :kickcan:
 Quote

Chuk

Anonymous
caffeinated
Are there any developers around who can answer this simple question?

Can anybody tell me where the number of new stories in a given time period is stored? Is this being tucked away into some corner of the database? Is the code computing this figure based on timestamps?

Chuck
 Quote

Status: offline

1000ideen

Forum User
Full Member
Registered: 08/04/03
Posts: 1298
I think it is the timestamp as you can change the time in the variable $_CONF['newstoriesinterval']. What is you normal amount of stories within 24h?

As for me there is the question if 33000 stories means any problems. This is pretty high and I wonder if anybody ever tested this before. I remember there was a sudden problem with 1001 comments some time ago.

Are you using badbehavior plugin agains spam attacks?

Is there anything in the error.log ?
 Quote

Chuck

Anonymous
Which file is this variable in? I've looked in the config file and haven't seen it there.

Our site normally posts between 12-22 stories in any 24 hour period.

Yes, our site has over 33,000 stories. We run a popular news site which gets so much traffic that we have to use two servers. Geeklog is generally very reliable.

We haven't upgraded in two years, so that might be a problem.

We're running Bad Behavior.
 Quote

Status: offline

1000ideen

Forum User
Full Member
Registered: 08/04/03
Posts: 1298
Quote by: Chuck

Which file is this variable in? I've looked in the config file and haven't seen it there.

Yes, it should be there in config.php

What version of GL is it? Is the counter the only problem so far?
 Quote

Chuck

Anonymous
We're running 1.4.1.

The only problems we see on a regular basis are related to spammers.

It's possible that our problem is caused by a fault clock on the host server. I've noticed that the time stamps on several recent stories didn't reflect the actual time they were posted. But then I looked at the timestamps on the stories in the database and there aren't 400 stories with a timestamp from the past 24 hours.

Thanks!

Chuck
 Quote

Status: offline

1000ideen

Forum User
Full Member
Registered: 08/04/03
Posts: 1298
O.k., looks as if you are on the right way.

Anyway, geeklog is always looking for good show case examples. Your site seems to be big. Maybe you want to write the url to me by email? Use the buttons below. :shakehands:
 Quote

All times are EST. The time is now 07:30 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content