Hi guys
I'm having a problem: aMule goes 100% CPU as soon as I try to connect to a server.
This means that the interface hangs—apparently forever—and I can't do anything except clicking on the [×] window button and wait several minutes fot it to shut down. That or killing it. :]
I have found the following piece of documentation: «If you share more than ~200 files […] you may be kicked from [many servers.] Consider not to share that many files.» I don't know if the 200 figure is a mistake or what. I am sharing more or less 20k files and actually aMule used to be snappy until I put them in my shared list. So this is my best guess for the slowliness right now. BUT!
1. 20k files is not much, I routinely share them in many other networks (DC, Gnutella…) What's the point of sharing fewer files than you have anyway? (Note: they are all useful, commonly shared files. No 1k bullshit.)
2. The documentation doesn't talk of aMule being slow if you share too many files, only of servers kicking you. I don't understand the reason for this kind of kickage, but I could cope with that, trying other servers and such… if only aMule didn't hang!
3. The shared files are already well hashed (it took quite some time, of course) so I don't see a reason for aMule being so slow. I could understand if it hogged the upload bandwidth, trying to transfer the list of files to some server in a non-optimized way (I don't even know if aMule's protocol does that) but the upload bandwidth stays zero! The CPU is the only resource affected.
4. It's not a filesystem issue either. "find /path/shared -type f" takes a few seconds the first time and a fraction of a second afterwards. aMule's full hashing took a couple of hours. This new thing has been going on for much more.
Any developer reading this? Did somebody put some stupid piece of code, non-linear on the number of files, somewhere? I don't think I'm the first user trying to share a decent amount of stuff. But I can debug and such so feel free to ask me for developer stuff. Should I try the CVS version?
For now I am going to try and let it have plenty of CPU for a whole day, hoping this is a one-time only thing. Any other advice would be appreciated.