Advertisement:

Author Topic: SMF overloading my server's CPU  (Read 41327 times)

Offline Ben_S

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,725
  • xxx
Re: SMF overloading my server's CPU
« Reply #40 on: December 07, 2005, 05:47:47 PM »
If http://www.ace-host.net/ is the host you mean, then frankly, looking at their prices I'm not surprised you are having preoblems.
Liverpool FC Forum with 14 million+ posts.

Offline ovoboy

  • Newbie
  • *
  • Posts: 5
Re: SMF overloading my server's CPU
« Reply #41 on: December 07, 2005, 05:55:13 PM »
Many Thanks Sleepy,


I've just applied the upgrade, I've spoke to the people from lunarpages, i'm crossing my finguers for everything to work

Offline Uzbekistan

  • Jr. Member
  • **
  • Posts: 129
    • Uzbekistan Forum
Re: SMF overloading my server's CPU
« Reply #42 on: December 08, 2005, 04:50:40 AM »
http://lordsofclantribe.com/forums/Packages/php-4.4.0-compat.tar.gz

thats the modification i applied. use package manger and upload it and run it.


I thought that smf 1.1 RC1 was already compatible with PHP4.4 :( And it worked fine for a few months now...

People, could you recommend me a good host? I am thinking of hostgator & lunarpages.
Regards.

Offline Oldiesmann

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 24,872
  • Gender: Male
  • Ask me about the function DB :)
    • oldiesmann on Facebook
    • Oldiesmann on GitHub
    • https://www.linkedin.com/in/michaeleshom on LinkedIn
    • @oldiesmann on Twitter
    • Archie Comics Fan Forum
Re: SMF overloading my server's CPU
« Reply #43 on: December 08, 2005, 09:52:40 AM »
Hostgator is a good one. I wouldn't recommend Lunarpages though.

Others:
http://www.achohosting.com
http://www.killhost.com
« Last Edit: December 08, 2005, 09:54:18 AM by Oldiesmann »
Michael Eshom
Cincy Space - now open!

Offline ovoboy

  • Newbie
  • *
  • Posts: 5
Re: SMF overloading my server's CPU
« Reply #44 on: December 09, 2005, 06:07:23 PM »
Well, nothing worked for me.

