It is currently Fri Aug 07, 2020 3:17 am
All times are UTC + 8 hours

Dropboxd high cpu usage after sync

Dropbox is a free service that lets you bring your photos, docs, and videos anywhere and share them easily. Never email yourself a file again!

Dropboxd high cpu usage after sync

Postby macke » Sat Oct 08, 2016 7:12 pm

Hi,

I have an AS-304T (recently purchased) with ADM 2.6.5.R9N1.

After synching my dropbox (180GB), dropboxd now takes 25% all the time (one full CPU).
(It did not do that during sync..)

Status (via web-UI) alternates between "idle", "checking" and "(Dropbox) indexing" and uploading the latest modified file all the time.

The NAS is making some weird noises all the time due to the disk checking as well.
I'd wish dropboxd be quiet until there is something to do.

I haven't found any logs or places to check what it's doingeither

Currently the file name is "~lock.man on the moon.docx" which I wrote over the a network share.
However, it was behaving just the same before I created that file, sometimes uploading some .exe files instead, with no weird characters.

Ideas?

Cheers,
/Marcus
macke
 
Posts: 3
Joined: Sat Oct 08, 2016 6:56 pm

Re: Dropboxd high cpu usage after sync

Postby joe » Sun Oct 09, 2016 4:37 pm

macke wrote:Ideas?

Read all of this thread: viewtopic.php?f=59&t=8202

Asustor could fix this if they were to acknowledge / agree there is a problem with this app but the support ticket I raised stalled and is now going nowhere. I'm afraid don't have the solution for you and this code is looking like poorly supported abandonware.
joe
 
Posts: 60
Joined: Fri Feb 28, 2014 2:59 am

Re: Dropboxd high cpu usage after sync

Postby orion » Tue Oct 11, 2016 12:35 pm

That (high CPU usage) could result from dropboxd still working. You can check "home\.datasync-dropbox\datasync_dropbox.log" if there are any useful information.
User avatar
orion
 
Posts: 2687
Joined: Wed May 29, 2013 11:09 am

Re: Dropboxd high cpu usage after sync

Postby macke » Sat Oct 15, 2016 7:45 pm

Thanks for the tip about the log file.

Dropboxd is trying to download three files over and over again but getting "HTTP 409 path/restricted_content/..." error, probably because of the names of these files.
Will look into renaming or zipping them.

It constantly tries to download these files. Apparently the Asustror dropbox client doensn't know about 409 errors and just retries.

It'd been better if it retries every hour or day or so for these files.

The log is below. It might help either Asustor staff or some other poor soul having the same issue.


Code: Select all
[dropboxd.cpp:1012]->   Unsyncfiles 0
[dropboxd.cpp:1099]->   New Folders 0
[dropboxd.cpp:1099]->   New Folders 0
[dropboxd.cpp:3142]->   Find Local New Files
[dropboxd.cpp:1406]->   LocalFiles New Files: 0
[dropboxd.cpp:3151]->   Find Remote New Files
[dropboxd.cpp:1406]->   RemoteFiles New Files: 3
[dropboxd.cpp:1443]->   Set g_bReSync true
[datasync_util.h: 778]->        Task add, 1 tasks are running
[dropboxd.cpp:1443]->   Set g_bReSync true
[dropboxd.cpp:1210]->   Downloading file. /TinaBackup/Downloads/wirelesskeyview.zip
[dropboxd.cpp:1210]->   [datasync_util.h: 778]->        Downloading file. /TinaBackup/Downloads/SpotifySetup (1).exe
Task add, 2 tasks are running
[dropboxd.cpp:1443]->   Set g_bReSync true
[datasync_util.h: 778]->        Task add, 3 tasks are running
[dropboxd.cpp:1210]->   Downloading file. /Moonshine/Teknik/Mjukvara/Soundcheck/TrueRTA/KeyGen.exe
[dropboxd.cpp:3163]->   Find Local Delete Folder
[dropbox_api_v2.cpp: 706]->     [dropbox_api_v2.cpp: 706]->     Dropbox-API-Arg: { "path": "\/TinaBackup\/Downloads\/SpotifySetup (1).exe" }
Dropbox-API-Arg: { "path": "\/TinaBackup\/Downloads\/wirelesskeyview.zip" }
[dropbox_api_v2.cpp: 706]->     Dropbox-API-Arg: { "path": "\/Moonshine\/Teknik\/Mjukvara\/Soundcheck\/TrueRTA\/KeyGen.exe" }
[dropboxd.cpp:1745]->   Deleting total 0 folders
[dropboxd.cpp:3177]->   Find Remote Delete Folder
[dropboxd.cpp:1745]->   Deleting total 0 folders
[dropboxd.cpp:3192]->   Find Local Deleted Files
[dropbox_api_v2.cpp: 733]->     Header HTTP/1.1 409 path/restricted_content/...
Server: nginx
Date: Sat, 15 Oct 2016 11:37:30 GMT
Content-Type: application/json
Transfer-Encoding: chunked
Connection: keep-alive
X-Dropbox-Request-Id: 93ab97f50d9d46acf4b7d95da9501f06
X-Robots-Tag: noindex, nofollow, noimageindex


