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

Home » FUDforum Development » Bug Reports » RDF Feed causes the server to crash
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
RDF Feed causes the server to crash [message #29408] Sun, 18 December 2005 23:18 Go to next message
GrinGEO is currently offline  GrinGEO   Sweden
Messages: 32
Registered: March 2005
Karma: 0
Member
Dear Ilia
We tried to syndicate our Forum at http://www.minitechnet.de/forum/ to our Typo3 Frame www.minitechnet.de via a Plug-Inn for RDF Feed.

We use this Feed
http://www.minitechnet.de/forum/rdf.php?mode=m&l=1&n=10&basic=1

In the RDF Plug-Inn of Typo3 we have set an interval of 60 sec., but when we have the Feed included in the Website, after a while the server has so many connections, that it overloades the CPU and crashes down.

Do you have any idea where the problem could be?
Kindest regards
Igor
Re: RDF Feed causes the server to crash [message #29412 is a reply to message #29408] Mon, 19 December 2005 16:38 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 may want to disable persistent database connections if you have'em enabled. You also may want to implement some sort of RDF caching mechanism.

FUDforum Core Developer
Re: RDF Feed causes the server to crash [message #29418 is a reply to message #29408] Mon, 19 December 2005 17:13 Go to previous messageGo to next message
GrinGEO is currently offline  GrinGEO   Sweden
Messages: 32
Registered: March 2005
Karma: 0
Member
were can I disable the first one?
Re: RDF Feed causes the server to crash [message #29419 is a reply to message #29418] Mon, 19 December 2005 17:23 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
Admin control panel, in the database setting section.

FUDforum Core Developer
Re: RDF Feed causes the server to crash [message #29427 is a reply to message #29408] Tue, 20 December 2005 09:19 Go to previous messageGo to next message
GrinGEO is currently offline  GrinGEO   Sweden
Messages: 32
Registered: March 2005
Karma: 0
Member
it was disabled.
any other idea what could cause the problem?

kindest regards
Igor
Re: RDF Feed causes the server to crash [message #29432 is a reply to message #29408] Tue, 20 December 2005 18:06 Go to previous messageGo to next message
GrinGEO is currently offline  GrinGEO   Sweden
Messages: 32
Registered: March 2005
Karma: 0
Member
My admin told me

Quote:

"overloades the apache and slow down"


Quote:

Der apache stürztz ja nicht ab sondern hat so viel zu tun das er nicht mehr ansprechbar ist. Der rest vom server übrigens dann auch kaum. Übrigens werden dann auch ziemlich viele datenbankverbindungen aufgebaut.


It seems that the apache doesn't crash, but it has so much to do, that the hole server isn't accessible any more.
He said, that a lot of MySQL Connections are created, to many for the server.

Kindest regards
Igor
Re: RDF Feed causes the server to crash [message #29436 is a reply to message #29427] Wed, 21 December 2005 05:04 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 may want to reduce the frequency the rss feed is being fetched. In the next release there will be caching feature for the feed that should aliviate load problems.

FUDforum Core Developer
Re: RDF Feed causes the server to crash [message #29445 is a reply to message #29408] Wed, 21 December 2005 09:05 Go to previous messageGo to next message
GrinGEO is currently offline  GrinGEO   Sweden
Messages: 32
Registered: March 2005
Karma: 0
Member
yes, but it is only every 60 secs.
Re: RDF Feed causes the server to crash [message #29446 is a reply to message #29445] Wed, 21 December 2005 14:44 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
Well, you may not be the only user of the RSS feed and normally people don't hits rss fees more frequently then 10 minutes. For example all the RSS readers I've seen by default checks the feeds only once per hour.

FUDforum Core Developer
Re: RDF Feed causes the server to crash [message #29452 is a reply to message #29408] Wed, 21 December 2005 15:43 Go to previous messageGo to next message
GrinGEO is currently offline  GrinGEO   Sweden
Messages: 32
Registered: March 2005
Karma: 0
Member
mhh it doesn't care how long it is.
it creates a lot of connections either.
Re: RDF Feed causes the server to crash [message #29463 is a reply to message #29452] Wed, 21 December 2005 23:45 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
RSS feed creates the same connection as a normal forum page load.

FUDforum Core Developer
Re: RDF Feed causes the server to crash [message #29466 is a reply to message #29408] Thu, 22 December 2005 00:21 Go to previous messageGo to next message
GrinGEO is currently offline  GrinGEO   Sweden
Messages: 32
Registered: March 2005
Karma: 0
Member
what could it be....
Re: RDF Feed causes the server to crash [message #29476 is a reply to message #29466] Thu, 22 December 2005 15:46 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
Have you disabled persistent connections in your forum's settings?

FUDforum Core Developer
Re: RDF Feed causes the server to crash [message #29478 is a reply to message #29408] Thu, 22 December 2005 16:02 Go to previous messageGo to next message
GrinGEO is currently offline  GrinGEO   Sweden
Messages: 32
Registered: March 2005
Karma: 0
Member
yes, it was disabled from default
Re: RDF Feed causes the server to crash [message #29484 is a reply to message #29478] Fri, 23 December 2005 15:04 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
My recommendation would be that you limit the frequency of your RSS reader hitting the feed or put some caching proxy like squid in front of it.

FUDforum Core Developer
Re: RDF Feed causes the server to crash [message #29492 is a reply to message #29408] Fri, 23 December 2005 21:02 Go to previous messageGo to next message
GrinGEO is currently offline  GrinGEO   Sweden
Messages: 32
Registered: March 2005
Karma: 0
Member
mhh
we have caching and a limit. but he creates persistant connections to the DB, so that myswl is overloaded.
We will seek and look, if we can find the problem
thanks a lot.
kindest regards
igor
Re: RDF Feed causes the server to crash [message #29510 is a reply to message #29492] Mon, 26 December 2005 16:49 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
The forum would only create persistent connection if this option is enabled inside the settings...

FUDforum Core Developer
Re: RDF Feed causes the server to crash [message #29569 is a reply to message #29408] Sat, 31 December 2005 09:17 Go to previous messageGo to next message
GrinGEO is currently offline  GrinGEO   Sweden
Messages: 32
Registered: March 2005
Karma: 0
Member
no idea
persistant connections is on NO by default.
so I have no idea where it comes.
kindest regards
Igor
Re: RDF Feed causes the server to crash [message #29583 is a reply to message #29569] Sun, 01 January 2006 19:42 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Maybe it is just the shear number of connection opened by continual hitting of the feed that is the problem?

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Problem with "Lock/Unlock Forum's Files"
Next Topic: Enable forum always back to "No"
Goto Forum:
  

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

Current Time: Sat Nov 23 23:14:38 GMT 2024

Total time taken to generate the page: 0.02567 seconds