Hi all,
I was hoping you might be able to help me with a problem with
showgraph.cgi. It works, but lately it's been taking an inordinate
amount of time to complete. I did a truss on the process when it
runs, and it looks like what it's doing is opening an endless list
of fonts:
stat("/usr/openwin/lib/X11/fonts/TrueType/LucidaSansDemiBold.ttf",
0xFFBF6F28) = 0
open("/usr/openwin/lib/X11/fonts/TrueType/LucidaSansDemiBold.ttf",
O_RDONLY) = 7 fcntl(7, F_SETFD, 0x00000001) = 0 fstat(7,
0xFFBF6D60) = 0 mmap(0x00000000, 317896, PROT_READ, MAP_PRIVATE,
7, 0) = 0xFE170000 close(7) = 0 munmap(0xFE170000, 317896) =
0
stat("/usr/openwin/lib/X11/fonts/TrueType/LucidaSansDemiOblique.ttf",
0xFFBF6F28) = 0
open("/usr/openwin/lib/X11/fonts/TrueType/LucidaSansDemiOblique.ttf",
O_RDONLY) = 7 fcntl(7, F_SETFD, 0x00000001) = 0 fstat(7,
0xFFBF6D60) = 0 mmap(0x00000000, 91352, PROT_READ, MAP_PRIVATE,
7, 0) = 0xFE1A0000 close(7) = 0 munmap(0xFE1A0000, 91352) =
0 stat("/usr/openwin/lib/X11/fonts/TrueType/LucidaSansOblique.ttf",
0xFFBF6F28) = 0
open("/usr/openwin/lib/X11/fonts/TrueType/LucidaSansOblique.ttf",
O_RDONLY) = 7 fcntl(7, F_SETFD, 0x00000001) = 0 fstat(7,
0xFFBF6D60) = 0 mmap(0x00000000, 253724, PROT_READ, MAP_PRIVATE,
7, 0) = 0xFE180000 close(7) = 0 munmap(0xFE180000, 253724) =
0 stat("/usr/openwin/lib/X11/fonts/TrueType/LucidaSansRegular.ttf",
0xFFBF6F28) = 0
open("/usr/openwin/lib/X11/fonts/TrueType/LucidaSansRegular.ttf",
O_RDONLY) = 7 fcntl(7, F_SETFD, 0x00000001) = 0 fstat(7,
0xFFBF6D60) = 0 mmap(0x00000000, 486132, PROT_READ, MAP_PRIVATE,
7, 0) = 0xFE140000 close(7) = 0 munmap(0xFE140000, 486132) =
0
...and so on. Any idea why this might have started happening and
what I can do about it? The server OS is Solaris 10 (probably
relatively recently upgraded from S10u10 to S10u11. The graph gets
created immediately at the end of these font openings.