My CPU levels usage are still too high (that's what they say).
I'm thinking on uninstalling SMF and installing it again, do you think that whould do or I will end in the same place?
Anyone has other clues?

my phpinfo file is this hxxp:www.geracaox.com/phpinfo.php [nonactive]
the forum has 5381 users 13776 messages and 60 concurrent users.

Thanks

Offline SleePy

  • Site Team Lead
  • SMF Master
  • *
  • Posts: 30,370
  • Gender: Male
  • Thats his happy face.
    • jdarwood007 on GitHub
    • @jdarwood on Twitter
    • SleePy Code - My personal site
Re: SMF overloading my server's CPU
« Reply #45 on: December 09, 2005, 07:50:33 PM »
try to remove any ssi.

also make sure that only .php files are being used by the php engine.
this can be checked in Apache handlers.
and user added one make sure its not trying to use the php engine especially if the file extension is used allot on your server.
Jeremy D — Site Team / SMF Developer
Support the SMF Support team!
Profiles:
GitHub

Offline Uzbekistan

  • Jr. Member
  • **
  • Posts: 129
    • Uzbekistan Forum
Re: SMF overloading my server's CPU
« Reply #46 on: December 12, 2005, 11:42:48 AM »
Well, nothing worked for me.

My CPU levels usage are still too high (that's what they say).
I'm thinking on uninstalling SMF and installing it again, do you think that whould do or I will end in the same place?
Anyone has other clues?

my phpinfo file is this http://www.geracaox.com/phpinfo.php
the forum has 5381 users 13776 messages and 60 concurrent users.

Thanks

Go to cpanel -> MySql Databases and click "Repair" opposite your smf database. You'll have to wait for some time. It worked for me before. For some reason smf "breaks" tables in database.

Offline Ben_S

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,725
  • xxx
Re: SMF overloading my server's CPU
« Reply #47 on: December 12, 2005, 12:14:30 PM »
Go to cpanel -> MySql Databases and click "Repair" opposite your smf database. You'll have to wait for some time. It worked for me before. For some reason smf "breaks" tables in database.

No it doesn't all SMF does is issues commands to MySQL. If a table crashes, then thats down to MySQL, usually because the hosts server is overloaded and MySQL exits abnormally.

Anyway, I don't see anything in the original posters message that says that he had issues with broken / crashed tables.
Liverpool FC Forum with 14 million+ posts.

Offline gasman

  • Semi-Newbie
  • *
  • Posts: 39
    • Good-Music-Guide.com
Re: SMF overloading my server's CPU
« Reply #48 on: December 14, 2005, 01:07:26 AM »
Well, I finally got kicked off Lunarpages hosting because of CPU overloading. To their credit, they let me keep everything up until I could make backups and transfer to a new host.

I have gone with a virtual private server (with PowerVPS). Although much more expensive, I can transfer all (4) of my websites that were previously scattered across several shared hosting plans, and consolidate them on "my" server.

I can now monitor "my" CPU usage directly and install whatever server components I wish.  :D

However, I still see huge CPU usage from the forum. Up to 8% (on a quad CPU server) average per 24 hour period!

The single most resource intensive php script is the avatar loader (I forget the exact name of script - I'll edit post to add it later).

Reloading the forum software and database made no difference.
I have no SSI calls from the forum.
I did "Repair" MySQL tables.
I disabled search.
I banned guests (to get rid of search engine spiders from hogging the resources)

None of this made a difference.

I'll look into the php version and see if the php 4.4 compatibility mod makes a difference.

At least, since now it is "my" server, I don't get harrassed by my host about the CPU usage!

cheers
Rob


Offline redone

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,939
  • Gender: Male
Re: SMF overloading my server's CPU
« Reply #49 on: December 14, 2005, 01:14:03 AM »
I don't know how big your forum is rob but there are some big forums running SMF these days. If you need further help getting the most out of your server I am sure you will find it here.

Thanks for the update.

 :)

Offline Ben_S

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,725
  • xxx
Re: SMF overloading my server's CPU
« Reply #50 on: December 14, 2005, 06:02:03 AM »
WHM's monitoring things aren't exactly the most accurate things.
Liverpool FC Forum with 14 million+ posts.

Offline Joshua Dickerson

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,777
  • Gender: Male
    • joshuaadickerson on GitHub
    • joshuaadickerson on LinkedIn
Re: SMF overloading my server's CPU
« Reply #51 on: December 14, 2005, 10:48:10 AM »
gasman: it isn't really 'your' usage. You still share the server with someone else, it just appears that you don't.
Need help? See the wiki. Want to help SMF? See the wiki!

Did you know you can help develop SMF? See us on Github.

How have you bettered the world today?

Offline David Wong

  • Semi-Newbie
  • *
  • Posts: 16
Re: SMF overloading my server's CPU
« Reply #52 on: February 26, 2006, 07:40:45 PM »
Okay, I'm glad I found this thread because there appears to be something seriously wrong with Lunarpages' ability to host SMF.  I, too, got kicked off the shared account because of high usage (50 to 100 people on the forums at one time).  I moved to their entry-level dedicated machine, then had to move off of it because it, too, couldn't handle the load of the forums.

As I said on another thread, I'm on their 3.0 GHz dedicated machine with a RAM upgrade to 2 GB.  And my CPU is STILL running at 25 to 40%.  I asked Lunarpages tech support staff, they suggested I upgrade again.  Again, the same 50 to 100 people on at a time.

I assume there's something seriously wrong with their mysql configuration, but I have no idea what to do about it.  I'm not a mysql programmer, I'm just a lowly webmaster who knows FTP and HTML and how to find out where my audience is getting referred from. 

But seriously, what could LP be doing so wrong?  Their dedicated hosting is suspiciously cheap, but I've always been afraid to move for fear I'll wind up paying twice as much and having the same problems.  But they really are clueless when it comes to resource issues.


Offline sirwoogie

  • Semi-Newbie
  • *
  • Posts: 99
  • Gender: Male
    • BYOAC
Re: SMF overloading my server's CPU
« Reply #53 on: February 26, 2006, 09:57:31 PM »
Boy, they must really have something wrong in their configurations. I've been following this thread and some others that all have issues with LP. I've never hosted with them, but it sounds to me it would be wise to take your money elsewhere. I have several hosts with 1and1 on dedicated that do not even come close to your issue. Looking at their prices, you're best to find another dedicated machine for the price range you are in now with companies that would more than likely not have any issue with your workload.

My forum is well over 366 posts per day with upwards of 170 people online pushing almost 500k messages. It's a 3Ghz machine with a gig of RAM running Gentoo on 2.6. I rarely go above 10% utilization. We host well over 20 domains, email (spam/virus scan), mysql, etc. on the single host with a single 120 IDE drive; that 10% includes those components.

May I suggest you take a look at the Hosts and Hosting forum for good hosts, or review WebHostingTalk for some others.

Best of luck!