a problem while using nginx1.4.6 and nginx1.8.0 for web service
Maxim Dounin
mdounin at mdounin.ru
Fri May 22 13:25:41 UTC 2015
Hello!
On Fri, May 22, 2015 at 03:46:13PM +0300, Valentin V. Bartenev wrote:
> On Friday 22 May 2015 09:45:52 tanfenfen at banggood.cn wrote:
> >
> > On Thursday 21 May 2015 20:16:18 谭芬芬 wrote:
> > > Hello,
> > >
> > >
> > > This is Amily.
> > > I meet a problem while using nginx1.4.6 and nginx1.8.0 for web service.
> > >
> > [..]
> > ?
> > Could you reproduce the problem without 3rd-party modules or patches?
> > ?
> > >We do not use?3rd-party modules or patches.We use ?configure?arguments of nginx?like this:configure arguments: --prefix=/opt/nginx --http-client-body-temp-path=/opt/nginx/client/ --http-proxy-temp-path=/opt/nginx/proxy/ --http-fastcgi-temp-path=/opt/nginx/fcgi/ --with-file-aio --with-http_realip_module --with-http_geoip_module --with-http_sub_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_stub_status_module --without-http_uwsgi_module --without-http_scgi_module --with-http_perl_module --without-mail_pop3_module --without-mail_imap_module --without-mail_smtp_module --with-pcre --with-http_ssl_module
> > And the configure arguments of php5.3.28 like this:Configure Command => './configure' '--prefix=/opt/php' '--enable-fpm' '--with-config-file-path=/opt/php/etc/' '--with-libxml-dir' '--with-openssl=/usr' '--with-zlib' '--with-gd' '--with-jpeg-dir' '--with-png-dir' '--with-freetype-dir' '--enable-gd-native-ttf' '--enable-gd-jis-conv' '--with-mhash' '--enable-mbstring' '--with-mysql=mysqlnd' '--with-mysqli=mysqlnd' '--with-pdo-mysql=mysqlnd' '--enable-sockets' '--with-curl' '--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm' '--with-pear' '--enable-intl' '--enable-soap' '--enable-wddx'
> >
>
> Ok, then please provide a debug log and your configuration to reproduce the issue.
>
> See instructions here: http://nginx.org/en/docs/debugging_log.html
I would also recommend the following (in no particular order):
- Take a look at http://wiki.nginx.org/Debugging for some basic
hints. In particular, full config will likely be needed to
analyze the problem.
- I see there are perl and libgeoip libraries are loaded into
nginx. Both can produce arbitrary problems - in particular,
libgeoip is known to do wierd things with corrupted databases;
and perl modules can do anything. It's good idea to make
sure the problem can be reproduced without perl and geoip
(either without these modules compiled in, or at least without
them being used in the configuration).
--
Maxim Dounin
http://nginx.org/
More information about the nginx
mailing list