Stuck GhostScript processes, how to debug?
Posted
by
Jonathan
on Server Fault
See other posts from Server Fault
or by Jonathan
Published on 2014-05-29T19:35:41Z
Indexed on
2014/05/29
21:33 UTC
Read the original article
Hit count: 256
centos
|ghostscript
Having a problem with Ghostscript processes that don't end. This does not happen often, probably once every 3 weeks we see this issue with 1-3 processes. Running CentOS 6.4 on a VPS from Rackspace. We use PrinceXML to generate PDFs which uses GhostScript to handle fonts.
Here's an image of top: http://i.stack.imgur.com/J9D7D.jpg
As you can see those two processes are using a lot of resources, I haven't killed them yet in hopes someone can help me diagnose. I'm a developer not a server admin so I have a basic knowledge of *nix but no clue on how to fix this.
Installed strace and ran it on each process with the following command: strace -p 20619 -s 80 -o gs.txt
Left it for 5m, gs.txt is empty?
Thanks in advance!
© Server Fault or respective owner