Nginx crash!

Hello,

   We're using nginx (1.4.2) as reverse proxy in front of apache. 

Looks
like nginx keeps on crashing. Is following alerts in nginx error_log are
normal ?

2014/02/12 11:57:12 [alert] 6076#0: ignore long locked inactive cache
entry
f88e22ec45c2a0e03dd1284a6b4fb582, count:1
2014/02/12 11:57:38 [alert] 6076#0: ignore long locked inactive cache
entry
78b8719be7ee228ea85a21b029bf9c21, count:1
2014/02/12 11:57:59 [alert] 6076#0: ignore long locked inactive cache
entry
9b2717bd19ce4d441a8de010a6dbec6d, count:1
2014/02/12 11:58:21 [alert] 6076#0: ignore long locked inactive cache
entry
d80f5354bb4877bd13357e90e2b56fe2, count:1
2014/02/12 11:58:28 [alert] 6076#0: ignore long locked inactive cache
entry
e25fc78ee0add71ddf674996f680a0cc, count:1
2014/02/12 11:58:44 [alert] 6076#0: ignore long locked inactive cache
entry
f2cb4b66a9e41e7d845f8db52363df95, count:1
2014/02/12 11:58:52 [alert] 6076#0: ignore long locked inactive cache
entry
0ee1db877902f1c673931c50dbed5974, count:1
2014/02/12 11:58:55 [alert] 6076#0: ignore long locked inactive cache
entry
cfe763b22b8b89d17d9ff9960218a9de, count:1
2014/02/12 12:01:25 [alert] 6076#0: ignore long locked inactive cache
entry
50fe256a9035f2b0545e8fbdea9218e3, count:1
2014/02/12 12:02:19 [alert] 6076#0: ignore long locked inactive cache
entry
4dce1edc6c7c34b765801dacc8d24cff, count:1

regards.
Shahzaib

Hello!

On Wed, Feb 12, 2014 at 10:06:29PM +0500, shahzaib shahzaib wrote:

Hello,

   We're using nginx (1.4.2) as reverse proxy in front of apache. Looks

like nginx keeps on crashing. Is following alerts in nginx error_log are
normal ?

2014/02/12 11:57:12 [alert] 6076#0: ignore long locked inactive cache entry
f88e22ec45c2a0e03dd1284a6b4fb582, count:1

No, they are not, but they are somewhat expected if nginx workers
have previously crashed. You should find the cause of crashes you
see, and fix it. Start from upgrading to latest nginx version and
compiling without 3rd party modules.

See here for more hints:

http://wiki.nginx.org/Debugging


Maxim D.
http://nginx.org/

Hello,

    Thanks for replying, i have upgraded nginx to 1.4.4 using 

following
guide but still facing the same error.

http://nginxcp.com/installation-instruction/

Regards.
Shahzaib

Hello!

On Wed, Feb 12, 2014 at 10:25:58PM +0500, shahzaib shahzaib wrote:

    Thanks for replying, i have upgraded nginx to 1.4.4 using following

guide but still facing the same error.

http://nginxcp.com/installation-instruction/

I would recommend upgrading to latest version, as available from
the official download page:

http://nginx.org/en/download.html

Anyway, it looks like version you’ve installed have no major
modifications and should work, and I don’t think your problems are
related to changes in nginx 1.4.5.

So please follow hints here:

http://wiki.nginx.org/Debugging#Asking_for_help


Maxim D.
http://nginx.org/

Hello!

On Wed, Feb 12, 2014 at 10:37:59PM +0500, shahzaib shahzaib wrote:

Hello maxim,

           I've enabled debug option and found the following error with

nginx :

cache loader process exited with code 0

Any hint regarding crash ?

This is not an error, it’s just a normal exit of a cache loader
process.


Maxim D.
http://nginx.org/

Hello maxim,

           I've enabled debug option and found the following error 

with
nginx :

cache loader process exited with code 0

Any hint regarding crash ?

Regards.
Shahzaib

On Wed, Feb 12, 2014 at 10:25 PM, shahzaib shahzaib

Hello Maxim,

              I switched back to old nginxcp script which is running 

on
other server without issue and looks like error is vanished now. Nginx
reverse proxy in front of apache is working fine now.

Nginx version is 1.2.7

Will let you know in case of issue.

Regards.
Shahzaib

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs