Welcome, Guest. Please login or register.

Author Topic: Site availability: an explanation  (Read 3498 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline SystemTopic starter

  • Full Member
  • ***
  • Join Date: Jul 2003
  • Posts: 199
    • Show only replies by System
    • http://amiga.org
Site availability: an explanation
« on: March 15, 2002, 03:32:52 PM »
If you ever noticed that Amiga.org is unavailable for a few moments each day, here's a quick explanation.

Amiga.org's server, in order to handle the advanced load placed on it by the software, runs a PHP Caching utility called APC Cache.  While this system is fabulous and makes the site much much faster than it normally would be, we have found a problem in that it leaks "semaphores" or more to the point, memory.

As a result, we have decided to begin rebooting the server twice per day to free up the memory lost by the program.  While this might cause a moment or two of confusion, we believe it will be best overall to be able to keep everything running at it's optimum efficiency.

We currently have the site running 384mb of memory, which is it's maximum before we have to buy a new motherboard.  We have also alerted the makers of APC Cache to this situation and hope they will have a fix soon.

Wayne Hunt
Amiga.org
 

Offline Erwin-K

  • Full Member
  • ***
  • Join Date: Feb 2002
  • Posts: 128
    • Show only replies by Erwin-K
Re: Site availability: an explanation
« Reply #1 on: March 15, 2002, 05:49:06 PM »
Thanks for the heads up, Wayne.

Don't think I've run into that issue myself, but better Fire Prevention, than Fire Fighting. BTW, are there  common times for this? If so, could you post them?

Remember(USA reference) Smokey The Bear says, "Only you can prevent Users Burning."

                  Best,

                      Bob Kennedy
Best,

Bob Kennedy
 

Offline redrumloa

  • Original Omega User
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 10126
    • Show only replies by redrumloa
Re: Site availability: an explanation
« Reply #2 on: March 15, 2002, 06:15:26 PM »
I've noticed this outage, I didn't say anything because it is so brief i figured there was a simple answer. Thanks for the info.
Someone has to state the obvious and that someone is me!
 

Offline SystemTopic starter

  • Full Member
  • ***
  • Join Date: Jul 2003
  • Posts: 199
    • Show only replies by System
    • http://amiga.org
Re: Site availability: an explanation
« Reply #3 on: March 15, 2002, 09:21:35 PM »
Ahh that's why. Thanks for the heads up
 

Offline Housey

  • Sr. Member
  • ****
  • Join Date: Feb 2002
  • Posts: 394
    • Show only replies by Housey
    • http://amiga.org/modules/mylinks/visit.php?lid=33
Re: Site availability: an explanation
« Reply #4 on: March 16, 2002, 12:43:08 AM »
Fairplay  :-)
 

Chathurawind

  • Guest
*sigh* Why delete my comment?
« Reply #5 on: March 16, 2002, 03:34:44 PM »
Looks like Wayne doesn't take criticism to well.

 

Offline SystemTopic starter

  • Full Member
  • ***
  • Join Date: Jul 2003
  • Posts: 199
    • Show only replies by System
    • http://amiga.org
Re: *sigh* Why delete my comment?
« Reply #6 on: March 16, 2002, 03:43:56 PM »
I take criticism very well.  I do not take profanity tossed about very well.  I also do not take pointless anonymous dweeb criticism.  

If it's not important enough for you to log in, it's not important enough for me to bother with.

Wayne Hunt
Amiga.org
 

Offline redrumloa

  • Original Omega User
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 10126
    • Show only replies by redrumloa
Re: *sigh* Why delete my comment?
« Reply #7 on: March 16, 2002, 07:42:40 PM »
Damn right Wayne. Those types of posts just reinforce my opinion that anonymous posting should be disabled. They add no value.
Someone has to state the obvious and that someone is me!
 

Offline SystemTopic starter

  • Full Member
  • ***
  • Join Date: Jul 2003
  • Posts: 199
    • Show only replies by System
    • http://amiga.org
Re: Site availability: an explanation
« Reply #8 on: March 19, 2002, 03:39:29 PM »
Erm, the APC docs mention this problem. Have you tried running it in MMAP mode instead of SHM?

Anyway, leaked semaphores should be no problem on this machine - I had APC caching my custom-built PHP-based intranet handling several requests per second for 8 hours a day, running on a 486/33 with 32MB RAM under Linux (with a MySQL backend, I might add) - and it stayed up for weeks, if not months at a time without a complaint!
 

Offline SystemTopic starter

  • Full Member
  • ***
  • Join Date: Jul 2003
  • Posts: 199
    • Show only replies by System
    • http://amiga.org
Re: Site availability: an explanation
« Reply #9 on: March 19, 2002, 04:56:33 PM »
Yeah, but did you have an average of 30 people online at the same time running almost 40 different services?
 

Offline SystemTopic starter

  • Full Member
  • ***
  • Join Date: Jul 2003
  • Posts: 199
    • Show only replies by System
    • http://amiga.org
Re: Site availability: an explanation
« Reply #10 on: March 20, 2002, 02:08:42 PM »
There were upto 150 concurrent users and the same box provided the MySQL backend for an additional webserver... :)