Skip to content

Commit 8c40a41

Browse files
Merge pull request #1909 from syncfusion-content/873331
873331: Zombie process are not closed by default from chrome headless in Linux platform.
2 parents 6a30e06 + 18f1ca3 commit 8c40a41

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

File-Formats/PDF/Convert-HTML-To-PDF/troubleshooting.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -690,4 +690,28 @@ You can downloaded a complete working sample from [GitHub](https://github.com/Sy
690690

691691
</td>
692692
</tr>
693-
</table>
693+
</table>
694+
695+
## Zombie process are not closed by default from chrome headless in Linux platform
696+
697+
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.
698+
699+
{% tabs %}
700+
701+
{% highlight %}
702+
703+
//Set command line arguments to run without the sandbox.
704+
705+
settings.CommandLineArguments.Add("--no-sandbox");
706+
707+
settings.CommandLineArguments.Add("--disable-setuid-sandbox");
708+
709+
settings.CommandLineArguments.Add("--no-zygote");
710+
711+
settings.CommandLineArguments.Add("--disable-dev-shm-usage");
712+
713+
settings.CommandLineArguments.Add("--single-process");
714+
715+
{% endhighlight %}
716+
717+
{% endtabs %}

0 commit comments

Comments
 (0)