cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We want to make our Community work for you and we need your help. Take our short survey!
Close

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Slow degradation of Performance Retrieving Files

Highlighted

Slow degradation of Performance Retrieving Files

New member | Level 2
New member | Level 2

Currently using version 4.9.4. Monitoring a Dropbox account every 30 seconds looking for new files. Files come in from multiple sources, usually only 128 bytes in size, but occasionally can be much larger - 5-10 megabytes. Everything works fine for hours, but after 12-16 hours it starts to see socket errors and slows down. Request to download files must be made multiple times on many occasions, and ultimately it pauses and fails. While it's failing the files start to pile up, and it only gets worse. Killing and restarting my C# application doesn't have any effect. If I reboot my PC, it works great again - for 12-16 hours, then it starts. CPU/memory are not an issue. Comcast speeds show around 750MBps (though that is probably BS). Could there be a resource issue, or something I'm not doing?
I'm essentially doing a ListFolderAsync every 30 seconds, using DownloadAsync() to get any files, and DeleteV2Async() after I've retrieved it. I use the same DropboxClient object every time. It could be something in my code, but you would think that killing/restarting it would make the problem go away, which it doesn't. Only rebooting the computer fixes it. Thoughts? (Thanks in advance!)

1 Reply 1
Highlighted

Re: Slow degradation of Performance Retrieving Files

Dropboxer
Dropboxer

[Cross-linking for reference: https://github.com/dropbox/dropbox-sdk-dotnet/issues/108 ]

I see you also posted this on our GitHub repo so I'll close this forum thread in favor of that issue and follow up with you there shortly.

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?