• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] too many db connections

Started by dtiberio,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dtiberioTopic starter

I am having issues where there are too many database connections, so the database is preventing me from browsing the site.

also, when the crons are running, and Inserting data, you should use the LOAD INFILE sql command instead of the INSERT command. it will be 100 times faster and use far fewer resources. you can load thousands of entries with 1 database connection instead of 1,000 connections.

you should try to store as much data on the hard drive in a regular file as possible, even if just for 15 minutes. it reduces the number of database connections and makes the site perform better on a busy site.
  •  

Marius P.

Noted. Good thing I've fired the sql guy. Need a job? :)
Will look into updating this and at your other threads.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

sharekhan

if iam not wrong.please try to increase max connections to higher value in mycn file..

or

check you are database port is open so that some one hitting attacking sql install some firewall
  •  

Marius P.

That will work, but he is right in the optimization tip provided, we will try it and update to use it.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

 

Similar topics (7)

Important Announcement: PHPVibe Video Sharing CMS End of Life

Started by Marius P.


Replies: 1
Views: 39967

The problem of video viewing PHPVibe 5.0

Started by Nayn


Replies: 25
Views: 70885

embed video does not work on v5

Started by neospider69


Replies: 6
Views: 50990

when slecting to unpublish music mp3 - next page says unpublished video ?

Started by spirog


Replies: 2
Views: 4432

insite ads issue when selecting above/below video player location

Started by georgepanaitescu


Replies: 3
Views: 22702

Video that I've uploaded needs to have that value in admin to upload

Started by spirog


Replies: 4
Views: 5724

video,playlist,images, etc. (frontend) select all deselect all reselect all

Started by spirog


Replies: 3
Views: 5821