[dropbox_api_v2.cpp:1372]->     Execption: No Response Json
[dropbox_api_v2.cpp: 733]->     Header HTTP/1.1 409 path/restricted_content/.
Server: nginx
Date: Sat, 15 Oct 2016 11:37:30 GMT
Content-Type: application/json
Transfer-Encoding: chunked
Connection: keep-alive
X-Dropbox-Request-Id: 84a51a83a8f4d4919916c3ea75074f5c
X-Robots-Tag: noindex, nofollow, noimageindex


[dropbox_api_v2.cpp:1372]->     Execption: No Response Json
[dropboxd.cpp:1219]->   Download file error.
[dropboxd.cpp:1219]->   Download file error.
[dropboxd.cpp:1275]->   Set g_bReSync true
[dropboxd.cpp:1275]->   Set g_bReSync true
[dropbox_api_v2.cpp: 733]->     Header HTTP/1.1 409 path/restricted_content/
Server: nginx
Date: Sat, 15 Oct 2016 11:37:30 GMT
Content-Type: application/json
Transfer-Encoding: chunked
Connection: keep-alive
X-Dropbox-Request-Id: ca3007a11296af08dc621c308d5be0ea
X-Robots-Tag: noindex, nofollow, noimageindex


[dropbox_api_v2.cpp:1372]->     Execption: No Response Json
[dropboxd.cpp:1219]->   Download file error.
[dropboxd.cpp:1275]->   Set g_bReSync true
[dropboxd.cpp:1648]->   Deleting total 0 files
[dropboxd.cpp:3200]->   1 1 1 1
[dropboxd.cpp:3206]->   Find Remote Deleted Files
[dropboxd.cpp:1648]->   Deleting total 0 files
[dropboxd.cpp:3075]->   Set g_bReSync false
[filetable.h: 520]->    Synchronized Delete File
[filetable.h: 538]->    Synchronized New File
[filetable.h: 558]->    Synchronized Merdify File
[filetable.h: 600]->    END UpdateSyncData
macke
 
Posts: 3
Joined: Sat Oct 08, 2016 6:56 pm

Re: Dropboxd high cpu usage after sync

Postby macke » Sat Oct 15, 2016 7:52 pm

Removing or zipping those files did the trick. CPU Usage back to near 0% again.

Thanks y'all!
macke
 
Posts: 3
Joined: Sat Oct 08, 2016 6:56 pm

Re: Dropboxd high cpu usage after sync

Postby fivestringer » Mon Dec 26, 2016 11:19 pm

I've been having the same high network usage and constant disk access issues too.

After pulling my hair out (what little is left) trying to find the culprit (I'm not a code guru like most of you), I finally isolated the issue to the Dropbox app.

Killing it solved my problems.
fivestringer
 
Posts: 7
Joined: Tue Jan 12, 2016 10:24 pm

Return to DataSync for Dropbox

  • You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot post attachments in this forum
  • Who is online

    Users browsing this forum: No registered users and 1 guest

cron