Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-19-2009, 10:15 AM
geevest.com geevest.com is offline
 
Join Date: Apr 2006
Posts: 709
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default database error

i get this database error message :

Code:
Database error in vBulletin 3.7.3:

Invalid SQL:

				SELECT smilieid, smilietext, smiliepath, smilie.title,
					imagecategory.title AS category
				FROM smilie AS smilie
				LEFT JOIN imagecategory AS imagecategory USING(imagecategoryid)
				ORDER BY imagecategory.displayorder, imagecategory.title, smilie.displayorder;

MySQL Error   : Out of memory (Needed 322122456 bytes)
Error Number  : 5
Request Date  : Monday, January 19th 2009 @ 07:13:57 AM
Error Date    : Monday, January 19th 2009 @ 07:13:57 AM
Script        : http://abc.com/forum/newreply.php?do=newreply&noquote=1&p=242779
Referrer      : http://abc.com/forum/showthread.php?p=242779
IP Address    : 
Username      : name
Classname     : vB_Database
MySQL Version : 5.0.67-community
how i can fixed this issue? tq
Reply With Quote
  #2  
Old 01-19-2009, 10:18 AM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Upgrade your hosting, or contact your hosting company

Try disabling modifications and addons as well i suppose
Reply With Quote
  #3  
Old 01-19-2009, 10:21 AM
geevest.com geevest.com is offline
 
Join Date: Apr 2006
Posts: 709
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i take dedicated server for this bro,
500$/month.so its not enough?
it just i need to upgrade my RAM or what?
Reply With Quote
  #4  
Old 01-19-2009, 10:25 AM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How much ram do you have?

Is your server optimized, or are you simply throwing all the hardware it can contain at it?

Try

Make a my.cnf backup before doing
Code:
cp /etc/my.cnf /etc/my.cnf.prev
Then change following values on /etc/my.cnf to
Code:
nano /etc/my.cnf
Code:
max_connections=500
wait_timeout = 30
query_cache_limit=2M
query_cache_size=24M
Restart mysql.
Code:
service mysqld restart
This should help
Reply With Quote
  #5  
Old 01-19-2009, 10:40 AM
geevest.com geevest.com is offline
 
Join Date: Apr 2006
Posts: 709
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have 4GB ram friend.visitor 20.000/day so its not enough? or i need to upgrade my ram?
Reply With Quote
  #6  
Old 01-19-2009, 10:55 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would start by posting an optimisation request at vB.com.
Reply With Quote
  #7  
Old 01-19-2009, 10:57 AM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by geevest.com View Post
i have 4GB ram friend.visitor 20.000/day so its not enough? or i need to upgrade my ram?
I dont know, there are lots of variables.

How many modifications?
What do those visitors do while there?
Is your server optimized?
Do you run anything other than vBulletin?


That error tells you 1 thing. Your MySQL is out of allowed memory

Solutions: Optimize Server/MySQL, Remove modifications/plugins, Throw more RAM and get the same error in a few weeks probably

I suggest posting over at vBulletin.com Server optimization forum: http://www.vbulletin.com/forum/forumdisplay.php?f=14
Reply With Quote
  #8  
Old 01-20-2009, 05:22 AM
geevest.com geevest.com is offline
 
Join Date: Apr 2006
Posts: 709
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hello,now im already upgrade my server and Ram in to 8GB.
until now im always getting database error.
yes i have 3sites in 1dedicated server but other site is simple dont have traffic.that just blogs and imageshare.
do i need to disable all plugins?
Reply With Quote
  #9  
Old 01-20-2009, 05:39 AM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no you shouldn't

And adding more ram may not solve your issue if you don't allow MySQL access to the more ram.

Post in the server optimization forum and you could probably save some money: http://www.vbulletin.com/forum/forumdisplay.php?f=14
Reply With Quote
  #10  
Old 01-20-2009, 07:57 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Make sure you're running a 64-bit OS, otherwise, your RAM won't be fully utilised.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:35 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05214 seconds
  • Memory Usage 2,251KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (5)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete