Glitch City Laboratories Forums

Lab Ω: Archive Building => Archives => Project "Phoenix" => Topic started by: Abwayax on June 21, 2010, 05:12:49 pm

Title: memory limits and whatnot
Post by: Abwayax on June 21, 2010, 05:12:49 pm
In order to try to stave off server problems I decreased PHP's memory limit from 100 MB to 32 MB. If a page on the wiki crashes and reports a memory limit error, please post a URL here. Thanks :)
Title: Re: memory limits and whatnot
Post by: Lauryn the Arisen on June 21, 2010, 06:29:45 pm
The only thing I've noticed that gets a crashed page, is the GlitchDex, all it does is display a crashed page.
Title: Re: memory limits and whatnot
Post by: Abwayax on June 21, 2010, 06:44:36 pm
It seems the glitchdex itself crashes but none of the articles WITHIN it crash. That's helpful.
Title: Re: memory limits and whatnot
Post by: Lauryn the Arisen on June 21, 2010, 06:47:06 pm
All I'm left with is a blank screen, so I can't collect HEX codes for my German Blue Project.
Title: Re: memory limits and whatnot
Post by: Abwayax on June 21, 2010, 07:14:48 pm
I temporarily raised the memory limit so I could save this. It's a saved copy of the glitchdex front page.

I'm not going to keep it any higher than 32MB though, for the interest of keeping my server alive. If PHP consumes too much memory it will kill the server.
Title: Re: memory limits and whatnot
Post by: Lauryn the Arisen on June 21, 2010, 09:18:54 pm
I think the wiki stresses the server to a point of server crash. Thanks for them, and the French A, is nothing more than a pain all it does it display a black screen. Before the wiki, the forum server was fine, but since the wiki's been public, it's been putting the server at some point of server stress.
Title: Re: memory limits and whatnot
Post by: Abwayax on June 22, 2010, 12:46:28 pm
The wiki is a necessary evolution of the site. Sometimes we forget that this forum exists only as part of a site... I'm not taking down the wiki for the forum. Since the wiki opened there has been a boost of new articles and improvements to existing ones.
Title: Re: memory limits and whatnot
Post by: Lauryn the Arisen on June 22, 2010, 01:30:09 pm
Yes, but it's putting major stress on the server. I tried to use the Red/Blue link, to only get a memory error.
Title: Re: memory limits and whatnot
Post by: Photon-Phoenix on June 22, 2010, 01:35:34 pm
It's not major stress if it's memory limit. :P
Title: Re: memory limits and whatnot
Post by: Zach the Glitch Buster on June 26, 2010, 05:52:24 pm
Well, if you've set PHP's memory limit to 32 MB and the glitch dex is crashing, but 100 MB is excessive and bad for the server, would something like 45 MB be a way to fix both problems? (The answer is most likely no because I'm guessing that 32 MB wasn't a randomly picked number)
Title: Re: memory limits and whatnot
Post by: Hālian on June 26, 2010, 07:32:48 pm
Maybe more like 48.

Computers like multiples of two.
Title: Re: memory limits and whatnot
Post by: Abwayax on June 26, 2010, 10:59:57 pm
Well, if you've set PHP's memory limit to 32 MB and the glitch dex is crashing, but 100 MB is excessive and bad for the server, would something like 45 MB be a way to fix both problems? (The answer is most likely no because I'm guessing that 32 MB wasn't a randomly picked number)
32 was taken from the Mediawiki documentation. One thing to keep in mind is that GCL is not the only site on this server, and the http daemon isn't the only daemon on the server either.
Title: Re: memory limits and whatnot
Post by: ∀xaj on June 27, 2010, 10:52:40 am
Maybe more like 48.

Computers like multiples of two.

s/multiples/exponents

Something like 64.
Title: Re: memory limits and whatnot
Post by: Zach the Glitch Buster on June 30, 2010, 01:50:43 pm
Wait a minute. The glitchdex on the old site is still up and running. Would it be possible to link everyone from the wiki to the glitchdex on the old site? Because if all of the glitchdex pages on the wiki still worked, then you could just link the glitchdex on the old site to the wiki pages on the individual glitches. Also, to prevent people from going through the old site, the sidebars and header could be removed.

Its a bit of a pain but it would restore the glitchdex and I'd say it be worth it after all the hard work that was put into the glitchdex.
Title: Re: memory limits and whatnot
Post by: Abwayax on July 11, 2010, 01:34:22 am
I've increased the memory limit to 64 MB for the time being. I'm running with this for a while, let's see how it goes.