XFileSharing Pro - DB problem. Suggestions?

Posts: 9
Joined: Apr 18, 2012 7:21 pm

DB problem. Suggestions?

#1 Postby pcfun19 » Oct 27, 2012 8:15 pm

Hi... any suggestion on how to solve this:

"Software error:
Can't connect to Mysql server. at Modules/DataBase.pm line 28...."

Any configuration you have in mind? For example a separate server for mysql with a specific configuration? or specific configuration on the current server? or specific software to install and balance the load???

This appears due to high load... Does the software kill the mysql connections or keeps permanent connections? could this be the problem?

There are days with many more visitors at the same time and the load keeps low at 2.00-3.50

and other days with less visitors it touches even 180

Should this be a DDoS attack?

OK... in any case, what do you suggest?

Thank you...

Posts: 332
Joined: Apr 13, 2011 9:37 pm

#2 Postby ufkabakan » Oct 27, 2012 9:07 pm

First Optimize your MySQL conf and increase max connection limit.

If you have big FileHost like daily 100K+ Unique Visitors and 100K+ downloads, you need strong WebServer and my advice split your SQL server.

In last 30 days i saw lot of DDos attack on XFS WebSites.
Attacker try mostly Login with bruteforce. We need a auto BANN methods for this problem like vBulletin forums.

Posts: 139
Joined: Nov 11, 2010 5:37 pm

#3 Postby stamos » Oct 28, 2012 12:42 pm

server specs where is mysql on?

Posts: 9
Joined: Apr 18, 2012 7:21 pm

#4 Postby pcfun19 » Oct 28, 2012 1:03 pm

AMD Opteron 4174 6x 2.30+ GHz
32 GB DDR3
2x 2TB - SATA2
1 Gbps

Return to “XFileSharing Pro”