From 18f1ca341ae7c07d48e5a25231c0f34bafaa8a28 Mon Sep 17 00:00:00 2001 From: Srihariharan Date: Fri, 1 Mar 2024 09:56:23 +0530 Subject: [PATCH] 873331: Zombie process are not closed by default from chrome headless in Linux platform --- .../Convert-HTML-To-PDF/troubleshooting.md | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/File-Formats/PDF/Convert-HTML-To-PDF/troubleshooting.md b/File-Formats/PDF/Convert-HTML-To-PDF/troubleshooting.md index 785a670e9..58246070d 100644 --- a/File-Formats/PDF/Convert-HTML-To-PDF/troubleshooting.md +++ b/File-Formats/PDF/Convert-HTML-To-PDF/troubleshooting.md @@ -692,4 +692,28 @@ You can downloaded a complete working sample from [GitHub](https://github.com/Sy - \ No newline at end of file + + +## Zombie process are not closed by default from chrome headless in Linux platform + + The zombie process are not closed by default from chrome headless in Linux. However, We can resolve the zombie process issue by using the below commandline arguments in converter settings. + +{% tabs %} + +{% highlight %} + + //Set command line arguments to run without the sandbox. + + settings.CommandLineArguments.Add("--no-sandbox"); + + settings.CommandLineArguments.Add("--disable-setuid-sandbox"); + + settings.CommandLineArguments.Add("--no-zygote"); + + settings.CommandLineArguments.Add("--disable-dev-shm-usage"); + + settings.CommandLineArguments.Add("--single-process"); + +{% endhighlight %} + +{% endtabs %} \ No newline at end of file