Is windows version stable?


#1

Hi, I’m new to nginx. I’m looking for a small but fast and powerful
web server for a Windows production server. I just downloaded the
Windows version and tested it with a Python backend server in fastcgi
mode and it seemed to work fine. I wonder if the Windows version is
stable enough for production servers?


#2

I think that for windows server it’s better to use IIS than another
server software. However, I think test NginX on Reactos.

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,2133,2151#msg-2151


#3

I use NGINX under Cygwin on Windows for a small scale website now, and
it is very stable as so far.

Usually I leave it several months alone, and it is healthy.

While, it is NOT fast.

Regards,

Robert Kwok


#4

Is there any particular reason that using IIS is better?
Is it stability? Or functionality? I just need a small and fast server,
preferably something that’s also available on Linux. This way I’ll
just need one set of configuration for both platforms.

Thanks.


#5

I have only used nginx on Debian, and I must say it is very good. I
just
had a hard time getting used to the rewrite configuration. I have not
had a
chance to run nginx on Windows. But as for Linux, I would vouch for it
anyday.

On Mon, May 18, 2009 at 7:28 PM, jlist9 removed_email_address@domain.invalid wrote:

Laurence J.
Peterhttp://www.brainyquote.com/quotes/authors/l/laurence_j_peter.html

  • “Originality is the fine art of remembering what you hear but
    forgetting
    where you heard it.”

#6

Thanks for the explanation.

From my experience with running some other web servers that
were originally developed for Linux then ported to Windows, speed
isn’t the main concern, stability is. This is probably because most
people use (and test) the Linux version while not many are actually
using the Windows version so the Windows port tend to have
more bugs. One web server I tried freezes after running for a month
or two, and another has some a memory leak problem in a particular
scenario. In both cases the version number of the Windows port
is lower than the Linux version. Hence why my concern here is mainly
stability and readiness for production servers.


#7

Thanks Robert. I haven’t been too impressed by Cygwin’s performance.

Have you tried the native Windows version 0.7.58? I understand
it’s the development version and it’s probably not ready for its prime
time yet but the fact that it’s a native build itself sounds like it’s
worth trying.


#8

nginx was designed for linux/bsd, where it is built on top of
epoll/kqueue
which alows it to be as fast as it is. Windows does not have that, it
has
IOCP instead, but nginx does not support it yet. So it relies on select,
which is much slower.

Sergej


#9

I did not try newest native windows binary.

I’d tried some early released native windows binaries, but them all had
a problem that Nignx gave up to serve pages several times.

At these times, it’s not halt or quit. It worked again when it rest for
a little time.

Forgive my poor English, sorry for no time to check it correct.

Regards,

Robert Kwok


#10

ur,I plan to use the official nginx for windows build .But I read this
topic ,I don’t know how to.

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,2133,2169#msg-2169


#11

If you meant the windows build on nginx’s home page, i suppose you
could just download it and run it?


#12

郭振立 Wrote:

I use NGINX under Cygwin on Windows for a small
scale website now, and it is very stable as so
far.

Usually I leave it several months alone, and it is
healthy.

While, it is NOT fast.

Why is nginx for windows not fast ? what‘s name your website? Have you
tried the official nginx for windows?

为啥Nginx windows ç‰ˆæœ¬è¿è¡Œä¸å¿«å‘¢ï¼Ÿä½ çš„å“ªä¸ªç½‘ç«™åœ°å€æ˜¯å¤šå°‘ï¼Ÿä½ æœ‰å°è¯•è¿‡å®˜æ–¹å‘å¸ƒçš„nginx win32 版本吗?

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,2133,2170#msg-2170


#13

jlist9 Wrote:

If you meant the windows build on nginx’s home
page, i suppose you
could just download it and run it?

On Tue, May 19, 2009 at 1:36 AM, usen68 wrote:

ure$B!$e(BI plan to use the official nginx for
windows build .But I read this topic ,I don’t know
how to.

Yes,I have download it just now. It yet run under windows xp. And I run
it with PHP 5.2.9-2.

是的,我已经从nginx.net 下载了nginx最新版。并成功的在windows 下运行它。

If you understand Chinese,you can visit my blog.There’s an article
about how to use Nginx and php under windows.

å¦‚æžœä½ æ‡‚æ±‰è¯­çš„è¯ï¼Œä½ å¯ä»¥è®¿é—®æˆ‘çš„åšå®¢ã€‚åœ¨æˆ‘çš„åšå®¢é‡Œæœ‰ä¸€ç¯‡æ—¥å¿—è®²å¦‚ä½•åœ¨windows 下配置PHP å’ŒNginx 协同工作的。

My blog:http://hi.baidu.com/usen68

我说的那篇讲PHP å’ŒNginx ååŒå·¥ä½œé…ç½®çš„æ–‡ç« é“¾æŽ¥åœ¨è¿™é‡Œ

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,2133,2176#msg-2176


#14

Thanks Igor. Any timeline when it’ll be stable enough for production?

2009/5/20 Igor S. removed_email_address@domain.invalid:


#15

On Sun, May 17, 2009 at 05:16:05PM -0700, jlist9 wrote:

Hi, I’m new to nginx. I’m looking for a small but fast and powerful
web server for a Windows production server. I just downloaded the
Windows version and tested it with a Python backend server in fastcgi
mode and it seemed to work fine. I wonder if the Windows version is
stable enough for production servers?

No, it is not stable for production.


#16

On Wed, May 20, 2009 at 08:05:50AM -0700, jlist9 wrote:

Thanks Igor. Any timeline when it’ll be stable enough for production?

At least I need to add capabiloty to run as service.
Probably, one month.


#17

OK, thanks. Although it doesn’t bother me to run it as a user app,
though.
Other than this, does it have any memory leak or crashing or freezing
problem?

2009/5/20 Igor S. removed_email_address@domain.invalid: