Suggestions, Comments and Site Questions Post your comments and suggestions here. We always want to improve the site.

search error

Thread Tools
 
Search this Thread
 
Old Apr 23, 2008 | 07:32 PM
  #1  
Alwaysworking's Avatar
Thread Starter
alwaysonDTR
 
Joined: Dec 2007
Posts: 2,551
Likes: 0
From: Keizer, oregon
search error

i tried to search and it give me this error

Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 35 bytes) in /opt/www/html/dev/search.php on line 1028

is this my computer or the server?
Reply
Old Apr 24, 2008 | 12:41 AM
  #2  
Alwaysworking's Avatar
Thread Starter
alwaysonDTR
 
Joined: Dec 2007
Posts: 2,551
Likes: 0
From: Keizer, oregon
only seams to do it when i search new truck in first gen
Reply
Old Apr 24, 2008 | 07:55 AM
  #3  
jthorpe's Avatar
DTR Founder
20 Year Member
Liked
Loved
Community Favorite
 
Joined: May 2002
Posts: 4,930
Likes: 14
From: Raleigh, NC
What's happening is this... It's kind of a way to protect the server from locking up the database for too long when doing a search. When you do a search with a very general term like the word "truck", this takes up a lot of time because that word is used in just about every post. Some of the database tables are locked during a search and if that search takes too long, it backs up the other users trying to post, browse or do something else on the site. By allowing only a certain amount of memory to be used in a search, although to you it looks bad when you see it, it's a way to protect the site from going down. If a search takes too long, you have other people trying to click all over the place and when they can't get to a page, they keep clicking and clicking. All of these queries pile up in the queue while your search is going. The load just skyrockets from there. When you see that error, although sometimes I know it can be a pain, know that it's the servers way of protecting itself so to speak. Try using less general terms.
Reply
Old Apr 24, 2008 | 02:04 PM
  #4  
Alwaysworking's Avatar
Thread Starter
alwaysonDTR
 
Joined: Dec 2007
Posts: 2,551
Likes: 0
From: Keizer, oregon
okay thats what i thought, to general of a search, taking to long.
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
roughstock
Suggestions, Comments and Site Questions
5
Dec 8, 2009 10:29 PM
sdscuba
Suggestions, Comments and Site Questions
1
Dec 1, 2009 03:55 PM
waldersha
Suggestions, Comments and Site Questions
3
Jul 11, 2009 09:40 PM
tristan21
Suggestions, Comments and Site Questions
2
Jun 19, 2008 09:44 PM




All times are GMT -5. The time now is 12:02 AM.