Re: Re: Possible fix for 687066, issue with open (font) file descriptors

Alex Cherepanov <[email protected]>
Newsgroups gmane.comp.printing.ghostscript.patches
Organization Coscript Software
Message-ID <[email protected]>
Igor V. Melichev wrote:

> Does the user use PFB ?
Yes, he does.

> Does garbager really close the font file handles ?
Yes, it does. Otherwise, the following won't work on
GNU/Linux or Windoes.
10000 { (a)(r) file pop } repeat
I've also seen batches of close system calls in "strace" log.

> Is garbager invoked enough frequently while loading lots of fonts ?
Not on Solaris.
The program above fails on Solaris but runs on GNU/Linux and Windows
in default configuration. The frequency of GC depends on
/VMThreshold being small enough for the given number of
handles. Solaris has only 256 handles.

The shortage of file handles doesn't initiate the garbage collection.
This is a real bug and the patch is coming soon.

> Has the user disabled the garbager ?
Not explicitely, but default VMThreshold is set to 1M which effectively
disables GC for the program above.

Regards,
Alex
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.