Results 1 to 30 of 67

Thread: Database lagging.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Re: Database lagging.

    The topics are working correctly in firefox now. I only turned the PC off for the night, nothing more.
    Frogbeastegg's Guide to Total War: Shogun II. Please note that the guide is not up-to-date for the latest patch.


  2. #2
    Nur-ad-Din Forum Administrator TosaInu's Avatar
    Join Date
    Jul 2002
    Posts
    12,326

    Default Re: Database lagging.

    Glad to hear it solved.
    Ja mata

    TosaInu

  3. #3
    Nur-ad-Din Forum Administrator TosaInu's Avatar
    Join Date
    Jul 2002
    Posts
    12,326

    Default Re: Database lagging.

    I used the Google search today and it seems to me that it returns more results (also about old subjects) than a couple of weeks ago. Is this imagination?
    Ja mata

    TosaInu

  4. #4
    Research Fiend Technical Administrator Tetris Champion, Summer Games Champion, Snakeman Champion, Ms Pacman Champion therother's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    2,637

    Default Re: Database lagging.

    Quote Originally Posted by TosaInu
    I used the Google search today and it seems to me that it returns more results (also about old subjects) than a couple of weeks ago. Is this imagination?
    I've noticed that it's getting better also, unless we're having a group hallucination or it's wishful thinking.

    Funny that you should resurrect this thread, but there seemed to be a few problems with the server/database yesterday (30th) about 7ish - I got the dreaded, "There seems to have been a slight problem with the Guild database" for the first time in a while.
    Last edited by therother; 12-01-2004 at 03:56.
    Nullius addictus iurare in verba magistri -- Quintus Horatius Flaccus

    History is a pack of lies about events that never happened told by people who weren't there -- George Santayana

  5. #5
    Research Fiend Technical Administrator Tetris Champion, Summer Games Champion, Snakeman Champion, Ms Pacman Champion therother's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    2,637

    Default Re: Database lagging.

    Sorry to once again pester you with this, but could we have an update on the status of the board search function?

    Also, you mentioned that you were testing various implementations of MySQL fulltext search. Just as a matter of interest, which performed better - the native (but as yet unsupported) feature or hacks such as JohnWoo's.
    Nullius addictus iurare in verba magistri -- Quintus Horatius Flaccus

    History is a pack of lies about events that never happened told by people who weren't there -- George Santayana

  6. #6
    Member Member ah_dut's Avatar
    Join Date
    May 2004
    Location
    London England
    Posts
    2,292

    Default Re: Database lagging.

    I encountered serious lag and a few posting failures today

  7. #7
    Nur-ad-Din Forum Administrator TosaInu's Avatar
    Join Date
    Jul 2002
    Posts
    12,326

    Default Re: Database lagging.

    Therother. I've tested the standard SQL search, it was working pretty fine. Problem is that I can't alter the tables myself with PHP as they are too big. Host has to do that.

    Yes, it's lagging again ah-dut.
    Ja mata

    TosaInu

  8. #8

    Default Re: Database lagging.

    More tech trouble? For the last week or so I've found it very hard to get the Guild to load. Everything has 30 second or longer loading times, if it loads at all. Much of the time I'm left waiting for a few minutes before I get "there seems to be a problem with the database, please hit refresh blah blah". About a quarter of my attempted posts fail with that message and it takes several minutes for everything to load so I can try again. Most of my attempts to answer my PM's result in the database error message. One time my post appeared but the topic's last post date/owner didn't update, nor did the last post/topic listing in the guild. It was as if my post did not exist outside of the inside of the topic. One post came out mangled with extra spaces inserted in it, and then it took ages for the several step editing process which then broke with the database error right at the end. The post did update successfully though.

    :hits post, prays:
    Frogbeastegg's Guide to Total War: Shogun II. Please note that the guide is not up-to-date for the latest patch.


  9. #9
    Nur-ad-Din Forum Administrator TosaInu's Avatar
    Join Date
    Jul 2002
    Posts
    12,326

    Default Re: Database lagging.

    Hello frogbeastegg,

    On top of the normal problems, there are PHP attacks. Attacks and countermeasurements slow down boardperformance. I just received reply from the host about a couple of things and the board will likely be offline for some time over the next few days. We'll try to keep this at a minimum. My advise is to write posts in your textapplication and copy/paste when done.

    I'll post again when the grunt is done.
    Ja mata

    TosaInu

  10. #10
    Medical Welshman in London. Senior Member Big King Sanctaphrax's Avatar
    Join Date
    Jan 2003
    Location
    Cardiff in the summer, London during term time.
    Posts
    7,988

    Default Re: Database lagging.

    On top of the normal problems, there are PHP attacks. Attacks and countermeasurements slow down boardperformance
    Attacks? From whom?
    Co-Lord of BKS and Beirut's Kingdom of Peace and Love.

    "Handsome features, rugged exteriors, intellectual chick magnets, we're pretty much twins."-Beirut

    "Rhy, where's your helicopter now? Where's your ******* helicopter now?"-Mephistopheles.



  11. #11
    A very, very Senior Member Adrian II's Avatar
    Join Date
    Sep 2004
    Location
    The Netherlands
    Posts
    9,748

    Default Re: Database lagging.

    Quote Originally Posted by Big King Sanctaphrax
    Attacks? From whom?
    Let me guess. There's a Santy.c worm out (you got it, it was released on 12/24) that attacks not just php boards, but all php scripts and pages.
    The bloody trouble is we are only alive when we’re half dead trying to get a paragraph right. - Paul Scott

  12. #12
    Nur-ad-Din Forum Administrator TosaInu's Avatar
    Join Date
    Jul 2002
    Posts
    12,326

    Default Re: Database lagging.

    Hello,

    There are indeed worms and PHP exploits, and it's affecting many sites. The recent slowdowns are caused by mechanisms to defend against it. As far as I know it didn't come through yet, there seems to be a serious effort though to harm PHP, so don't be surprised when this or another board is gone at some day.
    Ja mata

    TosaInu

  13. #13
    Vermonter and Seperatist Member Uesugi Kenshin's Avatar
    Join Date
    Nov 2004
    Location
    The Mountains.
    Posts
    3,868

    Angry Re: Database lagging.

    Right, you can just ignore my e-mail about the boards seeming to be down, between 3 and 10 today. I am obviously able to get back on.
    "A man's dying is more his survivor's affair than his own."
    C.S. Lewis

    "So many people tiptoe through life, so carefully, to arrive, safely, at death."
    Jermaine Evans

  14. #14

    Default Re: Database lagging.

    Now I can’t send PMs at all; I click send and get dropped in a blank page. From that point on the org is broken; I can’t get back to it via any of my bookmarks; they begin to load and instantly stop. About 10 minutes later it starts working again for no apparent reason. This has happened several times now. I’ve also ended up with the forums becoming inaccessible with nothing but broken links after simply browsing for around 5 minutes.
    Frogbeastegg's Guide to Total War: Shogun II. Please note that the guide is not up-to-date for the latest patch.


  15. #15
    Nur-ad-Din Forum Administrator TosaInu's Avatar
    Join Date
    Jul 2002
    Posts
    12,326

    Default Re: Database lagging.

    Hello,

    It could be because of the host trying to do something with the database required for the searchfunction. Working on it at the moment.

    I'll do a quick investigation and decide what to do, the board will be down from several minutes up to an hour or more. Depending what/how it will be done.
    Ja mata

    TosaInu

  16. #16
    Nur-ad-Din Forum Administrator TosaInu's Avatar
    Join Date
    Jul 2002
    Posts
    12,326

    Default Re: Database lagging.

    Board will be down starting now.
    Ja mata

    TosaInu

  17. #17
    Nur-ad-Din Forum Administrator TosaInu's Avatar
    Join Date
    Jul 2002
    Posts
    12,326

    Default Re: Database lagging.

    Stage 1 completed.
    Ja mata

    TosaInu

  18. #18
    Nur-ad-Din Forum Administrator TosaInu's Avatar
    Join Date
    Jul 2002
    Posts
    12,326

    Default Re: Database lagging.

    Hello,

    A table locked up, it took the tool an hour to repair it.
    Ja mata

    TosaInu

  19. #19
    Alienated Senior Member Member Red Harvest's Avatar
    Join Date
    Jan 2003
    Location
    Searching for the ORG's lost honor
    Posts
    4,657

    Default Re: Database lagging.

    I've lost several posts today. Even short ones I'm now copying to the clipboard before I hit send.

    Hope you can work this out. All the TW boards seem to be having increasing levels of trouble lately.
    Rome Total War, it's not a game, it's a do-it-yourself project.

  20. #20
    Research Fiend Technical Administrator Tetris Champion, Summer Games Champion, Snakeman Champion, Ms Pacman Champion therother's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    2,637

    Default Re: Database lagging.

    Quote Originally Posted by TosaInu
    It could be because of the host trying to do something with the database required for the searchfunction. Working on it at the moment.
    Excellent news! Does this mean we may have it back in the near future, if they are successful?
    Nullius addictus iurare in verba magistri -- Quintus Horatius Flaccus

    History is a pack of lies about events that never happened told by people who weren't there -- George Santayana

  21. #21
    Hope guides me Senior Member Hosakawa Tito's Avatar
    Join Date
    Dec 2000
    Location
    Western New Yuck
    Posts
    7,914

    Default Re: Database lagging.

    That is excellent news. I experienced some serious lag etc.. while "taking care of some business" here about 2 hours ago, but within the last 1/2 hour or so things have returned to normal. Definitely copy any "longwinded" post, my specialty or you may lose it.
    "He is no fool who gives what he cannot keep to gain that which he cannot lose." *Jim Elliot*

  22. #22

    Default Re: Database lagging.

    :puts book labelled 'cross species mind control' away: Thank you, Louis.

    I only managed to get her one yesterday afternoon and evening, for maybe 2 minutes, if that. I was reading the update about a broken table in this thread when the org broke again; how ironic. Apparently though I was showing up on the active list even though I could not get the site to load, and it was loading as normal for Louis. I was not sat here and trying to get back all that time, but since I did a heck of a lot of writing and played some MP RTW I was able to try to get through for a good few hours.

    So my problem with the org only loading for a second before halting as if I never clicked the link is more localised than I thought. I've done the expected checks to firewalls etc and nothing helped. Also nothing at all is changed on my PC those times I do manage to get here. I have not tested my PM capacity yet; yesterday morning I managed a couple through endless retrying, about 4 failures to each success.

    EDIT: Whatever the problem is it's still present today; the links broke again shortly after this post.
    Last edited by frogbeastegg; 01-26-2005 at 11:40.
    Frogbeastegg's Guide to Total War: Shogun II. Please note that the guide is not up-to-date for the latest patch.


  23. #23
    Nur-ad-Din Forum Administrator TosaInu's Avatar
    Join Date
    Jul 2002
    Posts
    12,326

    Default Re: Database lagging.

    The board will be down today as I'll work on the database. I'll start within a few minutes from now and it may take a while. Hard to say how long, but it could be a few hours.
    Ja mata

    TosaInu

  24. #24
    Nur-ad-Din Forum Administrator TosaInu's Avatar
    Join Date
    Jul 2002
    Posts
    12,326

    Default Re: Database lagging.

    Hello,

    Time for some updating.

    We had a new searchsystem, it was a pain to get it. The reason is that the computer has to perform a one time operation on a huge amount of data. The host, being a master on this computer, had to pull some tricks to get it done.

    The operation took just a few minutes on my Pentium, but it drained all memory and required about a GigaByte in c:\Windows\temp. It was on, so staff could test it out (would be a shame to blow the entire server), but I was forced to delete it again during the last downtime. Server just refused to load it. The database got rid of 200,000 OT posts now.

    I guess it's back to the drawing table as far as Search is concerned, queries can take up a few seconds and they are performed on the same tables as used to store your posts in. This can lock up the tables, which will cause a forum downtime. This is a problem for many larger sites and while we are not that large, our database is definately not 8 Gig in size, our hardware is not what those guys use either.

    The not so great performance of the Search (20 seconds while 1 person can use it is not that fast) may be related to something else, for now it's gone while we'll monitor performance of the bare system. Still looking around for improvements. For now you'll have to use the Google search, which is surprisingly fast and returns more results than before.

    I'm looking into creating a partial forumsearch (say limited to RTW and modding forums). Should be smaller and just work.

    Added a tiny tweak that should help narrowband: CSS files are stored in files and no longer served from the database. It's only 6 kb, but it's cached in your temporary internet directory now instead of downloading it again and again.
    Ja mata

    TosaInu

  25. #25
    Research Fiend Technical Administrator Tetris Champion, Summer Games Champion, Snakeman Champion, Ms Pacman Champion therother's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    2,637

    Default Re: Database lagging.

    Thanks for the update, Tosa. As always, it's much appreciated.

    I'm looking into creating a partial forumsearch (say limited to RTW and modding forums). Should be smaller and just work.
    Interesting idea. I think it is certainly true that the lack of a comprehensive search function for these forums is a little constraining for users.
    Nullius addictus iurare in verba magistri -- Quintus Horatius Flaccus

    History is a pack of lies about events that never happened told by people who weren't there -- George Santayana

  26. #26
    Research Fiend Technical Administrator Tetris Champion, Summer Games Champion, Snakeman Champion, Ms Pacman Champion therother's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    2,637

    Default Re: Database lagging.

    Can't speak for anyone else, but in my experience the boards have been lightening fast for the last few days. Lag is almost non-existent, and I've been seeing download speeds in the 30KBytes/s range. Long may it continue!
    Nullius addictus iurare in verba magistri -- Quintus Horatius Flaccus

    History is a pack of lies about events that never happened told by people who weren't there -- George Santayana

  27. #27
    Vermonter and Seperatist Member Uesugi Kenshin's Avatar
    Join Date
    Nov 2004
    Location
    The Mountains.
    Posts
    3,868

    Default Re: Database lagging.

    It has seemed faster to me, but I am also keeping two windows open instead of one, so I can load a page with one while I read a thread. I am much more efficient and I think the speed is up!
    "A man's dying is more his survivor's affair than his own."
    C.S. Lewis

    "So many people tiptoe through life, so carefully, to arrive, safely, at death."
    Jermaine Evans

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO