v1.19.5 OOPS: "Main process exited, code=dumped, status=11/SEGV" ?

PGNet Dev pgnet.dev at gmail.com
Sat Dec 5 22:50:38 UTC 2020


On 12/5/20 2:35 PM, itpp2012 wrote:
> Known perl issue, google: "segfault at 10 error 4 in libperl.so"

aha. +1. thanks!

noting,

	https://serverfault.com/questions/1041031/nginx-sometimes-gets-killed-after-reloading-it-using-systemd

		...
		If you haven't got a need to run Perl code inside nginx (as most people do not) then you can uninstall the package libnginx-mod-http-perl and restart nginx to avoid the problem. This package was pulled in by the virtual package nginx-extras but most people don't actually run perl in the web server and so don't need it.
		...

my server IS built with

	... --with-http_perl_module=dynamic ...

and in config

	load_module /usr/local/nginx-modules/ngx_http_perl_module.so;


afayk, is

-	load_module /usr/local/nginx-modules/ngx_http_perl_module.so;
+	#load_module /usr/local/nginx-modules/ngx_http_perl_module.so;

a sufficient cure?

or is a rebuild withOUT the

	--with-http_perl_module=dynamic

opt required?

Since it's dynamic, I suspect the simple disable _should_ do the trick; still reading to find/check details ...


More information about the nginx mailing list