21
intel352
Re: Xoops causes httpd bind, cpu use jumps to 40+%
  • 2004/6/14 22:45

  • intel352

  • Module Developer

  • Posts: 824

  • Since: 2003/11/23


the fact that you're having such a strange fatal error in one area of the site, suggests there's more wrong than just the forum module.

22
Jakobo
Re: Xoops causes httpd bind, cpu use jumps to 40+%
  • 2004/6/14 22:48

  • Jakobo

  • Just popping in

  • Posts: 61

  • Since: 2003/12/18


Quote:

bd_csmc wrote:
the fact that you're having such a strange fatal error in one area of the site, suggests there's more wrong than just the forum module.


Well, we currently have the site limping with the following:

News
Who's Online
A Few Custom Blocks

and have had 5 hours uptime on it. Every time we enable the forums though, stuff goes haywire. o_o

This remains so VERY perplexing. When I get home, I will run myisamchk on the forums tables to see if that is causing it, though I don't think that is the case.

23
Jakobo
Re: Xoops causes httpd bind, cpu use jumps to 40+%
  • 2004/6/15 1:56

  • Jakobo

  • Just popping in

  • Posts: 61

  • Since: 2003/12/18


And moving right along, here's an update.

It appears that the foum module was bucling simple due to its high number of SQL calls. We turned on our other VERY intense service (our bittorrent tracker) and watched the server fold like an accordion. So something is buckling under the very heavy stress.

My host swears it isn't their server, but we have had a 400% jump in traffic lately due to an announcement on a popular web site. On Wed. we have a dedicated server with our name on it that will be ready (dual 2.66 xenon + 1gb ram + sysadmin we can call on a phone) so we will see if that helps.

If anyone has any ideas for how to verify it is simply a site overload, let me know as we are starting to lean more towards raw traffic being the problem. (Though that amount of XOOPS traffic in our forum would do it too)

24
phppp
Re: Xoops causes httpd bind, cpu use jumps to 40+%
  • 2004/6/15 2:23

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


hope you can make muli-level tests for newbb, including different cache time, enable/disable whoisonline, view stats, and so on...


25
Jakobo
Re: Xoops causes httpd bind, cpu use jumps to 40+%
  • 2004/6/18 16:24

  • Jakobo

  • Just popping in

  • Posts: 61

  • Since: 2003/12/18


RESOLVED:

The core of the problem was an httpd issue. As fair warning to anyone running as powerful a CMS as Xoops, you will need to look towards a dedicated server as you push the 2GB bandwidth / month barrier. A large client / thread ratio was the cause, where httpd would bind up to the point it could simply no longer handle requests. Coupled with the small delay in SQL, multiplied by 800,000 hits in a day, and it was no wonder we folded like an empty winerack.

I'll updated the first post to mark its resolved status, and hopefully this will help others who are having similar problems. Be weary of your server load, XOOPS will consume a lot of resources during peak traffic.

Lesson well learned.

26
Herko
Re: Xoops causes httpd bind, cpu use jumps to 40+%
  • 2004/6/18 16:31

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


Glad the issue has been resolved! And glad to hear it wasn't due to XOOPS

Oh, and I'll add your xoops.org name to the donators list, as it now says felocity, unlinked.

Herko

27
Jakobo
Re: Xoops causes httpd bind, cpu use jumps to 40+%
  • 2004/6/18 16:33

  • Jakobo

  • Just popping in

  • Posts: 61

  • Since: 2003/12/18


Ha, I forgot about that. XD

Though this experience does have me looking very critically at efficient SQL, and MySQL clustering.

Who knows, maybe when I get NetProject to 1.0 I'll start on a multiserver/db modification for the core. <_< >_>
It's only muddling with classes here and there, right?

28
phppp
Re: Xoops causes httpd bind, cpu use jumps to 40+%
  • 2004/6/18 16:43

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


For my case, it turns out that all caused by my stupid backend.php

29
intel352
Re: Xoops causes httpd bind, cpu use jumps to 40+%
  • 2004/6/18 16:59

  • intel352

  • Module Developer

  • Posts: 824

  • Since: 2003/11/23


just evident of a poor host, in that case. with such a high client penetration, they likely shouldn't offer mysql/php if they can't handle it.

Login

Who's Online

172 user(s) are online (122 user(s) are browsing Support Forums)


Members: 0


Guests: 172


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits