The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!
You are not logged in.
Pages: 1
My box is going down about every few hours due to traffic. When we get about 100 concurrent users MySQL can no longer connect. Apache is fine. The box has 2 GB of RAM. I have run far more intensive sites with less of a box without issue. I have tried every possible setting in caching. Are there any recommendations on what we can do? The interim fix was to add more RAM.
Offline
remove embed code and replace it with this (dose not support porhub embed only)
http://forum.adultscriptpro.com/viewtop … 7025#p7025
Offline
Pharmacy, wholesale prices - worldwide shipping.
Offline
You cannot have 100 concurent mysql users with that amount of traffic. You could try to remove a few queries that run every time someone connects to the site. The ban query from library/framework/bootstrap.php the users online query from index.php. Also remove the query that inserts in the video_history table from modules/video/components/view.php
Removing the embed code will free up data, however its not index data, nor is the data used to search when queries are executed.
You can setup mysql slow query log and see which queries are slow. Also from the mysql console run: show processlist when you have many users.
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
I Have Seen Some Were Or Listen About it People Using Multiple MySQl For Single Site Like For Video One MYSQl And For Views For One MYSQL Like That It Is Interconnecting MYSQL. Will It BE A Good Option.
Pharmacy, wholesale prices - worldwide shipping.
Offline
You cannot have 100 concurent mysql users with that amount of traffic. You could try to remove a few queries that run every time someone connects to the site. The ban query from library/framework/bootstrap.php the users online query from index.php. Also remove the query that inserts in the video_history table from modules/video/components/view.php
Removing the embed code will free up data, however its not index data, nor is the data used to search when queries are executed.
You can setup mysql slow query log and see which queries are slow. Also from the mysql console run: show processlist when you have many users.
I do not have a bootstrap.php file in that location. Could it be somewhere else or what query is it and I can search all the files?
Thanks!!
Offline
Ahh sorry...its libraries/framework/bootstrap.php
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
I should have clarified, I do not have a bootstrap.php file at all in that folder. I did find it in the libraries folder though. Will this cause an issue or is there something wrong with my setup?
Offline
Erm...do you have libraries/bootstrap.php?
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
I do have the file -> /libraries/bootstrap.php : but not the -> /libraries/framework/bootstrap.php. I assume you meant the first one in your posts and not that I needed the file in the framework folder. If I do, I assume I just copy it.
Offline
Yes. I made mistake. The correct file is libraries/bootstrap.php
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
Pages: 1