Code of Conduct
Results 1 to 22 of 22
  1. #1

    Amit's Avatar
    Join Date
    Dec 2005
    Location
    Mumbai
    Posts
    5,093
    Post Thanks / Like

    Default Unable to start new threads on MFD

    Hi Grant,

    I'm unable to start new threads in MFD. I experienced the same error as earlier :

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 786409 bytes) in /home/basenot2/public_html/community/includes/functions_search.php on line 329


    Help please!


    PVC and Leather. A Chain and a feather




  2. #2

    Default Re: Unable to start new threads on MFD

    Are you still getting it now? I've increased the memory allocation again

  3. #3

    Amit's Avatar
    Join Date
    Dec 2005
    Location
    Mumbai
    Posts
    5,093
    Post Thanks / Like

    Default Re: Unable to start new threads on MFD

    Hi Grant,

    Just checked again, getting the same error again.


    PVC and Leather. A Chain and a feather




  4. #4

    Default Re: Unable to start new threads on MFD

    bugger

    if you get it again, can you post the error message again, so I can check if the memory has increased

  5. #5

    Amit's Avatar
    Join Date
    Dec 2005
    Location
    Mumbai
    Posts
    5,093
    Post Thanks / Like

    Default Re: Unable to start new threads on MFD

    Hi Grant,

    Happened to me again today. Here's the error :


    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 786409 bytes) in /home/basenot2/public_html/community/includes/functions_search.php on line 329


    PVC and Leather. A Chain and a feather




  6. #6

    Default Re: Unable to start new threads on MFD

    Quote Originally Posted by Amit View Post
    Hi Grant,

    Happened to me again today. Here's the error :


    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 786409 bytes) in /home/basenot2/public_html/community/includes/functions_search.php on line 329
    Looks like the memory increase didn't work
    I'll try again later

    cheers Amit

  7. #7
    KiatBkk's Avatar
    Join Date
    Apr 2006
    Location
    Bangkok
    Posts
    3,997
    Post Thanks / Like

    Default Re: Unable to start new threads on MFD

    Happened to me too!

    I've been unable to post the SotD thread. This message has been showing up on my last 4 attempts (4 days)

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 1048553 bytes) in /home/basenot2/public_html/community/includes/functions_search.php on line 329
    Current Top 5

    1. Creed Aventus
    2. A*Men Pure Malt
    3. L'instant Extreme
    4. Nasomatto Duro
    5. CDG - Kyoto

  8. #8

    TwoRoads's Avatar
    Join Date
    Sep 2007
    Location
    Ohio
    Posts
    4,963
    Post Thanks / Like

    Default Re: Unable to start new threads on MFD

    Quote Originally Posted by KiatBkk View Post
    Happened to me too!

    I've been unable to post the SotD thread. This message has been showing up on my last 4 attempts (4 days)

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 1048553 bytes) in /home/basenot2/public_html/community/includes/functions_search.php on line 329

    I got it tonight while also trying to start the SotD thread. I ended up starting a thread with 'SotD' as the title and 'what' as the message. The system accepted this short thread. I edited it and added my SotD without any more problems. A two-step workaround.
    Two roads diverged in a yellow wood, and sorry I could not travel both and be one traveler, long I stood and looked down one as far as I could to where it bent in the undergrowth; Then took the other, as just as fair, ...... I shall be telling this with a sigh somewhere ages and ages hence: Two roads diverged in a wood, and I -- I took the one less traveled by, and that has made all the difference. - Robert Frost

  9. #9

    Default Re: Unable to start new threads on MFD

    I think it is as a result of the SOTD threads being quite large and having pics... do people experience similar messages when posting to the threads like 'guess the fragrance by the picture'?

  10. #10
    Moderator

    Join Date
    Feb 2005
    Posts
    9,941
    Post Thanks / Like

    Default Re: Unable to start new threads on MFD

    Unable to read what I have posted about three hours ago on our SotD thread, there were more responses between mine and Quarry's.

  11. #11
    Morning Star

    Astaroth's Avatar
    Join Date
    May 2008
    Location
    West Los Angeles
    Posts
    2,015
    Post Thanks / Like

    Default Re: Unable to start new threads on MFD

    Quote Originally Posted by Grant View Post
    I think it is as a result of the SOTD threads being quite large and having pics... do people experience similar messages when posting to the threads like 'guess the fragrance by the picture'?
    The fact that there are pictures in the SotD thread shouldn't be creating a storage issue on your server, Grant, since the vast majority of those pictures are only stored on your server as URLs anyway. Or am I missing something?

    What is being done on Line 329 of functions_search.php? There is obviously a memory allocation going on there which is failing. It might be trying to create a list of items which is too long. Might it be related to the fact that there are probably more threads started with the character string "SotD" than any other? Just shooting in the dark here ...
    Last edited by Astaroth; 18th February 2009 at 05:05 AM. Reason: speculation

  12. #12
    Moderator

    Join Date
    Feb 2005
    Posts
    9,941
    Post Thanks / Like

    Default Re: Unable to start new threads on MFD

    Unable to view all new threads or posts on all forums all after yesterday's about 3 pm, can't read what does not show on the new main community page, i.e. I can click on the one that has the latest response and it brings me to that thread only.

    Can't view or read my PMs although it shows I got 2 new messages, I click on Your Notifications, then Unread Private Messages and nothing new appears.

  13. #13

    tang's Avatar
    Join Date
    Nov 2006
    Location
    Midwest, U.S.
    Posts
    2,799
    Post Thanks / Like

    Default Re: Unable to start new threads on MFD

    Twolf, I hope someone can suggest what might be going wrong for you. I wonder if you would have the same thing happen if you tried a different browser, just to see. You could download one like Google Chrome and use that for a bit and see if you still have trouble viewing threads on basenotes...? (Last week, I had to switch to Google Chrome on my laptop after Firefox kept crashing, but that's a separate issue.)

  14. #14

    TwoRoads's Avatar
    Join Date
    Sep 2007
    Location
    Ohio
    Posts
    4,963
    Post Thanks / Like

    Default Re: Unable to start new threads on MFD

    Quote Originally Posted by Astaroth View Post
    What is being done on Line 329 of functions_search.php? There is obviously a memory allocation going on there which is failing. It might be trying to create a list of items which is too long. Might it be related to the fact that there are probably more threads started with the character string "SotD" than any other? Just shooting in the dark here ...
    Asta may be on to something here.

    It was worse with tonight's thread. I could not even use 'SotD' in the title. The thread was finally accepted when I submitted it with a title of 'Thursday, 19 Feb 09' and 'meh' as the body of the post. I was then able to edit my post without problem - adding 'SotD' to the title and changing the body.
    Two roads diverged in a yellow wood, and sorry I could not travel both and be one traveler, long I stood and looked down one as far as I could to where it bent in the undergrowth; Then took the other, as just as fair, ...... I shall be telling this with a sigh somewhere ages and ages hence: Two roads diverged in a wood, and I -- I took the one less traveled by, and that has made all the difference. - Robert Frost

  15. #15
    Morning Star

    Astaroth's Avatar
    Join Date
    May 2008
    Location
    West Los Angeles
    Posts
    2,015
    Post Thanks / Like

    Default Re: Unable to start new threads on MFD

    Quote Originally Posted by TwoRoads View Post
    Quote Originally Posted by Astaroth View Post
    What is being done on Line 329 of functions_search.php? There is obviously a memory allocation going on there which is failing. It might be trying to create a list of items which is too long. Might it be related to the fact that there are probably more threads started with the character string "SotD" than any other? Just shooting in the dark here ...
    Astaroth may be on to something here.

    It was worse with tonight's thread. I could not even use 'SotD' in the title. The thread was finally accepted when I submitted it with a title of 'Thursday, 19 Feb 09' and 'meh' as the body of the post. I was then able to edit my post without problem - adding 'SotD' to the title and changing the body.
    OK, here's what I think is going on under the hood. Hopefully Grant will be able to confirm whether this is right or not ...

    The initial step in storing the new thread on the server is probably using a hash function to determine a single integer which becomes an index into an array of thread storage linked lists. Unfortunately, the hash function is probably a weak function which only depends upon the first few characters in the title of the thread. The SotD threads typically start with "SotD" and then the day of the week, with very little variation. This has probably been going on for years now. With only 7 different days in the week, the linked lists corresponding to those 7 corresponding values of the array index are storing many more threads than the other indexed array locations. So the memory limitation does not result from the global memory allocation (which Grant keeps increasing), but on the ability of the server to load the linked lists of threads into RAM from the database. Those 7 lists are so huge, it is probably taxing the server's virtual memory too much.

    TwoRoads may have been able to fool the server into placing the SotD thread into an atypical linked list by avoiding the character string "SotD", and his subsequent editing of the title apparently did not move the thread out of that list into its "normal" location. Another thing that might have worked would be putting a random character string prefix at the beginning of the title, and then editing it away.

    There are other variations on this theme, such as storage in an unbalanced binary tree which keys on initial letters of the title. The high prevalence of "SotD" in the titles would then create a huge depth to such a tree. It's also possible that the data structures storing the keywords for Search are being taxed by the huge number of threads which have "SotD" and the days of the week in the title. There are lots of possibilities here, all of them resulting from some sort of non-randomizing key generation algorithm.

    Having said all this, it's still a weird problem since the main method by which the server accesses the threads is through a numerical thread ID, which you can see in your browser's URL as you read this (223206). My suspicion at this point is that it probably has something to do with the functions which facilitate Search, since TwoRoads implied he couldn't have the string "SotD" anywhere in the initial title.

    Grant, what is being done on Line 329 of functions_search.php?
    Last edited by Astaroth; 19th February 2009 at 02:24 PM.

  16. #16
    Moderator

    Join Date
    Feb 2005
    Posts
    9,941
    Post Thanks / Like

    Default Re: Unable to start new threads on MFD

    Thank you tang! I am good, up and running.

  17. #17

    TwoRoads's Avatar
    Join Date
    Sep 2007
    Location
    Ohio
    Posts
    4,963
    Post Thanks / Like

    Default Re: Unable to start new threads on MFD

    The SotD thread is getting increasingly harder to start. Tonight, I received the fatal error message when I tried to preview the post. Previously, the error occured later when I tried to submit the thread.
    Last edited by TwoRoads; 20th February 2009 at 03:34 AM.
    Two roads diverged in a yellow wood, and sorry I could not travel both and be one traveler, long I stood and looked down one as far as I could to where it bent in the undergrowth; Then took the other, as just as fair, ...... I shall be telling this with a sigh somewhere ages and ages hence: Two roads diverged in a wood, and I -- I took the one less traveled by, and that has made all the difference. - Robert Frost

  18. #18

    Default Re: Unable to start new threads on MFD

    Same problem here. I was not able to preview the first post. And then the complete post disappeared after the error message


    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 524265 bytes) in /home/basenot2/public_html/community/includes/functions_search.php on line 329
    The bird of paradise alights only upon the hand that does not grasp

  19. #19
    gupts's Avatar
    Join Date
    Aug 2006
    Location
    S/E suburb
    Posts
    3,922
    Post Thanks / Like

    Default Re: Unable to start new threads on MFD

    Tried opening the SotD thread today and got this error message


    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 262098 bytes) in /home/basenot2/public_html/community/includes/functions_search.php on line 329

    This is not the first time, that I have seen this. Earlier I thought it must be my computer but then I saw this thread.

  20. #20
    Morning Star

    Astaroth's Avatar
    Join Date
    May 2008
    Location
    West Los Angeles
    Posts
    2,015
    Post Thanks / Like

    Default Re: Unable to start new threads on MFD

    I tried starting the SotD thread in the Female Fragrance Discussion forum tonight, and received the usual error. I then started a thread with a title not containing the character string "SotD", and it started fine. Then I changed the title to the usual SotD title, and it also worked fine.

    I found out something else too. If you attempt to use the Advanced Search mechanism to search for threads containing the character string "SotD" in the title, it doesn't just truncate the long list of such threads. It actually errors out. I wouldn't be surprised if starting a thread does a preliminary search of the database for threads with similar strings in the title (for whatever reason), and this is what is crashing out the starting of the SotD thread. The code is probably trying to temporarily keep pointers to all the SotD threads in memory, which exceeds its allotment. Keep in mind that the line of code that is crashing when people attempt to start the SotD thread is within the file functions_search.php.
    Last edited by Astaroth; 25th February 2009 at 10:12 AM.

  21. #21
    Morning Star

    Astaroth's Avatar
    Join Date
    May 2008
    Location
    West Los Angeles
    Posts
    2,015
    Post Thanks / Like

    Default Re: Unable to start new threads on MFD

    Bumping this thread to see if there has been any progress made on resolving the issue ...

  22. #22
    Sur la Plage

    petruccijc's Avatar
    Join Date
    Dec 2007
    Location
    Clearwater Beach, Florida
    Posts
    17,010
    Post Thanks / Like

    Default Re: Unable to start new threads on MFD

    Quote Originally Posted by KiatBkk View Post
    Happened to me too!

    I've been unable to post the SotD thread. This message has been showing up on my last 4 attempts (4 days)

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 1048553 bytes) in /home/basenot2/public_html/community/includes/functions_search.php on line 329
    Quote Originally Posted by TwoRoads View Post
    I got it tonight while also trying to start the SotD thread. I ended up starting a thread with 'SotD' as the title and 'what' as the message. The system accepted this short thread. I edited it and added my SotD without any more problems. A two-step workaround.
    I have been getting this error message a lot lately when trying to start threads (not SOTD) on the Male Forum. I had to resort to the TwoRoads "two-step" workaround.
    Please feel free to check out my Swap Thread - Patou pour Homme, L'Instant de Guerlain PH Extreme, Dior Homme Intense, Pure Malt, Pure Coffee and many more! Click Here For My Swap Thread

Similar Threads

  1. Unable to start new threads
    By Amit in forum Community Centre Archive
    Replies: 3
    Last Post: 4th February 2009, 11:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •