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

Home » FUDforum » FUDforum Installation Issues » nntp import memory error
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
nntp import memory error [message #23660] Fri, 25 March 2005 19:04 Go to next message
mrock is currently offline  mrock   United States
Messages: 28
Registered: March 2005
Karma: 0
Junior Member
I tried importing newsgroups but keep getting memory errors after a few hundred messages. I up my memory in php.ini from 8mb to 16mb but I still get the following error.

<br />
<b>Notice</b>: Uninitialized string offset: 1005 in <b>/var/www/fuddata/include/theme/default/post_proc.inc</b> on line <b>381</b><br />
<br />
<b>Fatal error</b>: Allowed memory size of 16777216 bytes exhausted (tried to allocate 39 bytes) in <b>/var/www/fuddata/include/theme/default/wordwrap.inc</b> on line <b>27</b><br />

Any ideas?

thx

-- Mike

[Updated on: Fri, 25 March 2005 19:05]

Report message to a moderator

Re: nntp import memory error [message #23662 is a reply to message #23660] Fri, 25 March 2005 19:26 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Set the value of "Max Messages to Import" setting inside the nntp manager. And import X messages at a time that does not cause memory limit to be reached.

FUDforum Core Developer
Re: nntp import memory error [message #23669 is a reply to message #23660] Fri, 25 March 2005 19:59 Go to previous messageGo to next message
mrock is currently offline  mrock   United States
Messages: 28
Registered: March 2005
Karma: 0
Junior Member
Hi, thanks again Ilia. I am timing out at only 200 messages with max import being 1000.

I suppose I could just keep bumping up the php memory limit in php.ini but little unsure if there were any ramifications of doing so, other than just using more memory for php.




Re: nntp import memory error [message #23670 is a reply to message #23660] Fri, 25 March 2005 20:43 Go to previous messageGo to next message
mrock is currently offline  mrock   United States
Messages: 28
Registered: March 2005
Karma: 0
Junior Member
At 64M I still can only process 200 messages but the error message is different this time.

<br />
<b>Notice</b>: Uninitialized string offset: 1005 in <b>/var/www/fuddata/include/theme/default/post_proc.inc</b> on line <b>381</b><br />
Re: nntp import memory error [message #23673 is a reply to message #23670] Fri, 25 March 2005 21:05 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
What version of the forum are you running?

FUDforum Core Developer
Re: nntp import memory error [message #23674 is a reply to message #23673] Fri, 25 March 2005 21:13 Go to previous messageGo to next message
mrock is currently offline  mrock   United States
Messages: 28
Registered: March 2005
Karma: 0
Junior Member
Ilia wrote on Fri, 25 March 2005 16:05

What version of the forum are you running?


2.6.12RC3

But will upgrade to 2.6.12
Re: nntp import memory error [message #23680 is a reply to message #23674] Fri, 25 March 2005 23:07 Go to previous messageGo to next message
mrock is currently offline  mrock   United States
Messages: 28
Registered: March 2005
Karma: 0
Junior Member
I upgraded to 2.6.12 and started a new newsgroup download in a fresh forum. I get this error below.

<br />
<b>Notice</b>: iconv(): Detected illegal character in input string in <b>/var/www/fuddata/include/scripts_common.inc</b> on line <b>108</b><br />

[Updated on: Fri, 25 March 2005 23:07]

Report message to a moderator

Re: nntp import memory error [message #23693 is a reply to message #23680] Sat, 26 March 2005 15:05 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
You can safely ignore those.

FUDforum Core Developer
Re: nntp import memory error [message #23701 is a reply to message #23693] Sat, 26 March 2005 18:58 Go to previous messageGo to next message
mrock is currently offline  mrock   United States
Messages: 28
Registered: March 2005
Karma: 0
Junior Member
Where is message number stored so that I can adjust it so nntp.php will begin downloading newer messages instead of starting from the beginning?

Ok, I think I found it. Looks like changing the number for the appropriate forum listed in this directory did the trick.

/var/www/fuddata/errors/.nntp

[Updated on: Sun, 27 March 2005 00:09]

Report message to a moderator

Re: nntp import memory error [message #23707 is a reply to message #23701] Sat, 26 March 2005 23:35 Go to previous message
mrock is currently offline  mrock   United States
Messages: 28
Registered: March 2005
Karma: 0
Junior Member
Looks like changing the number for the appropriate forum listed in this directory did the trick.

/var/www/fuddata/errors/.nntp

  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: problem installing FUDForum under eGroupWare
Next Topic: Problems with URL move
Goto Forum:
  

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

Current Time: Fri Nov 22 22:08:10 GMT 2024

Total time taken to generate the page: 0.03155 seconds