nginx "Segementation Fault" - dont know where to start

Ian Hobson ian.hobson at ntlworld.com
Tue Dec 10 14:56:56 UTC 2013


Hi all,

I am trying to compile version 1.4.4 with a couple of modules, and I 
have a clean compile that runs on the test system just fine. However 
when I run it on the production server it crashes with "Segmentation 
Fault" when the service is restarted.

There is nothing helpful in the logs that I can find - only the normal 
background stuff, and the odd script kiddie looking for attack points.

The old config (version 1.2.6) was.

Configuration summary
  + using system PCRE library
  + using system OpenSSL library
  + md5: using OpenSSL library
  + sha1: using OpenSSL library
  + using system zlib library

  nginx path prefix: "/usr/local/nginx"
  nginx binary file: "/usr/sbin"
  nginx configuration prefix: "/etc/nginx"
  nginx configuration file: "/etc/nginx/nginx.conf"
  nginx pid file: "/usr/local/nginx/nginx.pid"
  nginx error log file: "/usr/local/nginx/logs/error.log"
  nginx http access log file: "/usr/local/nginx/logs/access.log"
  nginx http client request body temporary files: "client_body_temp"
  nginx http proxy temporary files: "proxy_temp"
  nginx http fastcgi temporary files: "fastcgi_temp"
  nginx http uwsgi temporary files: "uwsgi_temp"
  nginx http scgi temporary files: "scgi_temp"

The new config summary with version 1.4.4. is

Configuration summary
  + using system PCRE library
  + using system OpenSSL library
  + md5: using OpenSSL library
  + sha1: using OpenSSL library
  + using system zlib library

  nginx path prefix: "/usr/local/nginx"
  nginx binary file: "/usr/sbin"
  nginx configuration prefix: "/etc/nginx"
  nginx configuration file: "/etc/nginx/nginx.conf"
  nginx pid file: "/usr/local/nginx/nginx.pid"
  nginx error log file: "/usr/local/nginx/logs/error.log"
  nginx http access log file: "/usr/local/nginx/logs/access.log"
  nginx http client request body temporary files: "client_body_temp"
  nginx http proxy temporary files: "proxy_temp"
  nginx http fastcgi temporary files: "fastcgi_temp"
  nginx http uwsgi temporary files: "uwsgi_temp"
  nginx http scgi temporary files: "scgi_temp"

uname -a on the test server gives
Linux anake 3.2.0-57-generic #87-Ubuntu SMP Tue Nov 12 21:38:12 UTC 2013 
i686 i686 i386 GNU/Linux

This includes all released updates.

And on the production server it is
Linux ianhobson.com 3.2.0-39-virtual #62-Ubuntu SMP Wed Feb 27 22:45:45 
UTC 2013 i686 athlon i386 GNU/Linux

This includes all updates up to about 3 weeks ago.

I don't know where to start to try and find the problem. All help 
gratefully received!

The executable file has grown by about 2MB, so I am wondering if it 
might be lack of memory that is stopping it starting up?

Thanks

Ian

-- 
Ian Hobson
31 Sheerwater, Northampton NN3 5HU,
Tel: 01604 513875
Preparing eBooks for Kindle and ePub formats to give the best reader experience.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20131210/9200481f/attachment.html>


More information about the nginx mailing list