High CPU load when high amount of peers are present


Forond

Recommended Posts

Hello!

Currently we have a setup in which roughly 30 folders are synced over hundred clients. Clients all have read only permissions when as (1)  host node has write permissions. We are experiencing high amount of CPU load when all of the peers are connected at the same time. I have received reports of Sync creating thousands of connections. We are assuming the the problems is caused by the connection amount so we have tried to look for max amount of connections setting but in vain. All of these problems occur on 32 bit Linux and in version 2.3.5 but the problem has persisted in all used versions (since 2.3.1?). Sync log is filled by assert failures like:

 

	[20160321 18:18:27.818] assert failed /home/jenkins/slave-root/jenkins-Build-Sync-Manually-1674/SyncFolder.cpp:1909
	[20160328 02:49:51.613] assert failed /home/jenkins/slave-root/jenkins-Build-Sync-Manually-204/bencparser.cpp:54
	[20160323 19:44:19.611] assert failed /home/jenkins/slave-root/jenkins-Build-Sync-Manually-1674/network.cpp:2738
	[20160315 19:26:41.793] assert failed /home/jenkins/slave-root/jenkins-Build-Sync-Manually-1674/KickSocket.cpp:222
	

I would upload the log file but it is over 100 MB in size. Similar setup on 64 bit Windows 7 has no problems.

System details:

OS: Ubuntu Wily

CPU: 3 Ghz p4

RAM: 1242 MB

Edited by Forond
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.