Urgent! Facebook toolkit crashes on high connections?

Jul 23, 2010 at 8:06 AM

This is urgent, does anyone here uses the facebooktoolkit on an application that servers more the 1000-5000 connections at the same time?

I have a new application that sky rocketed and I get alot of erros from the toolkit that reset my apppool and kills my app.

I see  the errors in the Event Viewer but cannot figure out the source. 
In the Event Viewer It says  the following:

Event Type: ErrorEvent Source: .NET Runtime 2.0 Error ReportingEvent Category: NoneEvent ID: 5000Date: 22/07/2010Time: 22:42:42User: N/AComputer: PWSMS2Description:EventType clr20r3, P1 w3wp.exe, P2 6.0.3790.3959, P3 45d6968e, P4 facebook, P5, P6 4b671a4b, P7 dba, P8 95, P9 facebook.utility.facebook, P10 NIL.

I a fast answer!




Jul 25, 2010 at 7:24 PM
sounds like you need more instrumentation to get more information. I like using Log4net but there are other ways to get the info you need to start pinning down the issue. I don't have those volumes, but jimzim who posts here sometimes and is a contributor to the SDK did an app for Outback Steakhouse (listen to the .NET Rocks! podcast on his experience) that I'm sure had higher volumes than you are seeing. He was using Azure though so it is probably not an apples to apples example.
Jul 27, 2010 at 7:14 PM

if you cant ride it then get rid of it.. check this below:

Going through the following articles, step by step will let you to access facebook api from a vb.net based desktop application.





Jul 29, 2010 at 3:47 PM
What version are you using of the FDT? There were some memory leaks fixed a few months ago that will prevent some app pool recycles. Also it would help if i new what kind of error you are getting from facebook? Are you getting any throttle limit errors? With that many connections at same time, you will definitely need to run multiple machines and you will probably want to use async calls to Facebook where you can. Azure does help in this regard.