Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Allowed memory size of 8388608 bytes

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> This Website
View previous topic :: View next topic  
Author Message
Lancer
LXF regular


Joined: Thu Apr 07, 2005 12:59 pm
Posts: 232

PostPosted: Thu Dec 28, 2006 6:29 am    Post subject: Allowed memory size of 8388608 bytes Reply with quote

There's not much worse than going to a loot of trouble documenting a problem complete with logs etc only to have LXF forum come up with the error:
Code:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 427491 bytes) in /var/www/html/includes/classes/Smarty/core/core.write_cache_file.php on line 39

Even the preview allows the post, so there's no clue that you've gone over a specified limit. Once htis happens it becomes impossible to edit / delete the post. It's stuck there like an annoying black hole waiting for readers to click the topic and surprise them with the same error.

...can LXF forum please have a better method of letting us know when a post isn't going to work?
Back to top
View user's profile Send private message
jjmac
LXF regular


Joined: Fri Apr 08, 2005 2:32 am
Posts: 1996
Location: Sydney, Australia

PostPosted: Thu Dec 28, 2006 8:01 am    Post subject: RE: Allowed memory size of 8388608 bytes Reply with quote

Howdy,

do you mean ...

Linux Format Forum Index » Linux » Help!
Post subject: Xorg versus Thinkpad Posted: Dec 28, 2006 - 06:21 AM
>>
I have an annoying problem with Fedora Core 6 on my IBM Thinkpad, model T22. It only seems to boot into X every third time or so.

Usually it begins to boot, but it stalls just when trying to change to the greeter (the part where I type in username and password).
.
.
.
>>

The saved page is just under 2 Mbs ...

Sounds curious though, and i know scrap about this really, but, the only thing that i notice there would be,

>>
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: Open failed
>>

Though fails in the log don't necessarily mean that X it self wont start.

I'd try and save the logs from a failed boot, and save the /dev directory state ... then grep/compare them against a successfull boot.

8 Mbs does sound like a large drop. Deciding on whats relevant isn't easy as well ...

Maybe breifing the logs and working it up from there might help.


jm
_________________
http://counter.li.org
#313537

The FVWM wm -=- www.fvwm.org -=-

Somebody stole my air guitar, It happened just the other day,
But it's ok, 'cause i've got a spare ...
Back to top
View user's profile Send private message
Lancer
LXF regular


Joined: Thu Apr 07, 2005 12:59 pm
Posts: 232

PostPosted: Thu Dec 28, 2006 8:22 am    Post subject: RE: Allowed memory size of 8388608 bytes Reply with quote

Thanks for looking at that. How did you manage to get into it? I can't read my own post because of the error.

The problem, as you said is that it's very difficult cutting a log down when you're not really sure exactly where the problem might be. The minute I chop out something, someone is likely to say "hey - it's because such and such is missing".

Your idea of comparing boots is good, though once it fails I can't use anything - screen, keyboard or mouse... only hard boot and hope next one gets through. I'm not sure if X is at fault because it happens somewhere between grub / initiation and the graphical log in greeter.

It's not the first time the size limit has hit me. I thingk LXF should have a character limit on the textbox because as it is, there is no way of telling if you've overstepped the limit until you hit "submit". (no - preview does not tell you either).
Back to top
View user's profile Send private message
Ram
LXF regular


Joined: Thu Apr 07, 2005 10:44 pm
Posts: 1661
Location: Guisborough

PostPosted: Thu Dec 28, 2006 9:00 am    Post subject: RE: Allowed memory size of 8388608 bytes Reply with quote

Would be nice if they fixed the " Notify me " when a reply is posted.
_________________

lubuntu LXDE 13.10 running on AMD Phenom II*4; ASUS Crosshair III Formula MB; 4 GB Ram.....
Back to top
View user's profile Send private message MSN Messenger
Lancer
LXF regular


Joined: Thu Apr 07, 2005 12:59 pm
Posts: 232

PostPosted: Thu Dec 28, 2006 9:04 am    Post subject: Re: RE: Allowed memory size of 8388608 bytes Reply with quote

Ram wrote:
Would be nice if they fixed the " Notify me " when a reply is posted.


Seems to work for me. Sure your ISP isn't blacklisting LXF replies?

Back to topic: LXF should set a character limit on the text box.
Back to top
View user's profile Send private message
jjmac
LXF regular


Joined: Fri Apr 08, 2005 2:32 am
Posts: 1996
Location: Sydney, Australia

PostPosted: Thu Dec 28, 2006 9:14 am    Post subject: RE: Allowed memory size of 8388608 bytes Reply with quote

Howdy,


I didn't have any problem reading it , but it did cut out before the Xorg.0.log was complete.

You could use a LiveCD between boots to back up the various logs, just to contain the output and make it easier to extract/compare. As long as there is a cd/dvd drive handy.

