# Nginx "Segementation Fault" - dont know where to start

**URL:** <https://www.ruby-forum.com/t/nginx-segementation-fault-dont-know-where-to-start/237988>\
**Category:** NGINX\
**Created:** [December 10, 2013, 3:57pm UTC](https://www.ruby-forum.com/t/nginx-segementation-fault-dont-know-where-to-start/237988 "2013-12-10T15:57:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![musicdenotation](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ea666f/32.png) [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Post date:** [December 10, 2013, 3:57pm UTC](https://www.ruby-forum.com/t/nginx-segementation-fault-dont-know-where-to-start/237988/1 "2013-12-10T15:57:40Z")

</div>

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](http://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

---

<div class="post-metadata">

**Author:** ![dcian](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/91b2a8/32.png) [@dcian](https://www.ruby-forum.com/u/dcian)\
**Post date:** [December 10, 2013, 4:15pm UTC](https://www.ruby-forum.com/t/nginx-segementation-fault-dont-know-where-to-start/237988/2 "2013-12-10T16:15:46Z")

</div>

Hello!

On Tue, Dec 10, 2013 at 02:56:56PM +0000, Ian H. wrote:

> 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.

> **[Debugging | NGINX](https://www.nginx.com/resources/wiki/start/topics/tutorials/debugging/)**
>
> This tutorial explains how to use some of NGINX's essential debugging features.

–  
Maxim D.  
[http://nginx.org/](http://nginx.org/)
