100% CPU on accessing same files
Posted: Mon Nov 17, 2008 2:00 pm
Hi,
I recently came across a problem with the newest deluge, more specifically if I add two torrents which happen to access (download) the same files.
If two torrents try to download the same files to the same place, sooner or later deluge (deluged more specifically) will stop responding and use up 100% of the cpu. I realize I should not add two torrents and tell them to download to the same place, but even so, I think crashing is not very good behaviour. Instead, it would be nice if it gave an error (such as "File in use" or something similar) and stopped the torrent in question.
The times this has happened, the torrents where added within seconds/fractions of a second, if that influences the situation. They are not the same torrents, they just download the same files (different trackers).
I recently came across a problem with the newest deluge, more specifically if I add two torrents which happen to access (download) the same files.
If two torrents try to download the same files to the same place, sooner or later deluge (deluged more specifically) will stop responding and use up 100% of the cpu. I realize I should not add two torrents and tell them to download to the same place, but even so, I think crashing is not very good behaviour. Instead, it would be nice if it gave an error (such as "File in use" or something similar) and stopped the torrent in question.
The times this has happened, the torrents where added within seconds/fractions of a second, if that influences the situation. They are not the same torrents, they just download the same files (different trackers).