cmotherofpirl Posted December 12, 2007 Share Posted December 12, 2007 is there a problem with the boards this week? Link to comment Share on other sites More sharing options...
CrossCuT Posted December 12, 2007 Share Posted December 12, 2007 Link to comment Share on other sites More sharing options...
rachael Posted December 12, 2007 Share Posted December 12, 2007 Link to comment Share on other sites More sharing options...
IcePrincessKRS Posted December 12, 2007 Share Posted December 12, 2007 I have been getting these errors on a lot of threads. Link to comment Share on other sites More sharing options...
IcePrincessKRS Posted December 12, 2007 Share Posted December 12, 2007 This is the error: Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 303636 bytes) in /home/phatmass/public_html/phorum/sources/classes/attach/class_attach.php on line 584 Link to comment Share on other sites More sharing options...
Laudate_Dominum Posted December 12, 2007 Share Posted December 12, 2007 It looks like the [i]class_attach[/i] script is using more than 8MB which is the default memory limit for a script in PHP. dUSt needs to either increase the memory limit for that script, increase the default memory limit globally in php.ini, or improve the script so that it uses memory more efficiently. Perhaps there is an upgrade to IPB or PHP which would solve the problem as well. I suspect the code is poorly written and that there is a memory leak somewhere. Peace. Link to comment Share on other sites More sharing options...
CrossCuT Posted December 12, 2007 Share Posted December 12, 2007 [size=1]Yeah...what he said. [/size] Link to comment Share on other sites More sharing options...
rachael Posted December 12, 2007 Share Posted December 12, 2007 katie broke it. Link to comment Share on other sites More sharing options...
Laudate_Dominum Posted December 12, 2007 Share Posted December 12, 2007 Web apps are usually bloatware imho. There are probably loads of redundant datasets floating around at any given moment in IPB. I have little sympathy for applications that use memory frivolously. I just wrote a program (a vast galactic map editor for my goofy game) that allows one to view a representation of a region 1,600 light years in diameter (~15,137,168,756,129,280 km) and zoom in, in real time, to a subsection on the level of 189,214,609,451,616 km (20 ly) and then way down to 16,000,000,000 km in diameter, continuing from here one can zoom in (again, seamlessly and in real time) to a region with detail down to 0.02 km. The data structures that model this incredibly insane amount of space typically take about 1.6 MB of system memory at any given time and this includes a wide variety of metadata necessary to render all the details (tons of stars, planetary systems, nebulae, et cetera). I will admit that I've spent an inordinate amount of time achieving this degree of optimization, but my point is that where there is a will there is a way and more often than not these days developers are so obsessed with "RAD" development (RAD = rapid application development) that the art of truly optimal coding is forgotten. Ok, in IPB's defense it may just be that phatmass is too big a board for the default memory limit of PHP and there is no issue of any bugs, memory leaks, or glaring bloatware; hard to say without looking at the code anyway. If I may rant I think it is phat that objects can be placed anywhere in the 1600 ^3 ly space with one meter precision and that this information can be represented by a single 64 bit value and truncated to a single 32 or 16 bit value for high level views. I was forced to create my own numeric type formats at the foundations of the whole thing which was pretty fun (ints and floats just didn't cut it) and the entire type framework revolves around vector and matrix transformations. I also came up with some phat tricks for getting around having to calculate square roots and other somewhat intense (relatively speaking) operations (cool approximation techniques that don't sacrifice accuracy when it is crucial for example). My inspiration was shading languages and pipeline/stream architecture. I must admit that I'm not quite done yet as this has become a greater undertaking than originally expected. Sorry for the rant, I'm just stoked about this project I'm working on. Link to comment Share on other sites More sharing options...
Laudate_Dominum Posted December 12, 2007 Share Posted December 12, 2007 In the meantime I speculate that switching to linear mode may make it possible to view a thread that gives this error. I think standard mode involves some extra recursion and linear mode may not push things over the top. Just a theory anyway. And there is always the lo-fi version. Link to comment Share on other sites More sharing options...
Lil Red Posted December 12, 2007 Share Posted December 12, 2007 does [url="http://www.phatmass.com/catholic/all.php?subaction=showfull&id=1197051332&archive="]this[/url] have something to do with it? Link to comment Share on other sites More sharing options...
Lil Red Posted December 12, 2007 Share Posted December 12, 2007 does [url="http://www.phatmass.com/catholic/all.php?subaction=showfull&id=1197051332&archive="]this[/url] have something to do with it? Link to comment Share on other sites More sharing options...
Laudate_Dominum Posted December 12, 2007 Share Posted December 12, 2007 [quote name='Lil Red' post='1433116' date='Dec 12 2007, 12:45 AM']does [url="http://www.phatmass.com/catholic/all.php?subaction=showfull&id=1197051332&archive="]this[/url] have something to do with it?[/quote] :shock:I'm really not sure.. I hope not cuz that would stink. Link to comment Share on other sites More sharing options...
Laudate_Dominum Posted December 12, 2007 Share Posted December 12, 2007 [quote name='Lil Red' post='1433116' date='Dec 12 2007, 12:45 AM']does [url="http://www.phatmass.com/catholic/all.php?subaction=showfull&id=1197051332&archive="]this[/url] have something to do with it?[/quote] "[i]attacked by malicious hackers that were using phatmass to send out e-mail spam to the masses[/i]" The first thing I would do is disable the emailing feature for the boards, shut down any SMTP-related services and configure the firewall to block those ports. At least temporarily until it can be discovered exactly how the hackers exploited the system and how the security configuration may be lame. I hope that hackers haven't messed up phatmass. Link to comment Share on other sites More sharing options...
alicemary Posted December 12, 2007 Share Posted December 12, 2007 Several times this week I have been unable to get onto the phorum at all. Have gotten error messages, and logged off and tried again, and usually got in on my second try. Lunar eclipse? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now