trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: March 2014

Re: [trinity-devel] Bug 1902 - tdeio_imap will exhaust available imap (anvil) if kmail open

From: François Andriot <francois.andriot@...>
Date: Mon, 03 Mar 2014 07:01:09 +0100
Le 02/03/2014 23:36, David C. Rankin a écrit :
> On 03/02/2014 03:59 PM, David C. Rankin wrote:
>>> I've found out that the bug affect ioslaves having "remote files listing"
>>>> feature (e.g. fish, ftp ...) but not the others (http ...).
>> I don't think this is right. I have many, many abandoned tdeio_http and
>> tdeio_file processes left running on my system. I think it effects ALL tdeio.
>>
> Francios,
>
>    Just logging in leave 2 open tdeio_file connections and 4 tdeio_http
> connections from KOrganizer checking the groupware calendar, etc.  That is 6
> open/abandoned tdeio processes before I have even launched any application.
>
> [...]
>    After opening/edit/closing the remote file I have 3 additional hung tdeio_sftp
> processes and 1 more tdeio_file process:
>
>    725 ?        S      0:00  \_ tdeio_sftp [tdeinit] sftp
> /tmp/tdesocket-david/tdelauncherbcVCMs.s
>    729 ?        S      0:00  \_ tdeio_sftp [tdeinit] sftp
> /tmp/tdesocket-david/tdelauncherbcVCMs.s
>    733 ?        S      0:00  \_ tdeio_sftp [tdeinit] sftp
> /tmp/tdesocket-david/tdelauncherbcVCMs.s
>    752 ?        S      0:00  \_ tdeio_file [tdeinit] file
> /tmp/tdesocket-david/tdelauncherbcVCMs.s
>
>    These don't ever go away.
>


Hello,
from what I've seen in the code, the "long " (about 1 minute) timeout is 
nominal.
The "tdeio_file" is intended to keep always at least one process.

I have the same behaviour in TDE 3.5.13.2 and TDE 14.0.0 : when openng 
konqueror on the "home page" (blue background with TDE main shortcuts 
such as "file explorer" etc ...), it opens instantly 4 tdeio_files 
process, which end up vanishing except one. I think this is normal.

The difference between 3.5.13.2 and 14.0.0 occurs in remote tdeioslaves 
that are listing directories, such as fish and ftp (not tried sftp yet).
In 14.0.0, Every time you list a directory content, you get a new stale 
tdeioslave. So if you navigate in your folders, you can get lots of 
stale processes !
This problem does not exist in 3.5.13.2.

Try to download a flle with a direct file with direct url:
sftp://remote_host/remote_file
and see how many tdeio_sftp appear.

Francois