Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Jun 29, 2013 5:54 am 
Offline
Junior Member

Joined: Wed Apr 25, 2012 5:38 pm
Posts: 47
Hi Guys, wondering if you could give any advice. I have sevral domains on the same linode. 1 is running very slow, ie www.whitbyseaanglers.co.uk and its forum.

Typical response time is over 1 minute. Im really not sure where to even start with trouble shooting.

Best wishes - Glenn


Top
   
PostPosted: Sat Jun 29, 2013 7:20 am 
Offline
Junior Member

Joined: Wed Apr 25, 2012 5:38 pm
Posts: 47
Please help guys

login as: glenn
glenn@176.58.100.62's password:
Last login: Sat Jun 29 11:10:36 2013 from host-92-29-143-58.as13285.net
[glenn@whitbyweb ~]$ sudo su -
[root@whitbyweb ~]# /etc/init.d/lsws restart
[root@whitbyweb ~]# sudo /etc/init.d/lsws restart
[root@whitbyweb ~]# sudo /etc/init.d/apache2 restart
sudo: /etc/init.d/apache2: command not found
[root@whitbyweb ~]# sudo/etc/init.d/lsws restart
-bash: sudo/etc/init.d/lsws: No such file or directory
[root@whitbyweb ~]# sudo /etc/init.d/lsws restart
[root@whitbyweb ~]#


Top
   
PostPosted: Sat Jun 29, 2013 7:48 am 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
The following three commands will print out some useful troubleshooting info:

Code:
free -m
ps auxwww
vmstat 1 30


(The last command will take about 30 seconds.)

Also, the waterfall graph from your browser's developer tools may be helpful to determine exactly what's breaking. (Be sure to clear your cache before reloading.)

Any configuration files? Is it just static files, or are you using something like Cobol on Cogs to dynamically generate stuff?

Are there any log files?

What is that "lsws" thing you keep restarting?

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
PostPosted: Sat Jun 29, 2013 8:25 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Here's pingdom's view of loading your site http://tools.pingdom.com/fpt/#!/dL8eaZ/ ... ers.co.uk/ it's spending a lot of time processing the PHP requests, looks like you're using wordpress, have a search in the forum for wordpress optimisation, it'll boil down to APC, Wordpress Super Cache (or something similar). You could also give newrelic.com a go and see if they can pinpoint what's slowing PHP down.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
PostPosted: Sat Jun 29, 2013 2:46 pm 
Offline
Junior Member

Joined: Wed Apr 25, 2012 5:38 pm
Posts: 47
Thanks for your help so far guys, Ill run those commands in a minute and see what comes through.

Just to clarify, the site is wordpress with an smf forum in a subfolder. Both w
are running slow not just wordpress.


Im just wondering if what I did last night could have caused this, I linked the forum up with rss feed from wordpress so it shows a list of latest wordpress articles on the forum homepage. Was all working fine when I went to bed.

Im going to try undo that change and turn off super cache and some other plugins


Top
   
PostPosted: Sat Jun 29, 2013 3:30 pm 
Offline
Junior Member

Joined: Wed Apr 25, 2012 5:38 pm
Posts: 47
obs wrote:
Here's pingdom's view of loading your site http://tools.pingdom.com/fpt/#!/dL8eaZ/ ... ers.co.uk/ it's spending a lot of time processing the PHP requests, looks like you're using wordpress, have a search in the forum for wordpress optimisation, it'll boil down to APC, Wordpress Super Cache (or something similar). You could also give newrelic.com a go and see if they can pinpoint what's slowing PHP down.



Hi Obs, thankyou so much for your help. That link you posted had the clue. It was showing RSS was causing a problem, which jogged my memory to the fact I had linked rss to the forum last night to post a list of recent topics onto the forum. I undid the rss feed and all came right instantly. So cheers for that. I will keep that link for future reference.

Also thankyou to everyone else who read and offered assistance. Much appreciated.

Best wishes - Glenn


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group