vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Hundreds of MySQL Errors by 1 IP Daily (https://vborg.vbsupport.ru/showthread.php?t=116229)

rantrave 05-21-2006 02:53 AM

Hundreds of MySQL Errors by 1 IP Daily
 
Here's a copy of the error:

mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (11)

/forums/includes/class_core.php on line 279

I get this same error from the same ip everyday, is it possible that it's an attack? Also, what in layman's terms does this error mean. It's causing my host mucho trouble, and could get the boot, so your assistance is greatly needed.

Paul M 05-21-2006 02:59 AM

It's your hosts problem - that's a failure of mysql.

rantrave 05-21-2006 03:03 AM

Quote:

Originally Posted by Paul M
It's your hosts problem - that's a failure of mysql.

Could it be attributed to the vbulletin software in some way? The reason I ask, you know hosting companies, if they think vb is doing it, I get cancelled. The server has crashed 2 out of the past three days after a forum attack (DoS I think), I want to cover my bases.

Dan 05-21-2006 03:10 AM

How big is your board? Do you have a lot of hacks installed that might cause high server load?

rantrave 05-21-2006 03:18 AM

Quote:

Originally Posted by fewyn
How big is your board? Do you have a lot of hacks installed that might cause high server load?

Not that large, but growing....;)

744 Members
5682 Threads
157,714 Posts

Average Contections - About 50-100 all the time
Hacks: 3 minor 1 major (VB Image)

I stripped everything I thought could cause problems, but obviously to no avail.

Dan 05-21-2006 03:20 AM

What kind of hosting enviroment are you in? Might be time to look into upgrading.

rantrave 05-21-2006 03:32 AM

Quote:

Originally Posted by fewyn
What kind of hosting enviroment are you in? Might be time to look into upgrading.

Although I can't argue that point (and it is being investigated), my load averages stay within .02-1.0 range, clearly an acceptable range for even a virtual dedicated server, yes? I know VDS is not good, that's a whole 'nother conversation....:cross-eyed:

Dan 05-21-2006 03:38 AM

Well if there's a lot of queries going in and out of the MySQL server that might cause it to crash.... don't know a lot about VDS though, if it runs a MySQL server for each virtual instance. If so It could be fine if not it could be that one of the other customers on the server could be contributing to the server crashes.

rantrave 05-21-2006 03:44 AM

Quote:

Originally Posted by fewyn
Well if there's a lot of queries going in and out of the MySQL server that might cause it to crash.... don't know a lot about VDS though, if it runs a MySQL server for each virtual instance. If so It could be fine if not it could be that one of the other customers on the server could be contributing to the server crashes.

Thanks for the info!

I am also inquiring to the hosting company about the database error in question. It's ridiculous to be crashed 2 out of 3 days!

I will still accept any other information that you have that could resolve this issue. Thanks.

hambil 05-21-2006 03:04 PM

Quote:

Originally Posted by rantrave
Here's a copy of the error:

mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (11)

/forums/includes/class_core.php on line 279

I get this same error from the same ip everyday, is it possible that it's an attack? Also, what in layman's terms does this error mean. It's causing my host mucho trouble, and could get the boot, so your assistance is greatly needed.

From a single IP is suspicious. Have you looked up the ip? One option is to ban the ip in your hosts cp-panel. There are websites out there designed for load testing that can and are abused to attack boards. I won't link to one for obvious reasons.

The error most likely means you've exceeded max connections. What MySQL version are you using?


All times are GMT. The time now is 05:43 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.01022 seconds
  • Memory Usage 1,737KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete