uummmmmmm... fatal error?

Voice your input! Discuss anything to do with SpudFiles.com or community it's self. Constructive discussions only. This is a place to express thoughts about making the community better.
User avatar
Eddbot
Specialist 4
Specialist 4
Posts: 434
Joined: Tue Oct 09, 2007 6:08 pm

Thu Jan 10, 2008 12:15 am

ok, i was searching, and i typed in my search criteria then i clicked enter, and i got this:
"Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 262144 bytes) in /home/spudfile/public_html/forums/search.php on line 412"
i'm not a computer genius, but i think something's broken, i think it says there's only 83 gigs on the spudfiles server and that it's been completely used up
User avatar
MrCrowley
Moderator
Moderator
Posts: 10078
Joined: Fri Jun 23, 2006 10:42 pm
Location: Auckland, New Zealand
Been thanked: 3 times

Thu Jan 10, 2008 12:25 am

Hmm strange, it worked for me.

I'll ask PCGUY, if he doesn't see this first.
User avatar
rna_duelers
Staff Sergeant 3
Staff Sergeant 3
Posts: 1739
Joined: Mon Sep 26, 2005 7:07 am
Location: G-land Australia

Thu Jan 10, 2008 3:29 am

Same thing for me,just then.

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 150075 bytes) in /home/spudfile/public_html/forums/search.php on line 726
Image
User avatar
MrCrowley
Moderator
Moderator
Posts: 10078
Joined: Fri Jun 23, 2006 10:42 pm
Location: Auckland, New Zealand
Been thanked: 3 times

Thu Jan 10, 2008 3:32 am

Still good for me :?
User avatar
rna_duelers
Staff Sergeant 3
Staff Sergeant 3
Posts: 1739
Joined: Mon Sep 26, 2005 7:07 am
Location: G-land Australia

Thu Jan 10, 2008 3:34 am

I tried to use it before about 25 mins back and I thought it'd sought out soon but it's still doing it.
Image
User avatar
MrCrowley
Moderator
Moderator
Posts: 10078
Joined: Fri Jun 23, 2006 10:42 pm
Location: Auckland, New Zealand
Been thanked: 3 times

Thu Jan 10, 2008 3:40 am

Are you searching through the advance search tool? Are you searching the whole forum or a certain section?
User avatar
rna_duelers
Staff Sergeant 3
Staff Sergeant 3
Posts: 1739
Joined: Mon Sep 26, 2005 7:07 am
Location: G-land Australia

Thu Jan 10, 2008 5:14 am

I was using Quick Search on the top right of the home page.
Image
User avatar
MrCrowley
Moderator
Moderator
Posts: 10078
Joined: Fri Jun 23, 2006 10:42 pm
Location: Auckland, New Zealand
Been thanked: 3 times

Thu Jan 10, 2008 5:44 am

I've used that about four times today, all worked fine.
User avatar
Carlman
Staff Sergeant 2
Staff Sergeant 2
Posts: 1618
Joined: Sat Nov 24, 2007 1:18 am
Location: Western Australia
Been thanked: 2 times

Thu Jan 10, 2008 6:49 am

works fine for me too so i dunno wats up :D
Image
Aussie spudders unite!!
bluerussetboy
Specialist 2
Specialist 2
Posts: 265
Joined: Fri Nov 02, 2007 12:25 pm

Thu Jan 10, 2008 7:18 am

this happens occasionally to functional PHP scripts when the memory requirements exceed the default 8MB limit. Google Results

adding

Code: Select all

memory_limit = 12M
to the server's php.ini file would change the requirements for all the PHP scripts.

or

adding

Code: Select all

ini_set("memory_limit","12M");
to the top of an individual script would change it for just that script.


if you guys want a nice learning tool, you should download EasyPHP. its just your standard Apache,MySql,PHP combined into one tool. then download web applications(forums,blogs and such). it'll give you a much better understanding what goes on behind the net.

i use linux and most of this comes standard with each distrobution. a lot of neat things can be done AMP servers.
User avatar
PCGUY
Owner
Owner
United States of America
Posts: 1436
Joined: Wed Aug 18, 2004 10:54 pm
Location: Illinois
Has thanked: 2 times
Been thanked: 26 times
Contact:

Thu Jan 10, 2008 9:23 am

Hey it looks like we have a smart guy here 8)

Regardless thanks for letting me know about the error, I have to be very careful with memory limits since SpudFiles shares a server with other websites... if I take too much memory they will be mad!
Yes, I am the guy that owns & operates SpudFiles (along with our extremely helpful moderators).
User avatar
paaiyan
First Sergeant
First Sergeant
Posts: 2140
Joined: Wed Dec 27, 2006 10:03 pm
Location: Central Oklahoma
Been thanked: 1 time

Thu Jan 10, 2008 9:26 am

OMG, it's pcguy!

So what kind of hardware does the server have and how many other sites run on it?
"Who ever said the pen was mightier than the sword, obviously, never encountered automatic weapons."
-General Douglass MacArthur

Read my dog's blog - Life of Kilo
User avatar
PCGUY
Owner
Owner
United States of America
Posts: 1436
Joined: Wed Aug 18, 2004 10:54 pm
Location: Illinois
Has thanked: 2 times
Been thanked: 26 times
Contact:

Thu Jan 10, 2008 9:37 am

It runs on a quad core Intel Xeon processor, each core is 2.8ghz. The server also has 4 gigs of ram. I am not sure how many other sites are on the server, I don't control it.

My host tells me that I get to move to a more powerful server soon, but who knows when.
Yes, I am the guy that owns & operates SpudFiles (along with our extremely helpful moderators).
User avatar
paaiyan
First Sergeant
First Sergeant
Posts: 2140
Joined: Wed Dec 27, 2006 10:03 pm
Location: Central Oklahoma
Been thanked: 1 time

Thu Jan 10, 2008 9:38 am

Wow, that's a pretty good server. Must be a lot of sites on it if they're that worried about you taking their memory.
"Who ever said the pen was mightier than the sword, obviously, never encountered automatic weapons."
-General Douglass MacArthur

Read my dog's blog - Life of Kilo
User avatar
Carlman
Staff Sergeant 2
Staff Sergeant 2
Posts: 1618
Joined: Sat Nov 24, 2007 1:18 am
Location: Western Australia
Been thanked: 2 times

Thu Jan 10, 2008 10:39 am

do you know what other sites? just curious who shares space with SPUDFILES lol
Image
Aussie spudders unite!!
Post Reply