Loading ...

Question with traffic in the site

Board index / PHP Melody - Video CMS / PHP Melody 1.6.x (old version)

Forums for the previous PHP Melody version (1.6.x)

Postby jgermanas on Jan 17, 2012 10 pm


Hello all.

My website of videos works well always, but I'm having problems when my site has many visitors.

He is slow some times and the page loads but does not open.

I wonder if the script has some limitation or how I could optimize it for better performance using less resources so that the site does not 'crash'.

The server works well, is optimized and is reserved solely for him.

Thanks for the help.
jgermanas
Verified Customer
Verified Customer
 
Posts: 45
Joined: Jun 16, 2009 5 pm
Reputation points: 0

Postby Trace on Jan 17, 2012 10 pm


Could you give us a link to the site and some numbers of visitors/hits and videos, tags and categories?
User avatar
Trace
Verified Customer
Verified Customer
 
Posts: 2543
Joined: Aug 16, 2010 3 pm
Location: The Netherlands
Reputation points: 1329

Postby jgermanas on Jan 17, 2012 10 pm


My site had and have many visitors on this page.

http://www.videosmais.com.br/estupro-no ... a1fa2.html

Because of Big Brother (program on TV).

I'm with more than 100 users online on this page only.

Direct visits.

Website: http://www.videosmais.com.br
Last edited by jgermanas on Jan 18, 2012 4 am, edited 1 time in total.
jgermanas
Verified Customer
Verified Customer
 
Posts: 45
Joined: Jun 16, 2009 5 pm
Reputation points: 0

Postby jgermanas on Jan 18, 2012 12 am


Is there any validation system (license verification) that will block the site if it has a lot of visits, for example?

It seems that something is holding the site...

I really need to solve it!

Tyvm!
jgermanas
Verified Customer
Verified Customer
 
Posts: 45
Joined: Jun 16, 2009 5 pm
Reputation points: 0

Postby muzikia on Jan 19, 2012 3 pm


Phpmelody doesn't have such limitations but of course you may rewrite many functions to optimize it.
http://www.ModMyScript.com - PHPMelody plugins and mods since 2008
http://www.HostingWays.com - Shared or VPS Hosting
*** PHP Melody user and plugins maker for 9 years and counting.
User avatar
muzikia
Verified Customer
Verified Customer
 
Posts: 4120
Joined: Mar 24, 2008 6 am
Location: ModMyScript.com - PHPMELODY mods
Reputation points: 167

Postby brownbloodz on Jan 19, 2012 6 pm


You need to move your site to a better hosting. Site is slow because of the hosting you're on.
User avatar
brownbloodz
Verified Customer
Verified Customer
 
Posts: 1243
Joined: May 01, 2008 8 pm
Reputation points: 261

Postby jgermanas on Jan 31, 2012 5 pm


No. The server is very good! Tested and optimized! I think the problem is on the remote license verification.

I've talked to the manager of server, Jefferson (perhaps some here know), and he assured me that it probably is it.

I could talk to someone responsible for this? For a local license, since I paid for the license of the script and it's damaging me.

How could I solve this?

I really needed solve it because my site crashes and sometimes does not open.

I appreciate the help.

Thanks in advance.
jgermanas
Verified Customer
Verified Customer
 
Posts: 45
Joined: Jun 16, 2009 5 pm
Reputation points: 0

Postby jgermanas on Jan 31, 2012 5 pm


This happens sometimes and is holding. It is not server problem.
jgermanas
Verified Customer
Verified Customer
 
Posts: 45
Joined: Jun 16, 2009 5 pm
Reputation points: 0

Postby brownbloodz on Jan 31, 2012 5 pm


It's not a PHP Melody issue. I had the same issue when I was on a shared hosting. I had high number of visitors (60,000 per day) and I had to upgrade to dedicated server. You might want to upgrade your server memory and see how the site performs.
User avatar
brownbloodz
Verified Customer
Verified Customer
 
Posts: 1243
Joined: May 01, 2008 8 pm
Reputation points: 261

Postby jgermanas on Jan 31, 2012 6 pm


So ... I discovered that this is not the amount of visits.

With very or few visitors this happens.

