

© Copyright 1995 thru 2008 - The Mustang Works™. All Rights Reserved.
MustangWorks.com is designed and hosted by Aero3 Media.
MustangWorks.com is designed and hosted by Aero3 Media.
![]() |
#1 |
Registered Member
Join Date: Apr 1999
Location: Yucaipa, CA, USA
Posts: 146
|
![]() Having some trouble with the search feature. Is the trouble on my end or yours?
BTW...I really enjoy the site, obviously alot of work. THANKS! [This message has been edited by erl2589 (edited 05-22-99).] |
![]() |
![]() |
#2 |
Founder
Join Date: Jun 1995
Location: Michigan
Posts: 19,326
|
![]() Its on our end. Really what it boils down to is the board is so busy that the index file for the search program gets to big. It contains all the data on each post on the system, except for the message body. The search program loads it into memory and then parses through it looking for match to the query your making. Its now so big (over 10 MEG!), that the memory allocated to CGI for the web server is not enough and it runs out of memory and the program haults. Ops.
This is becuase the author of UBB coded his search module to load the entire index file into memory each time a user executes a search, instead of reading it from disk one line at a time. Its faster to load it all at once, but the amount of memory required to do so grows with each post. Thereby limiting you on index file size depending on available cgi memory. I'm going to email him about the problem, and suggest reworking the method the module uses to search the file. In the mean time, I have removed the first 1000 entries in the index and cut the file size drastically. It now works again. Of course that means the first 1000 messages on the board aren't available for searching, but what can ya do... ![]() ------------------ Dan McClain, Editor The Mustang Works Online 1991 Mustang GT - 10.90 @ 122 Mph Built, Blown, and Fast as Hell! |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
G-Tech unit on HP, anyone try? But read cause I did a search.... | 96_4.6 | Modular Madness | 7 | 06-09-2003 09:02 PM |