User Support & Resources Account Problems | Questions | Suggestions

accidently deleted someone elses thread?

Thread Tools
 
Search this Thread
 
Old 02-24-2006, 08:15 AM
  #1  
TECH Resident
Thread Starter
iTrader: (8)
 
Cyborg's Avatar
 
Join Date: Jul 2004
Location: Lee County, FL
Posts: 895
Likes: 0
Received 0 Likes on 0 Posts

Default accidently deleted someone elses thread?

I think I might have accidently deleted someone elses thread? I posted to it, I was the first to reply. When I submitted the post it showed up as Post #1, not post #2...even though I was replying...So I deleted my post and I think it might have deleted the thread, that belonged to someone else.
Old 02-24-2006, 08:58 AM
  #2  
9 Second Club
iTrader: (15)
 
Nautilus's Avatar
 
Join Date: Nov 2002
Location: VT/SC
Posts: 3,132
Likes: 0
Received 0 Likes on 0 Posts

Default

It was my thread... and after it was deleted.... it wouldn't let me post for like 20 mins... I kept getting a message saying something like " You are not allowed to post new threads every 10 sec"
Old 02-24-2006, 09:46 AM
  #3  
777
TECH Senior Member
iTrader: (21)
 
777's Avatar
 
Join Date: Jun 2004
Location: Jacksonville, FL
Posts: 6,697
Likes: 0
Received 1 Like on 1 Post

Default

That's very wierd. I've seen quite a few wierd things like that here lately. Just read that someone replied to someone's post 30 minutes before it was even posted
Old 02-24-2006, 09:52 AM
  #4  
9 Second Club
iTrader: (15)
 
Nautilus's Avatar
 
Join Date: Nov 2002
Location: VT/SC
Posts: 3,132
Likes: 0
Received 0 Likes on 0 Posts

Default

Originally Posted by 777
That's very wierd. I've seen quite a few wierd things like that here lately. Just read that someone replied to someone's post 30 minutes before it was even posted

That was the problem here... when I posted my thread it said it was posted @ 9:30... but It was only like 8:45.... So when cyborg posted... his reply was posted before mine so when he deleted it it deleted the whole thing... I think brains fixed the problem though

Originally Posted by Brains
The time on one of the servers was out of sync ... I fixed it
Old 02-24-2006, 10:20 AM
  #5  
TECH Senior Member
iTrader: (7)
 
Brains's Avatar
 
Join Date: Jan 2002
Location: Katy, TX
Posts: 12,754
Likes: 0
Received 0 Likes on 0 Posts
Default

I wish vBulletin was written to use the SQL server's clock for posts, that way all posts would be in order no matter which of the three servers the user happened to be on... Any time the clocks get out of sync for any reason, this type of stuff can happen.

So, guess that just means I'll have to hack the code some more
Old 02-24-2006, 12:14 PM
  #6  
On The Tree
 
kidkl's Avatar
 
Join Date: Jun 2004
Posts: 101
Likes: 0
Received 0 Likes on 0 Posts
Default

Not trying to stir anything but I am assuming this is linux... why not run ntpd on all the servers too keep the clocks synced with the atomic clock?
Old 02-24-2006, 01:01 PM
  #7  
TECH Senior Member
iTrader: (7)
 
Brains's Avatar
 
Join Date: Jan 2002
Location: Katy, TX
Posts: 12,754
Likes: 0
Received 0 Likes on 0 Posts
Default

They sync every 60 minutes already -- but -- we get a lot of posts in 60 minutes

Not to mention, occasionally the cron job runs and the time server is either unavailable or times out and you miss the update.
Old 02-24-2006, 01:55 PM
  #8  
On The Tree
 
kidkl's Avatar
 
Join Date: Jun 2004
Posts: 101
Likes: 0
Received 0 Likes on 0 Posts
Default

If you run ntpd and you tell it in the config to create a drift file it will eventually learn the amount that each clock skews by and then try to automatically correct it to keep it more insync. I have seen on some servers running vb or phpbb where at times the server load is well over 150 but I have never seen one of those servers that while running ntpd get the system time off by more than a few seconds.

One thing that you may want to try is (from your post it sound like you have 3 webserver and 1 db server or db server cluster) syncing all of the webserver clocks to the database server and the database servers clock to the atomic clock. If the db server is not publicly accessable you could try syncing all the webserver clocks to one server and then sync that one server to the atomic clock. Either way I would Imagine that it would be hard for the server times to get over 45 minutes out of whack from each other.

One thing I noticed is that you said you have a cronjob syncing the server times, ntpd should be ran as a daemon so that it is always running and adjusting the server time.

Anyway, I dont mean to come off as telling you how you should run your setup. Because, to be honest this is one of the better forum implementations that I have seen.
Old 02-24-2006, 02:48 PM
  #9  
TECH Senior Member
iTrader: (7)
 
Brains's Avatar
 
Join Date: Jan 2002
Location: Katy, TX
Posts: 12,754
Likes: 0
Received 0 Likes on 0 Posts
Default

Why **** around with all that, when you can just use INSERT ..... UNIX_TIMESTAMP() instead of INSERT ... $SomeObscurePHPTimeVariable ... ? IMHO that's how it should have been written in the first place. That's the way every other enterprise multi-server software package that I've seen is written.. Do you think banks could get away with inserting the local station time into the database and be able to maintain accurate accounting?

I daemonize as few extraneous processes as possible -- if you run an extremely high-load server, you should too Granted, ntpd is pretty lightweight, but the less running the better. An hourly clock sync is fine, because if your clock drifts more than that, you have serious hardware problems. The issue this morning was when the server was restarted (which is rare unto itself, but I digress) the clock ended up being about an hour off.
Old 02-24-2006, 03:58 PM
  #10  
On The Tree
 
kidkl's Avatar
 
Join Date: Jun 2004
Posts: 101
Likes: 0
Received 0 Likes on 0 Posts
Default

Of course using the database server time would be prefered (sometimes you ever think WTF was that guy thinking when he programmed it that way?).

The only reason why I brought up ntpd was becuase, wihtout knowing the server was rebooted, the clock seemed to get way off way quick, which would either be a hardware bug (but you would have issues with other apps since the linux system time is a counter running in realtime and not based off the bios clock at all) or in some cases a kernel bug.

Either way the fact that you have a vb forum supporting this many users with the good response times is a testimante to yours and the other administrators knowledge and skill.
Old 02-24-2006, 06:28 PM
  #11  
ACW
TECH Veteran
 
ACW's Avatar
 
Join Date: Dec 2004
Location: Beaumont, TX
Posts: 4,012
Likes: 0
Received 1 Like on 1 Post
Default

Nautilus and/or Cyborg -- post up what forum the thread was in, and what its title was. Then I'll un-delete it, and remove Cyborg's unwanted post without the thread being deleted.
Old 02-24-2006, 07:15 PM
  #12  
9 Second Club
iTrader: (15)
 
Nautilus's Avatar
 
Join Date: Nov 2002
Location: VT/SC
Posts: 3,132
Likes: 0
Received 0 Likes on 0 Posts

Default

Too late... I waited until brains fixed the time & then I reposted the thread... so we don't need the old one back. Cyborg was the first person to post so we only lost his reply... For reference.. it was called something like "Our new service truck..." and was in the eastern section... Thanks anyway
Old 02-24-2006, 08:21 PM
  #13  
ACW
TECH Veteran
 
ACW's Avatar
 
Join Date: Dec 2004
Location: Beaumont, TX
Posts: 4,012
Likes: 0
Received 1 Like on 1 Post
Default

Originally Posted by Nautilus
Too late... I waited until brains fixed the time & then I reposted the thread... so we don't need the old one back. Cyborg was the first person to post so we only lost his reply... For reference.. it was called something like "Our new service truck..." and was in the eastern section... Thanks anyway
Ah, okay

(That is a big truck, btw! )



Quick Reply: accidently deleted someone elses thread?



All times are GMT -5. The time now is 01:39 AM.