I think it is a problem in the script that is holding.

Thank you very much!
jgermanas
Verified Customer
Verified Customer
 
Posts: 45
Joined: Jun 16, 2009 5 pm
Reputation points: 0

Postby Trace on Jan 31, 2012 6 pm


Got a link to your website?
Do you have any plugins running?
User avatar
Trace
Verified Customer
Verified Customer
 
Posts: 2543
Joined: Aug 16, 2010 3 pm
Location: The Netherlands
Reputation points: 1329

Postby jgermanas on Jan 31, 2012 7 pm


My website is: http://www.videosmais.com.br

I have no plugin.

I have only this video site.

My script is updated and no major changes. It's original since 2007.

I really need your help to solve it. Thank you!
jgermanas
Verified Customer
Verified Customer
 
Posts: 45
Joined: Jun 16, 2009 5 pm
Reputation points: 0

Postby Trace on Jan 31, 2012 8 pm


The only thing I can think of creating the heavy load is the captcha protection image for the comments.
It is generated with the GD library and that can take quite some server memory.
User avatar
Trace
Verified Customer
Verified Customer
 
Posts: 2543
Joined: Aug 16, 2010 3 pm
Location: The Netherlands
Reputation points: 1329

Postby qasim008 on Oct 04, 2015 8 pm


Dear All

i have only 60 to 120 visitor on my site at a time after sudden my site got crashed and a error appear

Warning: array_key_exists() expects parameter 2 to be array, null given in /hermes/bosnaweb01b/b1988/ipg.qasim008/php3/include/functions.php on line 4443 Warning: Smarty error: unable to read resource: "index.tpl" in /hermes/bosnaweb01b/b1988/ipg.qasim008/php3/Smarty/Smarty.class.php on line 1092 Warning: Smarty error: unable to read resource: "index.tpl" in /hermes/bosnaweb01b/b1988/ipg.qasim008/php3/Smarty/Smarty.class.php on line 1092

i discous this error to my hosting provider . they cheek all the setting and reply that your site made more then 75000 sql query in an hour and our max limit is 75000 so that's why your site got crash. they suggest that i should optimize my site and use w3 cashe on my site or upgrade to VPS

My question is

No 1 how it is possible, my site has only 60 to 120 user at a time how can they make 75000 or greater sql query in a hour?
No 2 how can i install w3 cashe plugin in my CMS
No 3 how can i optimize my site?
qasim008
Non-verified
Non-verified
 
Posts: 4
Joined: May 25, 2015 6 pm
Reputation points: 0

Postby muzikia on Oct 06, 2015 10 am


The answer:

1. I have a client of modmyscript.com hosted by me that has around 175.000 of visitors per day. Phpmelody works fine. ... And it serves 75% local stored content.
Of course, for sure the SQL can be optimized all the time but it simply works.
2. W3 cache is only for WordPress as you know. On my dedicated, my phpmelody clients run their websites on Apache and as cache we use nginx and around 10 DNS servers accross world that serves the content. Nginx works as a cache server as well. It deals with over 100.000 visits easily.
3. There is server side optimization, see point 2 and probably you can easily move some local resources to some fast CDN.

PS: Since 2009 I met many that are trying to run websites and earn some money by hosting their websites on 10 USD per month websites that limit everything.
All of us have to know that there is a time when we have to invest money and knowledge once our website become famous.

All shared accounts have limits and the resources are, guess, shared accross all the clients.
Of course you may choose a VPS. you have to know that even if the vos offers you - for instance KVM - dedicated core or memory, many hosting companies won't let you abuse of the cpu cores.

Therefore, I recommend you dedicated solution . my two cents after many years of working with phpmelody and hosting
.
http://www.ModMyScript.com - PHPMelody plugins and mods since 2008
http://www.HostingWays.com - Shared or VPS Hosting
*** PHP Melody user and plugins maker for 9 years and counting.
User avatar
muzikia
Verified Customer
Verified Customer
 
Posts: 4120
Joined: Mar 24, 2008 6 am
Location: ModMyScript.com - PHPMELODY mods
Reputation points: 167


Who is online

Users browsing this forum: No registered users and 9 guests

cron