vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Too many conncetions error question (https://vborg.vbsupport.ru/showthread.php?t=101970)

Boofo 11-30-2005 08:08 PM

Too many conncetions error question
 
Does anybody have any ideas what would cause the var direcdtiory to fill up with MySQL logs to the point of the sites getting the dreaded "Too many connections" error on a daily basis? We delete the logs and the next day it happens all over again. Is there a setting in the MySQL files that we need to set or do something with to avoid this?

Marco van Herwaarden 11-30-2005 09:08 PM

How big do those logs get?
What is in it?

Logs itself don't cause a too many connections error, although they could give problems if they get over 2Gb.

Paul M 11-30-2005 10:33 PM

Quote:

Originally Posted by Boofo
Does anybody have any ideas what would cause the var direcdtiory to fill up with MySQL logs to the point of the sites getting the dreaded "Too many connections" error on a daily basis? We delete the logs and the next day it happens all over again. Is there a setting in the MySQL files that we need to set or do something with to avoid this?

Logging is a setting in the my.cnf file - as I recall you have to turn it on - so if you check the file you should see a logging command you can remove.

No amount of logging will cause a too many connections error - that's a seperate problem.

Boofo 12-01-2005 11:15 AM

Well, everytime we start getting the errors, the host goes in and deletes the MySQL logs form the var directory and then the error goes away and the sites are opened back up. So, yes, the logs are causing the error. Apparently the host is saying that the var directory gets filled up with the logs and then the errors start.

Marco van Herwaarden 12-01-2005 12:43 PM

So what is logged in those log-files?

Boofo 12-01-2005 02:32 PM

Quote:

Originally Posted by MarcoH64
So what is logged in those log-files?

I have no idea as he usually erases them before I can see them.

Paul M 12-01-2005 04:32 PM

Quote:

Originally Posted by Boofo
Well, everytime we start getting the errors, the host goes in and deletes the MySQL logs form the var directory and then the error goes away and the sites are opened back up. So, yes, the logs are causing the error. Apparently the host is saying that the var directory gets filled up with the logs and then the errors start.

Sorry, but IMO - No, the logs are not causing the error - log files cannot cause that error.

Much more likely is that while removing them he restarts mysql - which will also drop all the connections. :)


All times are GMT. The time now is 02:40 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.00995 seconds
  • Memory Usage 1,723KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete