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

Reply
 
Thread Tools Display Modes
  #1  
Old 06-06-2007, 08:10 PM
TBevilacqua TBevilacqua is offline
 
Join Date: Mar 2007
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default vBulletin Database error emails..

Guys for a while now we've been recieving alot of emails about errors on pages outside the forums.. it doesn't make much sense, heres an example email:

Database error in vBulletin 3.6.5:

Invalid SQL:

Code:
UPDATE session SET lastactivity = 1181161818, inforum = 0, inthread = 0, incalendar = 0, badlocation = 0 WHERE sessionhash = '3451f3d966e5aaa02a5c616364e75023';
MySQL Error : MySQL server has gone away
Error Number : 2006
Date : Wednesday, June 6th 2007 @ 03:53:16 PM
Script : http://www.domain.com/
Referrer :
IP Address : IP ADDRESS HERE
Username : Unregistered
Classname : vB_Database

I've been getting them for a while now, heres my my.cnf:

Code:
[mysqld]
safe-show-database
#old_passwords
back_log = 75
skip-innodb
max_connections = 650
key_buffer = 256M
myisam_sort_buffer_size = 64M
join_buffer_size = 1M
read_buffer_size = 1M
sort_buffer_size = 2M
table_cache = 4000
thread_cache_size = 484
wait_timeout = 1000
connect_timeout = 400
tmp_table_size = 256M
max_heap_table_size = 256M
max_allowed_packet = 64M
max_connect_errors = 20
thread_concurrency = 5
read_rnd_buffer_size = 524288
bulk_insert_buffer_size = 8M
query_cache_limit = 5M
query_cache_size = 96M
query_cache_type = 1
query_prealloc_size = 131072
query_alloc_block_size = 65536
default-storage-engine = MyISAM

[mysqld_safe]
nice = -10
open_files_limit = 8192

[mysqldump]
quick
max_allowed_packet = 16M

[myisamchk]
key_buffer = 64M
sort_buffer = 64M
read_buffer = 16M
write_buffer = 16M

[mysqlhotcopy]
interactive-timeout

anything else, please ask!

Thanks.
Reply With Quote
  #2  
Old 06-06-2007, 08:52 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thread concurrancy should normally be twice the number of processors on the machine, so 5 is an odd number. Also, are you using persistant connections, if so then turn them off.
Reply With Quote
  #3  
Old 06-06-2007, 09:54 PM
Eikinskjaldi's Avatar
Eikinskjaldi Eikinskjaldi is offline
 
Join Date: Feb 2006
Location: Hell, never looked better
Posts: 572
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This error is caused by your wait_timout being too low. That I can tell (since I used to get a lot of them too) they have absolutely no effect on the system.

Push your wait_timout up to 18000 (15 minutes) or whatever your expiry time is, and most of them will go away.
Reply With Quote
  #4  
Old 06-07-2007, 11:42 PM
Nkay's Avatar
Nkay Nkay is offline
 
Join Date: Jan 2006
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi guys, i get the same error when sending a mass email to all of my users, i dont think it has any effect on the sending of the emails and i believe it still sends them to all my users however this my.cnf file i think i have located in my /home directory but all this file contains is this..

[client]
user=********
pass="*************"

Should this contain more because i would also like to reolve this error keep popping up :/
Reply With Quote
  #5  
Old 06-08-2007, 05:59 AM
Eikinskjaldi's Avatar
Eikinskjaldi Eikinskjaldi is offline
 
Join Date: Feb 2006
Location: Hell, never looked better
Posts: 572
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Nkay View Post
Hi guys, i get the same error when sending a mass email to all of my users, i dont think it has any effect on the sending of the emails and i believe it still sends them to all my users however this my.cnf file i think i have located in my /home directory but all this file contains is this..

[client]
user=********
pass="*************"

Should this contain more because i would also like to reolve this error keep popping up :/
Yes it should contain more. What that "more" is depends on how busy your server is and what its specs are (number of CPUs, RAM, is it shared, VPS or dedicated, Linux, Windows, something else).

It would also help to see the complete error message. The one posted by the initiator of this post concerns the way vb maintains its session table.
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 09:46 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.04099 seconds
  • Memory Usage 2,198KB
  • Queries Executed 11 (?)
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
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete