HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


[SOLVED!] Need Help Debugging Slow Site Performance

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#99607 (In Topic #19570)
Avatar

Community saint

ocP 9

Greetings,

I am wondering if anyone can give me some pointers as to finding out why my site, legendsofnorova.com, is suddenly crawling. Before a few hours ago (apx 8:00 CDT) my site has been buttery smooth. Now, it crawls at a snails pace - for me at least.

I am running the site on an unmanaged VPS using centos and kloxo CP. I have 512 MB RAM and the site is using 386 MB and there is no swapping. CPU Usage is 0.3% to 20%, depending on what is oing on. I've checked and optomized the DB.

Is there something else that I can check?

I appreciate any help here. This may or may not be ocP's fault, I simply don't know. That is why I am asking. Thanks.


Last edit: by mythus

Legends of Nor'Ova: A site powered by ocPortal; home of the Legends of Nor'Ova tabletop RPG wiki and community.

Like ocPortal? Want to thank Chris and gang somehow? Then help out in the chat room! It really needs your help! Just open it in a tab everytime you open your web browser, and when you hear a "ding", check it out!

"Those who want help should first be willing to give help."
Back to the top
 
Posted
Rating:
#99611
Avatar

Could you open a free bug report ticket? I'm happy to look into anything, including 'server' issues at root level if you want to provide that access.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#99614
Avatar

Community saint

Ticket made with server level info including ssh stuff. Also elevated your site account to admin. Really would love to find the source here lol, so thanks!

Legends of Nor'Ova: A site powered by ocPortal; home of the Legends of Nor'Ova tabletop RPG wiki and community.

Like ocPortal? Want to thank Chris and gang somehow? Then help out in the chat room! It really needs your help! Just open it in a tab everytime you open your web browser, and when you hear a "ding", check it out!

"Those who want help should first be willing to give help."
Back to the top
 
Posted
Rating:
#99632
Avatar

So this seems to be a network congestion, line noise, or network-adapter congestion issue (on the server containing the VPSs). Load does not go up, but even my SSH terminal suddenly developed multi-second latency during me running tests.

There seems to be a second issue of very long posts being slow which I think I can reproduce locally. I'm not sure the cause of that, I did check and basically ocPortal just does an "echo" of it once it's been cached, so I will need to see if something is doing excessive processing somewhere. Other things seemed fast.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#99637
Avatar

Community saint

I appreciate your help with this!

I opened a ticket with the host, showing that everything on my end is ruled out since it is unmannaged. Here's hoping they can do something.

Most of the long posts are archive posts, from me moving stuff from drupal forums and the like. Likely most would't have super long posts.

Legends of Nor'Ova: A site powered by ocPortal; home of the Legends of Nor'Ova tabletop RPG wiki and community.

Like ocPortal? Want to thank Chris and gang somehow? Then help out in the chat room! It really needs your help! Just open it in a tab everytime you open your web browser, and when you hear a "ding", check it out!

"Those who want help should first be willing to give help."
Back to the top
 
Posted
Item has a rating of 5 (Liked by mythus)  
Rating:
#99638
Avatar

Ok, progress…

Long forum posts (which are unusually common on your site, lol) were very slow. This was caused by the quote-to-quick-reply feature. ocPortal calculated a plain-text version of each post for the purpose of the UI when making threaded replies, which isn't even relevant as you don't have that turned on. That process was a bit slow, as it has to do some moderately heavy processing, and on your 62kb posts, that takes a while ;).

I have now put a limit on the quote-to-quick-reply feature, of 10kb (larger ones will go to the full reply form, which is probably best anyway). I also will disable the plain-text calculation if threaded view is not on. I have also optimised the plain-text calculation a little.

This has made a very significant speed boost :).


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Item has a rating of 5 (Liked by mythus)  
Rating:
#99639
Avatar

Most of the long posts are archive posts, from me moving stuff from drupal forums and the like. Likely most would't have super long posts.

Some of your stories are pretty long ;). That's the only slow URL I found from my quick testing, and definitely is a whole lot better. For me the site is now very snappy.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#99640
Avatar

Community saint

Awesome! LOL yeah, we tend to get pretty long-winded in our writing. Some sites might rarely have more than 2 paragraphs per pos. LofN, more than 80% of the RP posts are 3+ paragraphs, many require scrolling to read a single post lol.

One of the questions I get asked often is what is the character limit for a post…. Eh, we like to write.

Legends of Nor'Ova: A site powered by ocPortal; home of the Legends of Nor'Ova tabletop RPG wiki and community.

Like ocPortal? Want to thank Chris and gang somehow? Then help out in the chat room! It really needs your help! Just open it in a tab everytime you open your web browser, and when you hear a "ding", check it out!

"Those who want help should first be willing to give help."
Back to the top
 
Posted
Rating:
#99641
Avatar

Community saint

Site is running much better. Wonder if I should close that other ticket with the host. I'll close the one here though!

If you are ever in the States and visiting the Gulf Coast, let me know and I'll buy you a steak dinner.

Legends of Nor'Ova: A site powered by ocPortal; home of the Legends of Nor'Ova tabletop RPG wiki and community.

Like ocPortal? Want to thank Chris and gang somehow? Then help out in the chat room! It really needs your help! Just open it in a tab everytime you open your web browser, and when you hear a "ding", check it out!

"Those who want help should first be willing to give help."
Back to the top
 
Posted
Rating:
#99649
Avatar

Community saint

Just wanted to update the situation. I got a reply on my ticket around supper time…

Are you still having issues as of this email?

We did have a traffic routing issue today. Our network engineers have resolved all BGP routing issues as of this email.

If you are still having connectivity issues please let me know..

So thats another part fixed! Yay!

Legends of Nor'Ova: A site powered by ocPortal; home of the Legends of Nor'Ova tabletop RPG wiki and community.

Like ocPortal? Want to thank Chris and gang somehow? Then help out in the chat room! It really needs your help! Just open it in a tab everytime you open your web browser, and when you hear a "ding", check it out!

"Those who want help should first be willing to give help."
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: