Opened 13 years ago

Last modified 2 years ago

#2042 new bug

WebUI incredibly slow with 1500 torrents

Reported by: eatnumber1 Owned by: Damien Churchill
Priority: blocker Milestone: performance
Component: Web UI Version: 1.3-stable
Keywords: lockup crash freeze lock Cc: eatnumber1, Bro, marsjaninzmarsa@gmail.com

Description

This is exactly the same problem as #1026, but as that one was fixed, I'm opening a new ticket.

Server:
deluged: 1.3.3
libtorrent: 0.15.9.0

Client:
Google Chrome: 17.0.963.56

I have about 1500 torrents added. Similarly to #1026, if I show less torrents by choosing a different label, the ui gets much faster.

I can send a tarball of my config directory, just need to know where to send it.

Change History (11)

comment:1 by Calum, 13 years ago

Summary: WebUI locks up/gets incredibly slow when there are many torrentsWebUI incredibly slow with 1500 torrents

comment:2 by Calum, 13 years ago

How many columns have you enabled?

comment:3 by eatnumber1, 13 years ago

I had all 14 of them enabled. I just disabled a few and the UI got more responsive, but it's still quite slow.

comment:4 by Calum, 12 years ago

Milestone: Futureperformance

comment:5 by mauromi, 11 years ago

Priority: majorblocker
Version: 1.3.31.3.6

i have the same problem with 500 ...

comment:6 by Simbiat, 11 years ago

Same is true with latest 1.4 build. As I suggested on the forum: GUI tries to update every torrent one by one, which causes excessive access to state file. It's an assumption, but a possibility. Or at least it may be somewhere in there. because if you parse the file directly in text format or something - it gets about 15 seconds to get all the info... Also, if you check the state file there are a lot of lines like "aI1". Like too many, making the file ~3 times larger than it should be.

comment:7 by Bro, 11 years ago

It has nothing to do with excessive access to state file, it's all in memory when being updated. The code that updates the ui simply has to be optimized. Also, some new changes to the core (hopefully) will make is possible to just update the entries that have changed for each update.

comment:8 by Bro, 9 years ago

Cc: Bro added

Add bro to cc

comment:9 by Kuba Niewiarowski, 7 years ago

Cc: marsjaninzmarsa@gmail.com added

comment:10 by int3l, 6 years ago

Version: 1.3.61.3-stable

comment:11 by Xuefer, 2 years ago

"The connection to the webserver has been lost!" on heavy load (too many torrents, etc)

Note: See TracTickets for help on using tickets.