GithubHelp home page GithubHelp logo

Comments (9)

cfsego avatar cfsego commented on August 20, 2024

估计cgwin的accept4()实现有问题。

On Sat, Mar 30, 2013 at 6:20 PM, Benin [email protected] wrote:

使用Cgwin编译的 Tengine,运行一段时间 出现 [alert] 5380#0: accept4() failed (22: Invalid
argument) 后自动停止运行了。
是不是编译的时候少了什么模块。


Reply to this email directly or view it on GitHubhttps://github.com//issues/219
.

Charles Chen

Software Engineer

Server Platforms Team at Taobao.com

from tengine.

cfsego avatar cfsego commented on August 20, 2024

在configure以后,make以前,修改objs/ngx_auto_config.h 文件
将里面的NGX_HAVE_ACCEPT4宏去掉或者设置为0

On Mon, Apr 1, 2013 at 11:24 AM, chen cw [email protected] wrote:

估计cgwin的accept4()实现有问题。

On Sat, Mar 30, 2013 at 6:20 PM, Benin [email protected] wrote:

使用Cgwin编译的 Tengine,运行一段时间 出现 [alert] 5380#0: accept4() failed (22:
Invalid argument) 后自动停止运行了。
是不是编译的时候少了什么模块。


Reply to this email directly or view it on GitHubhttps://github.com//issues/219
.

Charles Chen

Software Engineer

Server Platforms Team at Taobao.com

Charles Chen

Software Engineer

Server Platforms Team at Taobao.com

from tengine.

yaoweibin avatar yaoweibin commented on August 20, 2024

你好,我刚才在本机的cygwin上尝试编译tengine,看起来accept4检测是通过的,并且可以运行tengine。
我的Cygwin版本是:CYGWIN_NT-6.1 790-91OB5D4O02E 1.7.17(0.262/5/3) 2012-10-19 14:39 i686 Cygwin
可能是Cygwin的问题,但不确定。

我不建议你在Cygwin的环境中用tengine作生产之用,建议还是用原生的linux来部署tengine,这样可以发挥tengine最大优势。

from tengine.

BANG88 avatar BANG88 commented on August 20, 2024

@yaoweibin 哥,现在就是没有Linux机器。。。
还有 我发现好像是 开启了Gzip之后才出现的情况。
@cfsego 晚上我回去试试

from tengine.

yaoweibin avatar yaoweibin commented on August 20, 2024

@littlebang 用虚拟机哦,virtual box或者vmvare都可以在windows上面运行linux。

from tengine.

BANG88 avatar BANG88 commented on August 20, 2024

@yaoweibin 现在外网只有一个IP,虚拟机只能用局域网了,怎么搞?在外网的机器上做个代理么?。。 感觉无比蛋疼啊。

from tengine.

yaoweibin avatar yaoweibin commented on August 20, 2024

@littlebang 我用过vmvare的端口映射,可以把外部IP的端口映射到虚拟机的内网IP端口。

from tengine.

BANG88 avatar BANG88 commented on August 20, 2024

@yaoweibin 嗯。 没有机器的纠结。。。

from tengine.

Way911 avatar Way911 commented on August 20, 2024

Nginx源码用Cgwin编译后运行,在压测中也出现此问题,在log日志一堆的[alert] 3328#0: accept4() failed (22: Invalid argument)

from tengine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.