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

Home » FUDforum Development » Bug Reports » Serious NNTP Import bug in FUDforum 3.0.3
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Serious NNTP Import bug in FUDforum 3.0.3 [message #166924] Fri, 30 March 2012 14:59 Go to previous message
Multitool is currently offline  Multitool   United Kingdom
Messages: 47
Registered: February 2012
Karma:
Member
OK, I previously thought this was a bug with importing split attachments, but I have now discovered this is far worse problem and can happen with any post in any newsgroup.

When the NNTP import process hits certain posts, it is thrown into an infinite loop. the php and mysql processes go to 100% and the import never proceeds any further. Next time the cron job comes round, another php process is started, which immediately goes into an infinite loop. After a few minutes, I end up with hundreds of PHP processes, and a virtually unusable server. The only way out is to disable the cron job and "killall php" to recover control of the server.

My investigations so far seem to point to it being something to do with 'umlauted' characters in the User Name portion of the 'From:' field. Normally, FUDforum just truncates the name at the first umlauted character, but imports the post successfully. However, when combined with other aspects of the 'From:' field structure (which I have yet to establish), and if the e-mail address has not been seen before by FUDforum, this will cause the php script to enter the infinite loop.

I can provide an example of a 'From:' field which reliably triggers the bug if required, but I cannot post this on the public forum.

However, this is not the only trigger! Some other characters or character sequences occurring within the message can also trigger this problem, as I was hitting this problem with some Uuencoded attachments. Some detailed further investigation is needed.

I am seeing the exact same effect on two different servers:
First server is running Red Hat Enterprise Linux Server release 5.6 (Tikanga), PHP version 5.3.3, MySQL version 5.0.77.
Other server is running Debian 6.0.4, PHP version 5.3.3, MySQL version 5.1.49

In both cases, the NNTP server is running locally on the same box, so FUDforum is talking to 127.0.0.1 to sync newsgroups. First server is running INN 2.4.3, other server is running INN 2.5.2, but it seems to be specific posts in the news spool that are triggering the bug in FUDforum, rather than the NNTP server itself.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Cache problem when logging in and pressing "Back"
Next Topic: Newsgoups and XML aggregation
Goto Forum:
  

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

Current Time: Sun Dec 01 09:03:25 GMT 2024

Total time taken to generate the page: 0.07275 seconds