Soryy to be a bother

Status
Not open for further replies.

myforumh

New Member
Messages
4
Reaction score
0
Points
1
My site has been running very slow then started kicking this error.

It is on X01 Server

Connection Problems
Sorry, SMF was unable to connect to the database. This may be caused by the server being busy. Please try again later.

It is very small with no resource heavy anything.

Could someone fix this please?

Also, anytime i try to make even a simple thing like a post to the forum i get this.

Resource Limit Is Reached
The website is temporarily unable to service your request as it exceeded resource limit. Please try again later.

Which is incorrect, i am using virtually no resources at all.

Current Usage
Description Usage Limit Fault
CPU Usage 0.0% 100% 0
inodes usage 1647 50000 -
I/O Usage 0.0 KB/s 1024.0 KB/s 0
IOPS 0 1024 0
Entry Processes 0 5 0
Number of Processes 0 50 0
Physical Memory Usage 0.00k 1.00G 0
Virtual Memory Usage 0.00k 1.00G 0

Tank You for your help :)
 
Last edited:

lylex10h

Active Member
Messages
982
Reaction score
71
Points
28
Setup a .php file with the following code
PHP:
<?php

$link = @mysqli_connect('host', 'user', 'secret');
if(!$link) {
die('failed to connect to the server: ' . mysqli_connect_error());
}

if(!@mysqli_select_db($link, 'dbname')) {
die('failed to connect to the database: ' . mysqli_error($link));
}
?>
Replace host, user, secret and dbname. I believe this should give you a raw error if it fails.
 
Status
Not open for further replies.
Top