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 07-03-2008, 07:42 PM
elbacha elbacha is offline
 
Join Date: Dec 2006
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default more than 1000 database errors daily

Hello all

all members in my forum are suffering and don?t have ( from time to time ) access since the upgrade to the version 3.7.
we are often facing this problem in our vBulletin forum andI am receiving many database errors and here an example on location _http://www.marahibsat.com/forum

Quote:
Database error in vBulletin 3.7.2:

Invalid SQL:

SELECT user.username, user.usergroupid, user.membergroupids,
session.userid, session.inthread, session.lastactivity,
IF(user.displaygroupid = 0, user.usergroupid, user.displaygroupid) AS displaygroupid, infractiongroupid,
IF(user.options & 512, 1, 0) AS invisible
FROM session AS session
LEFT JOIN user AS user ON(user.userid = session.userid)
WHERE session.lastactivity > 1215032688
ORDER BY username ASC, lastactivity DESC;

MySQL Error : Out of memory (Needed 13421600 bytes)
Error Number : 5
Request Date : Wednesday, July 2nd 2008 @ 06:04:48 PM
Error Date : Wednesday, July 2nd 2008 @ 06:05:02 PM
Script : http://www.marahibsat.com/forum/show...=16742&page=25
Referrer : http://www.marahibsat.com/forum/forumdisplay.php?f=186
IP Address : xx.149.93.xxx
Username : saed
Classname : vB_Database
MySQL Version : 5.0.45
please tell me what is wrong ?

Thank you in advance.
Attached Images
File Type: jpg db_error.JPG (52.4 KB, 0 views)
Reply With Quote
  #2  
Old 07-03-2008, 07:46 PM
Michael Morris's Avatar
Michael Morris Michael Morris is offline
 
Join Date: Nov 2003
Location: Knoxville TN
Posts: 774
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You're out of memory. You'll need to adjust the config to reduce the number of connections most likely to bring it back in line.
Reply With Quote
  #3  
Old 07-03-2008, 07:50 PM
elbacha elbacha is offline
 
Join Date: Dec 2006
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Michael Morris View Post
You're out of memory. You'll need to adjust the config to reduce the number of connections most likely to bring it back in line.
thank you for your reply , but this happen with only 30 members ....
in the past was no problem with more than 300 members in the same time.
Reply With Quote
  #4  
Old 07-03-2008, 08:37 PM
MarahibSat MarahibSat is offline
 
Join Date: Sep 2007
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Michael Morris View Post
You're out of memory. You'll need to adjust the config to reduce the number of connections most likely to bring it back in line.
So in your opinion, adjust config must be done by the host server?
Also, please note that in admcp > maintenance > Repair / Optimize Tables didn't solve the problem
Thios is annoying for our board and we are loosing members each day since now 2 months

Also we have two kinds of erros, the one posted by elbacha and this one error2
Attached Images
File Type: png error2.png (35.7 KB, 0 views)
Reply With Quote
  #5  
Old 07-04-2008, 12:21 AM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It certainly could be that your host has implemented some sort of new restrictions. I hope you've opened a trouble ticket with them?
Reply With Quote
  #6  
Old 07-04-2008, 06:23 AM
elbacha elbacha is offline
 
Join Date: Dec 2006
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The forum will be moved next days to another server, but we want an urgent solution for this problem ( just for two weeks )
Reply With Quote
  #7  
Old 07-04-2008, 07:12 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As already stated you will need to raise the MySQL memory limit, you most likely will need to ask your host about this.
Reply With Quote
  #8  
Old 07-04-2008, 05:40 PM
elbacha elbacha is offline
 
Join Date: Dec 2006
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I saw some where this
Quote:
PHP and MySQL Requirements

Please note that vBulletin 3.7.x requires at least PHP 4.3.3 and MySQL 4.0.16 or later.

However, we recommend that vBulletin 3.7.x is run on PHP 5.2.6 with APC (or a similar opcode cache) and MySQL 5.0.51 for best performance and stability
We have :
PHP 5.2.6
MySQL 5.0.45

Is the problem cosed by the PHP?
Reply With Quote
  #9  
Old 07-04-2008, 05:58 PM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you are using php version 2.11.2.1 you're horribly out of date and need to upgrade that.

How vBulletin is working some of the time is beyond me, and i dont even think php2 will work with mysql5 but who knows
Reply With Quote
  #10  
Old 07-04-2008, 06:27 PM
elbacha elbacha is offline
 
Join Date: Dec 2006
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry I must update my post
PHP is :5.2.6
PHP Memory Limit 16.00 MB
MySQL Version 5.0.45
MySQL Packet Size 16.00 MB
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 12:35 PM.


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.04667 seconds
  • Memory Usage 2,275KB
  • Queries Executed 12 (?)
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
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (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_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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete