Now I have another one problem: when I finish to download something, amule stops to upload it (I think the publishing of the shared files doesn't work).
This behaviour is due to the tag/string serialization bug I reported some time ago.
The workaround I proposed seems to fix this.
i had a strange problem with publishing on kad too, in my environment (archlinux current, kad enabled, servers connection disabled, more than 500 files shared) amuled did not upload anything (not a single file request in hours of uptime) if i started it through the init script from the wiki page or directly with the command
su my_amuled_user -c 'amuled -f'
instead it worked well (publishing and uploading within few minutes) if i logged into the system as my_amuled_user through ssh and started it with 'amuled -f'
now i have applied your patch to the daily cvs and it started working well always (also if i start amuled at boot time through the init script)
so tnx, i hope your patch will be committed soon
edit: i want to add that in every test i was not downloading files, so no user could reach my queue as a consequence of the fact that i was entered in his queue