panchalmukundak / whimp

Automatically exported from code.google.com/p/whimp
0 stars 0 forks source link

Nginx crashes? #9

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hello Emad, We are very thankful of your work with the WNMP stack.

I have recently added a member to our developer team and I have tasked her with 
some infrastructure refinement tasks.

We are finding that the Nginx server crashes often.  I have asked JMF, tasked 
with infrastructure refinement tasks, to research the issue.

I will direct her to your project home to see if by downloading the new version 
and familiarizing herself with the stack she can come up with a solution.

Do you have any thoughts on why Nginx would crash?

Kindest regards,

PD - I am also asking JMF to research your virtual image project so see if we 
can run our code on that as another option for our client environments.

Let me know if there is anything we can do to help you in your work.  Kindest 
regards,

Original issue reported on code.google.com by jafet.me...@gmail.com on 17 Sep 2013 at 1:55

GoogleCodeExporter commented 8 years ago
Your welcome, i actually may have noticed this behavior abit, but it didn't 
happen often and its not a frequent crash, making it harder to debug. regarding 
your issue:

See what maybe happening is :
======================================================
1) Bug in nginx.exe 

2) Error in the configuration

3) Microsoft Run-times needs repairing.
======================================================

1) Try to download nginx executable from here :

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

and grab the mainline version 1.5.5 and you only need to replace the nginx.exe 
no need for other files and there configurations for now, and see if that 
solves the issue or not.

nginx.exe can be found here :

C:\WnMp\

======================================================

2) If you did the above and the error still continues that means that the error 
is in the config, which is logical, what you need to do then is grab the 
download the nginx stable version :

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

and replace the .exe and the config files as well (that will clear all my 
custom config and you will start fresh) and you may need to do a little reading 
at nginx wiki to tune it to the best stable performance and get things running, 
cause what is happening is nginx works for while then when the load occurs 
cause its not optimized for your scenario work load it crashes from the load or 
the current config is bottlenecking it (please if you have solved your issue 
using a better config, please reply back with your custom nginx.conf that 
solved the issue, cause i can integrated that in my application if it was 
better)

The major configuration file is only nginx.conf no need to change any thing 
else, some people might take a look at fastcgi.conf as well.

======================================================

3) last thing is step 3, which is the easiest solution to this issue, that it 
may occur cause of corrupt required run-times from Microsoft, so please 
Install/Repair the following :

Microsoft Visual C++ 2005 SP1 x32/64:

http://www.microsoft.com/en-us/download/details.aspx?id=5638
http://www.microsoft.com/en-us/download/details.aspx?id=18471

Microsoft Visual C++ 2008 SP1 x32/64:

http://www.microsoft.com/en-us/download/details.aspx?id=26368

Microsoft Visual C++ 2010 SP1 x32/64:

http://www.microsoft.com/en-gb/download/details.aspx?id=26999

Microsoft Visual C++ 2012 SP1 x32/64:

http://www.microsoft.com/en-us/download/details.aspx?id=30679

If you running x32-bit computer, you only need to grab the x32-bit versions, i 
know my package most probably don't rely on C++ 2005, but better safe than 
sorry, and include all of them, so try this version

======================================================

Keep me posted, hope everything works, and i am still working on that virtual 
stack thing, its hard to create at first, but after its done, its ridiculously 
easy and stable to deploy and manage, and it will rock, it will remain the same 
applications that i utilize now, but different OS layer virtulized easily, and 
the end user decides exactly how much resources he wants to give, so once i get 
an release candidate i will surely ping you.

Original comment by emadraml...@gmail.com on 18 Sep 2013 at 8:14