* X-Faces and 'too many open files'
@ 1997-09-22 0:57 Olaf Jahn
1997-09-22 23:30 ` Lars Magne Ingebrigtsen
1997-09-23 0:32 ` Hrvoje Niksic
0 siblings, 2 replies; 5+ messages in thread
From: Olaf Jahn @ 1997-09-22 0:57 UTC (permalink / raw)
Hello everybody.
I encountered the following problem with Gnus' ability to display the
X-Faces: After browsing through a number of articles containing
X-Faces (and having them displayed in the article buffer [1]),
my xemacs refuses to display more faces telling me:
Cannot open: too many open files
It seems that Gnus is somehow leaking file handles (yes, all articles
are displayed in the same *Article* buffer). I encountered this in
Gnus 3.4.37 and even 3.4.65. My xemacs is 19.15.
[1] The relevant part of my ~/.gnus:
(setq gnus-article-display-hook
(quote (gnus-article-hide-headers-if-wanted
gnus-article-treat-overstrike
gnus-article-highlight
gnus-article-de-quoted-unreadable
gnus-article-display-x-face)))
Is there a known way to prevent (or circumvent) this annoying phenomenon?
Any hint appreciated.
Olaf
--
Olaf Jahn jahno@math.tu-berlin.de
http://www.math.tu-berlin.de/~jahno
PGP public key available on request.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: X-Faces and 'too many open files'
1997-09-22 0:57 X-Faces and 'too many open files' Olaf Jahn
@ 1997-09-22 23:30 ` Lars Magne Ingebrigtsen
1997-09-23 0:32 ` Hrvoje Niksic
1 sibling, 0 replies; 5+ messages in thread
From: Lars Magne Ingebrigtsen @ 1997-09-22 23:30 UTC (permalink / raw)
Olaf Jahn <jahno@math.tu-berlin.de> writes:
> I encountered the following problem with Gnus' ability to display the
> X-Faces: After browsing through a number of articles containing
> X-Faces (and having them displayed in the article buffer [1]),
> my xemacs refuses to display more faces telling me:
>
> Cannot open: too many open files
>
> It seems that Gnus is somehow leaking file handles (yes, all articles
> are displayed in the same *Article* buffer).
Sounds to me like an XEmacs bug. No Lisp packages deal with file
handles.
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: X-Faces and 'too many open files'
1997-09-22 0:57 X-Faces and 'too many open files' Olaf Jahn
1997-09-22 23:30 ` Lars Magne Ingebrigtsen
@ 1997-09-23 0:32 ` Hrvoje Niksic
1997-09-25 7:14 ` Olaf Jahn
1 sibling, 1 reply; 5+ messages in thread
From: Hrvoje Niksic @ 1997-09-23 0:32 UTC (permalink / raw)
Olaf Jahn <jahno@math.tu-berlin.de> writes:
> Hello everybody.
>
> I encountered the following problem with Gnus' ability to display the
> X-Faces: After browsing through a number of articles containing
> X-Faces (and having them displayed in the article buffer [1]),
> my xemacs refuses to display more faces telling me:
>
> Cannot open: too many open files
>
> It seems that Gnus is somehow leaking file handles (yes, all articles
> are displayed in the same *Article* buffer). I encountered this in
> Gnus 3.4.37 and even 3.4.65. My xemacs is 19.15.
Try setting `debug-on-error' to t and seeing what is going on,
exactly. BTW, do you show X-Faces directly (in a buffer), or through
XV?
--
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
Speak softly and carry a +6 two-handed sword.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: X-Faces and 'too many open files'
1997-09-23 0:32 ` Hrvoje Niksic
@ 1997-09-25 7:14 ` Olaf Jahn
1997-09-25 14:06 ` Hrvoje Niksic
0 siblings, 1 reply; 5+ messages in thread
From: Olaf Jahn @ 1997-09-25 7:14 UTC (permalink / raw)
Cc: ding
>>>>> "Hrvoje" == Hrvoje Niksic <hniksic@srce.hr> writes:
Hrvoje> Olaf Jahn <jahno@math.tu-berlin.de> writes:
>> Hello everybody.
>>
>> I encountered the following problem with Gnus' ability to
>> display the X-Faces: After browsing through a number of
>> articles containing X-Faces (and having them displayed in the
>> article buffer [1]), my xemacs refuses to display more faces
>> telling me:
>>
>> Cannot open: too many open files
>>
>> It seems that Gnus is somehow leaking file handles (yes, all
>> articles are displayed in the same *Article* buffer). I
>> encountered this in Gnus 3.4.37 and even 3.4.65. My xemacs is
>> 19.15.
Hrvoje> Try setting `debug-on-error' to t and seeing what is going
Hrvoje> on, exactly. BTW, do you show X-Faces directly (in a
Hrvoje> buffer), or through XV?
I show the faces directly in the buffer. See the backtrace below.
Doesn't tell me very much, as I ain't much into Emacs lisps.
Perhaps someone can help.
Olaf
Backtrace:
Signaling: (file-error "Cannot open" "too many open files")
call-process-internal("icontopbm" "/tmp/emacsa005F8" (t nil) nil)
apply(call-process-internal "icontopbm" "/tmp/emacsa005F8" (t nil) nil nil)
call-process("icontopbm" "/tmp/emacsa005F8" (t nil) nil)
apply(call-process "icontopbm" "/tmp/emacsa005F8" (t nil) nil nil)
call-process-region(1 1083 "icontopbm" t (t nil) nil)
apply(call-process-region 1 1083 "icontopbm" t (t nil) nil nil)
gnus-xmas-call-region("icontopbm")
gnus-xmas-article-display-xface(698 838)
article-display-x-face()
apply(article-display-x-face nil)
(if interactive (call-interactively (quote article-display-x-face)) (apply (quote article-display-x-face) args))
)
(save-excursion (set-buffer gnus-article-buffer) (if interactive (call-interactively ...) (apply ... args)))
)
gnus-article-display-x-face()
run-hooks(gnus-article-display-hook)
gnus-article-prepare(219578 nil)
gnus-summary-display-article(219578 nil)
gnus-summary-select-article(nil nil pseudo)
gnus-summary-scroll-up(1)
call-interactively(gnus-summary-scroll-up)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: X-Faces and 'too many open files'
1997-09-25 7:14 ` Olaf Jahn
@ 1997-09-25 14:06 ` Hrvoje Niksic
0 siblings, 0 replies; 5+ messages in thread
From: Hrvoje Niksic @ 1997-09-25 14:06 UTC (permalink / raw)
Olaf Jahn <jahno@math.tu-berlin.de> writes:
> I show the faces directly in the buffer.
But your XEmacs is obviously compiled without x-face support?
> Signaling: (file-error "Cannot open" "too many open files")
> call-process-internal("icontopbm" "/tmp/emacsa005F8" (t nil) nil)
> apply(call-process-internal "icontopbm" "/tmp/emacsa005F8" (t nil) nil nil)
> call-process("icontopbm" "/tmp/emacsa005F8" (t nil) nil)
> apply(call-process "icontopbm" "/tmp/emacsa005F8" (t nil) nil nil)
> call-process-region(1 1083 "icontopbm" t (t nil) nil)
> apply(call-process-region 1 1083 "icontopbm" t (t nil) nil nil)
> gnus-xmas-call-region("icontopbm")
This looks like an XEmacs bug. Why didn't XEmacs close its file
descriptors?
--
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
Which is worse: ignorance or apathy? Who knows? Who cares?
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1997-09-25 14:06 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-09-22 0:57 X-Faces and 'too many open files' Olaf Jahn
1997-09-22 23:30 ` Lars Magne Ingebrigtsen
1997-09-23 0:32 ` Hrvoje Niksic
1997-09-25 7:14 ` Olaf Jahn
1997-09-25 14:06 ` Hrvoje Niksic
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).