FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Forum datadump fatal error
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
Forum datadump fatal error [message #169153] Sun, 25 August 2013 05:39 Go to next message
TheDude is currently offline  TheDude
Messages: 120
Registered: November 2012
Location: France
Karma: 2
Senior Member
add to buddy list
ignore all messages by this user

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 523800 bytes) in /web/geekforum/FUDforum/include/theme/default/db.inc on line 53

Same thing on RC1, datadump stops and file integrity check : file truncated


Re: Forum datadump fatal error [message #169157 is a reply to message #169153] Sun, 25 August 2013 13:27 Go to previous messageGo to next message
naudefj is currently offline  naudefj   
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
Increase the memory_limit to see if it would help.
Re : Re: Forum datadump fatal error [message #169158 is a reply to message #169157] Sun, 25 August 2013 14:13 Go to previous messageGo to next message
TheDude is currently offline  TheDude
Messages: 120
Registered: November 2012
Location: France
Karma: 2
Senior Member
add to buddy list
ignore all messages by this user
Hum, don't know how to do that.
I looked into said file, line 53 is :
$ver = q_singleval('SELECT VERSION()');


Re: Re : Re: Forum datadump fatal error [message #169159 is a reply to message #169158] Mon, 26 August 2013 02:10 Go to previous messageGo to next message
naudefj is currently offline  naudefj   
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
Try it nevertheless, it should fix the problem.
Re: Re : Re: Forum datadump fatal error [message #184700 is a reply to message #169159] Sat, 18 January 2014 05:48 Go to previous messageGo to next message
RussianE39 is currently offline  RussianE39
Messages: 4
Registered: January 2014
Location: Russia
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
Increasing memory limit won't helps. I've got same issue with 3.0.6RC1 and rather big forum, when trying to dump it. I've tried following:
1. Increased memory_limit to 2048M. It won't helps
2. Set output_buffering=1 instead of 4096. Won't help too.
3. Reduced BUF_SIZE in mem_limit.inc to 1000000. Won't help too.
So, I suspect that memory limit is somehow runtime decreased, because 67108864 bytes is 64M.
Re: Re : Re: Forum datadump fatal error [message #184701 is a reply to message #169159] Sat, 18 January 2014 05:55 Go to previous message
RussianE39 is currently offline  RussianE39
Messages: 4
Registered: January 2014
Location: Russia
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
Ok, I found issue, it is definitely in mem_limit.inc, because I was able to make backup after setting BUF_SIZE to 1000000 and removing everything in that file after BUF_SIZE env var. I suspect some bug in memlimit raise function.
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: Edited forum posts do not get sent to NNTP
Next Topic: Message Rebuilder SQL error
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Oct 17 11:20:02 EDT 2017

Total time taken to generate the page: 0.00682 seconds