Free Republic
Browse · Search
News/Activism
Topics · Post Article

To: don-o
"What about 3 or 4 live threads - identified as such? Maybe spread the load?"

Well, we can give it a try. If there’s a chance that hundreds of people trying to post to the same thread at the same time is causing a deadlock on the db, it’s worth a shot to try to split the load. John says the load avg on the web server was low, the cpu’s were not busy and the db sever was mostly idle last time, but we couldn’t get any throughput. Could be a logjam in the db caused by record locks making it hard to get anything in or out.

259 posted on 10/16/2012 4:42:24 PM PDT by Jim Robinson (Resistance to tyrants is obedience to God!!)
[ Post Reply | Private Reply | To 62 | View Replies ]


To: Jim Robinson

Fr has the same problems that all threads have when something big is going on..it gets slammed.
BTW, do images, pictures have an effect on slowing down a thread or is that irrelevant?


273 posted on 10/16/2012 4:47:45 PM PDT by Recovering Ex-hippie
[ Post Reply | Private Reply | To 259 | View Replies ]

To: Jim Robinson

Let’s give it a try.

Start another one, Jim.

Nobody will dare to complain if it’s your duplicate.

Well, on second thought....LOLOLOL.


292 posted on 10/16/2012 4:53:20 PM PDT by onyx (FREE REPUBLIC IS HERE TO STAY! DONATE MONTHLY! IF YOU WANT ON SARAH PALIN''S PING LIST, LET ME KNOW)
[ Post Reply | Private Reply | To 259 | View Replies ]

To: Jim Robinson

Are you sure they are all live ? lol


296 posted on 10/16/2012 4:54:29 PM PDT by ATOMIC_PUNK (Any man may make a mistake ; none but a fool will persist in it . { Latin proverb })
[ Post Reply | Private Reply | To 259 | View Replies ]

To: Jim Robinson
Well, we can give it a try. If there’s a chance that hundreds of people trying to post to the same thread at the same time is causing a deadlock on the db, it’s worth a shot to try to split the load. John says the load avg on the web server was low, the cpu’s were not busy and the db sever was mostly idle last time, but we couldn’t get any throughput. Could be a logjam in the db caused by record locks making it hard to get anything in or out.

Check with John about the DB schema before you try that. Depending on how it is organized, more threads may make it worse.

If it is a lock contention problem, then you need to look deeper into the database performance statistics, and especially the I/O (reads/sec and writes/sec) on the database device.

If it is indeed I/O contention, one thing that would help a great deal is:

[imagine Keanu/Neo's voice]

RAM. Lots of RAM.

If the database isn't using it, the O/S will use it for file caching. Any I/O operation that is avoided will be performed much faster -- as in orders of magnitude.

It isn't unusually for me to see database servers with 64GB of RAM. It makes a huge difference.

308 posted on 10/16/2012 4:56:36 PM PDT by justlurking (The only remedy for a bad guy with a gun is a good WOMAN (Sgt. Kimberly Munley) with a gun)
[ Post Reply | Private Reply | To 259 | View Replies ]

To: Jim Robinson

Would putting the Freepathon on hold for a short while help a tad?
(I don’t like asking this question)


309 posted on 10/16/2012 4:56:36 PM PDT by 1_Rain_Drop
[ Post Reply | Private Reply | To 259 | View Replies ]

To: Jim Robinson
Well, we can give it a try. If there’s a chance that hundreds of people trying to post to the same thread at the same time is causing a deadlock on the db, it’s worth a shot to try to split the load. John says the load avg on the web server was low, the cpu’s were not busy and the db sever was mostly idle last time, but we couldn’t get any throughput. Could be a logjam in the db caused by record locks making it hard to get anything in or out.

Jim

At first I thought the problem was here. I thought maybe people were refreshing the thread too often. Now I am not so sure.

When posters mentioned twitter, I tried to log on. Overloaded and no response. Then another Freeper mentioned that he did a ping to Freerepublic. The response was over 20 iterations that went through a Chicago server.

Then I tried to go to the Frank Luntz website. Again it was hammered.

I think the problem is elsewhere. Funny how google worked just fine until you hit the threads on any of the trending sites. It struck me as an intentional bottleneck.

A possible suggestion in the future would be to have an autoupdate feature for a selected thread. I am just do not believe the problem is here. I saw it on many other robust sites tonight.
998 posted on 10/16/2012 9:09:31 PM PDT by PA Engineer (Liberate America from the Occupation Media.)
[ Post Reply | Private Reply | To 259 | View Replies ]

To: Jim Robinson
Well, we can give it a try. If there’s a chance that hundreds of people trying to post to the same thread at the same time is causing a deadlock on the db, it’s worth a shot to try to split the load. John says the load avg on the web server was low, the cpu’s were not busy and the db sever was mostly idle last time, but we couldn’t get any throughput. Could be a logjam in the db caused by record locks making it hard to get anything in or out.

Hey Jim, about the indexing on the database tables.

Sometimes, the simplest things get overlooked.
1,159 posted on 10/18/2012 8:37:26 AM PDT by SoConPubbie (Mitt and Obama: They're the same poison, just a different potency.)
[ Post Reply | Private Reply | To 259 | View Replies ]

Free Republic
Browse · Search
News/Activism
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson