Adult Script Pro Community Forums

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.

#1 2011-10-28 13:56:24

thiva7
Member
Registered: 2011-04-30
Posts: 1,022

LOAD PROBLEM

some times my server starts load slow ( very slow ) when starts this command run to many times :

from WHM

Main >> System Health >> Process Manager


Pid (Trace) (Kill)     thiva77     0     0.0      1.2     /usr/bin/php /home/username/public_html/index.php


when i have this line to many times my server load slow.......i cant handle that anymore sad sad sad

Offline

#2 2011-10-28 14:10:17

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: LOAD PROBLEM

Thats the index.php file, it runs for every other person that runs the script. You have > 300.000 videos so that might be the problem. Please email me ssh root access.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#3 2011-10-28 14:37:58

thiva7
Member
Registered: 2011-04-30
Posts: 1,022

Re: LOAD PROBLEM

i send you access

Offline

#4 2011-10-28 15:13:21

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: LOAD PROBLEM

Seems like the problem is a particular sql query, with duplicates. Debugging. I will probably enable slow query and then analyze tomorrow again.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#5 2011-10-28 15:33:43

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: LOAD PROBLEM

Still slow for you?


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#6 2011-10-28 18:20:56

thiva7
Member
Registered: 2011-04-30
Posts: 1,022

Re: LOAD PROBLEM

no for now works fine smile

Offline

#7 2011-10-28 18:23:58

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: LOAD PROBLEM

oki. the problem is with the dashboard recommended videos.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#8 2011-10-28 19:22:03

thiva7
Member
Registered: 2011-04-30
Posts: 1,022

Re: LOAD PROBLEM

what you mean problem with  "dashboard recommended videos" ?? now is not show  recommended videos,

so now will stop doing this problem??

Last edited by thiva7 (2011-10-28 19:32:20)

Offline

#9 2011-10-28 19:42:58

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: LOAD PROBLEM

Yes. I disabled the recommended videos until i figure out a better way to fix this.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#10 2011-10-29 13:37:58

thiva7
Member
Registered: 2011-04-30
Posts: 1,022

Re: LOAD PROBLEM

is load slow again

Offline

#11 2011-10-29 15:15:21

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: LOAD PROBLEM

Are you doing video conversion?

I just checked. There is no load on your server:
top - 08:17:26 up 52 days, 14:16,  2 users,  load average: 0.13, 0.17, 0.17

You cant expect magic. You have a server with a 2.8Ghz CPU and 1GB Ram. You dont have that much traffic, but you have a huge database. I think it can work with a few users online at the same time, but with the users and the conversion it wont work at the same time sad


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#12 2011-10-29 17:41:30

thiva7
Member
Registered: 2011-04-30
Posts: 1,022

Re: LOAD PROBLEM

no im not doing video conversion? loke you can see i have close video upload session,
so what will happent with my site?? will be slow some times?

Offline

#13 2011-10-30 07:24:19

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: LOAD PROBLEM

If i can check exactly in the moment when the site is slow, i could find out if there is a problem, but like i said above with a 2.8Ghz CPU and 1GB RAM you can expect to be able to have  a lot of visitors at the same time.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#14 2011-10-30 12:37:53

thiva7
Member
Registered: 2011-04-30
Posts: 1,022

Re: LOAD PROBLEM

is dual core ( 2 x 2.8 GHZ) is this not enough?
and if change to 2 GB ram ?

Offline

#15 2011-10-30 12:54:20

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: LOAD PROBLEM

The script itself is not resource intensive (you can check the memory footprint and compare it with other scripts). Same the database is optimized (you can compare it also). You have a lot of videos, so the database is very very big. It depends on how many visitors you have, if the 2GB is good enough or not.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#16 2011-10-31 14:30:06

thiva7
Member
Registered: 2011-04-30
Posts: 1,022

Re: LOAD PROBLEM

if i convert apache to lighttpd can stop my problem??

http://www.shoalresearch.com/index.php? … &Itemid=53

im trying to find the best solution for me sad

Offline

#17 2011-10-31 16:36:41

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: LOAD PROBLEM

It might help a little, but it wont solve the problem completly. Once you get more visitors you will also need more RAM.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

Board footer

Powered by FluxBB