Try booting to the console instead maybe. I'd delete the xdm symlink in one of the runlevels and edit /etc/inittab to reflect that. At least it may give you some lee time to probe about a bit before starting X up.

Again, not being an expert, but ... at console prompt, you could check the /dev directory to see if anything is missing there. And maybe starting X, passing it as a cli to the 'strace' program ... and piping/redirecting the output to a text file as a kind of forensic exercise ' 2>&1 |tee out-file.log' may be revealing.

It can be surprising just how usefull 'strace' can be sometimes, it has been very usefull to me lately for tracing down the obscure font choices some programs insist on defaulting to (grin). Then aliasing those up to something that is more suitable for me.

>>
I'm not sure if X is at fault because it happens somewhere between grub / initiation and the graphical log in greeter.
>>

Good point ... also, you mention it doesn't happen every boot, but does seem to have a consistency ... Could there be a lock file involved. One that isn't being removed on a shutdown, causing X's fail on a subsequent boot, and being removed with the reboot, allowing the next attempt to succeed. That can and does happen. Something to do with the shutdown occuring before the system gets to deal with a polled system request i think, such as deleting a lock file. Another thing to look at could be the way udev is set up if your running that. Which, if it does have a hand in it, it would point to a device file not being created when it should. But that dosen't explain the 'every so many boots' part.

The size limit thing is also curious, strange too that the previw worked but the submission didn't and that you can't view that post as well.

Have you still got a copy of it, what is the actual size.


Good Luck


jm
_________________
http://counter.li.org
#313537

The FVWM wm -=- www.fvwm.org -=-

Somebody stole my air guitar, It happened just the other day,
But it's ok, 'cause i've got a spare ...
Back to top
View user's profile Send private message
Ram
LXF regular


Joined: Thu Apr 07, 2005 10:44 pm
Posts: 1661
Location: Guisborough

PostPosted: Thu Dec 28, 2006 2:07 pm    Post subject: Re: RE: Allowed memory size of 8388608 bytes Reply with quote

Lancer wrote:
Ram wrote:
Would be nice if they fixed the " Notify me " when a reply is posted.


Seems to work for me. Sure your ISP isn't blacklisting LXF replies?

Back to topic: LXF should set a character limit on the text box.


Well I changed my addy lets see if that works.

back on topic I still get the error
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 426083 bytes) in /var/www/html/includes/classes/Smarty/core/core.write_cache_file.php on line 39

Am at work so using XP / IE not that should make a difference.
Back to top
View user's profile Send private message MSN Messenger
Rhakios
Moderator


Joined: Thu Apr 07, 2005 12:18 am
Posts: 7604
Location: Midlands, UK

PostPosted: Thu Dec 28, 2006 2:21 pm    Post subject: RE: Re: RE: Allowed memory size of 8388608 bytes Reply with quote

Quote:

I can't read my own post because of the error.


Lancer

I've cropped your post a little and added the final code tag, can you view it now?

Try emptying your browser cache as well. As for your problem with the board in general, there's nothing I can do about that, you'd need to ask Mike, or one of the other admins.
_________________
Bye, Rhakios
Back to top
View user's profile Send private message
Lancer
LXF regular


Joined: Thu Apr 07, 2005 12:59 pm
Posts: 232

PostPosted: Thu Dec 28, 2006 3:26 pm    Post subject: RE: Re: RE: Allowed memory size of 8388608 bytes Reply with quote

Thanks. Yes, that's why I posted the problem in here. Unsure who to ask although I hoped they would see it. Looks like they only need to add LENGTH="xxxxx" to the reply form textbox.
Back to top
View user's profile Send private message
SootynSweep
LXF regular


Joined: Thu Apr 07, 2005 8:49 am
Posts: 261

PostPosted: Fri Dec 29, 2006 10:37 am    Post subject: RE: Re: RE: Allowed memory size of 8388608 bytes Reply with quote

Strange, I can open the Xorg versus Thinkpad topic as anon without any problem.

But after logging in so I can send a reply I get this message:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 395143 bytes) in /var/www/html/includes/classes/Smarty/core/core.write_cache_file.php on line 39

So I logout and can open it, log back in I can't ;-(
Back to top
View user's profile Send private message
M-Saunders
LXF regular


Joined: Mon Apr 11, 2005 1:14 pm
Posts: 2893

PostPosted: Fri Dec 29, 2006 11:51 am    Post subject: RE: Re: RE: Allowed memory size of 8388608 bytes Reply with quote

How bizarre. Sorry for the trouble folks -- I'll look into it when I'm back in the office, and perhaps set a limit on message size that informs you if you've gone over.

Mike
Back to top
View user's profile Send private message Visit poster's website
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> This Website All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast