Advertisement:

Author Topic: Site loading Slow and Intermittently  (Read 31367 times)

Offline slackerpunk

  • Jr. Member
  • **
  • Posts: 193
Site loading Slow and Intermittently
« on: November 22, 2007, 10:19:21 PM »
SMF Version: SMF 1.1.5
My forums used to be fast but not sure what happened but one day my forum just decided to just slow down at times and even not load at all but this does not happen all the time it happens intermittently not sure what the problem is. I've contacted my host several times and they tell me when this happens that I am not exceeding my limits so that gives me no idea on what really is happening.

Alreayd installed APC tried both Level 1 and Level 2 still the same. Disabled database driven sessions. I tried switching between php safe_mode on and off but still the same. Does not happen all the time.

I have like 10-14k registered members but on the average of 15 min intervals around 90-150 users online.

Operating System:     Linux 2.6.9-023stab044.11-entnosplit
Processor:    Intel® Xeon® CPU E5310 @ 1.60GHz (400.213MHz)
384MB Guaranteed Ram Burstable to 1024MB
30GB of HDD Space
450GB of bandwidth
PHP Version 5.1.6
Apache 2.2.3

Status PHP File
PHPINFO File

SMF: 1.1.4
Mods: (the one's in bold are the only one's being used while the others are just loaded)
Mod Name     Version     
1. Prevent Adding Signature Images And Links    1.1    [ Apply Mod ] [ List Files ] [ Delete ]
2. Ad Managment    2.3    [ Uninstall ] [ List Files ] [ Delete ]
3. nneonneo's AJAX ShoutBox    1.11    [ Apply Mod ] [ List Files ] [ Delete ]
4. Global Announcements    1.0    [ Uninstall ] [ List Files ] [ Delete ]
5. YouTube BBC Tag (XHTML Compliant)    1.0    [ Uninstall ] [ List Files ] [ Delete ]
6. Anonym.to All External Links    1.2    [ Apply Mod ] [ List Files ] [ Delete ]
7. Karma Description Mod    2.3    [ Uninstall ] [ List Files ] [ Delete ]
8. Change Theme Permission    1.0    [ Apply Mod ] [ List Files ] [ Delete ]
9. SMF Trader System    1.1    [ Apply Mod ] [ List Files ] [ Delete ]
10. TinyPortal    0.983    [ Uninstall ] [ List Files ] [ Delete ]

« Last Edit: June 06, 2008, 05:44:04 AM by slackerpunk »

Offline jerm

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,250
Re: Site loading Slow and Intermittently
« Reply #1 on: November 22, 2007, 11:28:49 PM »
Who's your host? I really don't want to play the blame game with your host.. but if it just random goes slow, then it is your hosts fault. If you are paying 3$ a month for 100gigs of bandwidth, then your host is just overselling and probably don't know what they are doing. They will always blame SMF for any "slow downs" because they don't know how to properly set up their servers.

Offline 青山 素子

  • Server Team
  • SMF Super Hero
  • *
  • Posts: 17,072
  • 戦場ヶ原、蕩れ!
    • srvrguy on GitHub
    • @motokochan on Twitter
    • Nekomusume Moe
Re: Site loading Slow and Intermittently
« Reply #2 on: November 22, 2007, 11:54:32 PM »
It took over a minute for the status page to load, so something is up with the server.

Load is low, swap usage is low, things seem okay on that end. Only 8 processes showing, however.

Something is causing issues though. Is this shared hosting, a VPS, or dedicated?
« Last Edit: November 22, 2007, 11:56:12 PM by Motoko-chan »
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


Offline slackerpunk

  • Jr. Member
  • **
  • Posts: 193
Re: Site loading Slow and Intermittently
« Reply #3 on: November 22, 2007, 11:56:11 PM »
my host is jaguarpc.com and no I don't pay cheap for it.. I pay $33.97/month to get that spec and hosting and its on VPS

Offline slackerpunk

  • Jr. Member
  • **
  • Posts: 193
Re: Site loading Slow and Intermittently
« Reply #4 on: November 23, 2007, 12:31:04 AM »
and now its loading up fast and fine wtf

Offline 青山 素子

  • Server Team
  • SMF Super Hero
  • *
  • Posts: 17,072
  • 戦場ヶ原、蕩れ!
    • srvrguy on GitHub
    • @motokochan on Twitter
    • Nekomusume Moe
Re: Site loading Slow and Intermittently
« Reply #5 on: November 23, 2007, 12:32:33 AM »
my host is jaguarpc.com and no I don't pay cheap for it.. I pay $33.97/month to get that spec and hosting and its on VPS

You do realize that is rather cheap for a VPS with those specs, right?

400gB of transfer is about 1.3mbit, which would cost about $100 a month from a colo place. You are paying less than half of that cost for the total package. For the price you are paying, the proper specs should be half of what is advertised.

I honestly think the host might be overloading the actual box the VPS is sitting on. It would explain the odd slow behavior while the VPS load and other specs look perfectly fine. The status page, which doesn't do anything special took over a minute to load - and with a load average of under 0.50 on all times.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


Offline slackerpunk

  • Jr. Member
  • **
  • Posts: 193
Re: Site loading Slow and Intermittently
« Reply #6 on: November 23, 2007, 12:51:11 AM »
yups I just got this off a promo around 4 months ago the usual price for this package is $40... i don't think smf is eating up alot of cpu or mems.. could be an issue with bandwidth?

Offline slackerpunk

  • Jr. Member
  • **
  • Posts: 193
Re: Site loading Slow and Intermittently
« Reply #7 on: November 23, 2007, 01:05:07 AM »
how much should mysql processes be?

Offline slackerpunk

  • Jr. Member
  • **
  • Posts: 193
Re: Site loading Slow and Intermittently
« Reply #8 on: November 23, 2007, 09:14:15 AM »
ok some updates... i have

1. converted table to innoDB using this thread http://www.simplemachines.org/community/index.php?topic=50217.0


will try and tweak mysql

Offline Sarge

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 6,209
  • Gender: Male
    • Zëri YT!
Re: Site loading Slow and Intermittently
« Reply #9 on: November 24, 2007, 08:38:59 AM »
Try selecting "Disable hostname lookups?" in SMF Admin > Features and Options > Layout and Options tab.

"Page created in 0.148 seconds with 14 queries." But I counted 10 seconds till the page loaded, and it kept loading after that ("Waiting for pinoypsp.com...") Other times, the page took longer time to get created, but it loaded quite fast.

Sometimes I can't even connect. It really feels like a host issue to me.
    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

Offline slackerpunk

  • Jr. Member
  • **
  • Posts: 193
Re: Site loading Slow and Intermittently
« Reply #10 on: November 28, 2007, 04:53:14 AM »
Try selecting "Disable hostname lookups?" in SMF Admin > Features and Options > Layout and Options tab.

"Page created in 0.148 seconds with 14 queries." But I counted 10 seconds till the page loaded, and it kept loading after that ("Waiting for pinoypsp.com...") Other times, the page took longer time to get created, but it loaded quite fast.

Sometimes I can't even connect. It really feels like a host issue to me.

Already disabled hostname lookups when I made this post and after some tweaks it seems fast but the problem is its happening from time to time.. sometimes the site is fast sometimes its slow.. By the way I've tried caching level 1 and 2 and still the same

Offline Ben_S

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,725
  • xxx
Re: Site loading Slow and Intermittently
« Reply #11 on: November 28, 2007, 08:24:11 AM »
Your status.php & phpinfo isn't even loading here until about 15 seconds after clicking, take it up with your host it's an issue at their end.
Liverpool FC Forum with 14 million+ posts.

Offline slackerpunk

  • Jr. Member
  • **
  • Posts: 193
Re: Site loading Slow and Intermittently
« Reply #12 on: December 22, 2007, 09:34:34 AM »
after much testing seems like its an issue with apache crashing because of ghost connections not sure whats really causing this because when the problem starts I just restart the httpd service and everything will work fine, fast and normal but after sometime it will happen again and it does it randomly not on any specific time or anything

Offline metallica48423

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,842
  • Gender: Male
  • Professional Multislacker!
    • Zentendo
Re: Site loading Slow and Intermittently
« Reply #13 on: December 24, 2007, 12:31:18 AM »
any luck?

Is it possible whatever control panel software is running is doing its log calculation or log rotation around these times? these processes eat a LOT of clock and memory and can cause significant slowdowns...

I suspect an oversold box as well
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

Quote
Microsoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"

Useful Links:
Online Manual!
How to Help us Help you   
Search
Settings Repair Tool
     

Offline Metal_13

  • Jr. Member
  • **
  • Posts: 126
    • Pinoytambay.com
Re: Site loading Slow and Intermittently
« Reply #14 on: December 27, 2007, 05:23:58 PM »
try removing one of these

2. Ad Managment    2.3
or
10. TinyPortal    0.983


Page created in 0.093 seconds with 27 queries.

27 queries is really big...


and you got 7 ads in per page... thats really heavy....

Offline karlbenson

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,629
  • Gender: Male
    • Criminal Brief UK
Re: Site loading Slow and Intermittently
« Reply #15 on: December 27, 2007, 05:29:13 PM »
Although it is in no way related to your problem.
While you are at it, I'd recommend changing the YouTube mod for
http://custom.simplemachines.org/mods/index.php?mod=936

This is because the old youtube mods had a low risk XSS vulnerability which could potentially be exploited (due to some bugs in YouTube, yes bugs in YT)

Offline slackerpunk

  • Jr. Member
  • **
  • Posts: 193
Re: Site loading Slow and Intermittently
« Reply #16 on: January 06, 2008, 09:35:13 PM »
@karlbenson
thanks for the heads up..

been checking the problem for weeks now seems like an issue with apache because whenever the slow down happens I just restart httpd and everything will work fine. And whenever the problem occurs the server load goes down to a halt like nothing is happening or the server is not doing anything

Offline slackerpunk

  • Jr. Member
  • **
  • Posts: 193
Re: Site loading Slow and Intermittently
« Reply #17 on: January 06, 2008, 09:55:27 PM »
any luck?

Is it possible whatever control panel software is running is doing its log calculation or log rotation around these times? these processes eat a LOT of clock and memory and can cause significant slowdowns...

I suspect an oversold box as well

not much luck i am using plesk anyway to check on this? thanks

Offline slackerpunk

  • Jr. Member
  • **
  • Posts: 193
Re: Site loading Slow and Intermittently
« Reply #18 on: January 06, 2008, 10:01:07 PM »
Is there anyway to embed google ads instead of using ads management

Offline slackerpunk

  • Jr. Member
  • **
  • Posts: 193
Re: Site loading Slow and Intermittently
« Reply #19 on: January 06, 2008, 10:33:31 PM »
try removing one of these

2. Ad Managment    2.3
or
10. TinyPortal    0.983


Page created in 0.093 seconds with 27 queries.

27 queries is really big...


and you got 7 ads in per page... thats really heavy....


i've tried removing the ads before and its still the same.. like I said on my first post it was working fine and fast until it suddenly gave me intermittent problems never changed anything from the setup