After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 93538 - When decoding multipart yenc messages there is a large fd leak
When decoding multipart yenc messages there is a large fd leak
Status: RESOLVED FIXED
Product: Pan
Classification: Other
Component: general
0.13.0
Other Linux
: Normal critical
: 0.13.1
Assigned To: Charles Kerr
Pan QA Team
Depends on:
Blocks:
 
 
Reported: 2002-09-18 01:44 UTC by oolon
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description oolon 2002-09-18 01:44:24 UTC
Note the problem seems to be with multipart messages where they are yenced,
single part yencs are not a problem.

There seems a new way grab things from the cache in pan, it has major
problem, as the files are no longer loaded into memory (which would have
just caused a memory leak) there is now a FD leak and after decoding things
are not completely cleaned up.

This leak is serious as its the FDs for the cached messages that are
leeking that means only less than 1024 parts can be downloaded before
running into major problems. Which make pan unusable.

This system of grabbing the cached objects using and FD is limited, as the
FDs are all allocated "up front" this means that, only messages with less
than 1024 parts can be downloaded, I have been able to download messages
with more than 6000 parts before!!!!

Ideally, when dealing with a multipart message, the cached files would be
loaded serially into memory or by fd and discarded after pre-process as
this would minimise the resource use.