Git Product home page Git Product logo

Comments (11)

mcavage avatar mcavage commented on April 30, 2024

Hi Rich,

What version of node and restify is this?

Sent from my iPhone

On Jan 27, 2012, at 6:55 PM, Rich Schiavi
[email protected]
wrote:

Running a basic server on Linux (code below) works for about 5-10 seconds, then crashes with "Bad system call"

var restify = require('restify');
var server = restify.createServer();
server.get("/foo",function(req,res,next){
console.log("hello");
res.write("hello");
res.end();
});
server.listen(8090);

....
hello
hello
hello
Bad system call


Reply to this email directly or view it on GitHub:
#60

from node-restify.

funston avatar funston commented on April 30, 2024

Latest everything. So 0.6.8 and 1.0.1? I'm out but can check later. It's CentOs too

Works fine on my Mac
Rich

On Jan 28, 2012, at 7:46 AM, Mark [email protected] wrote:

Hi Rich,

What version of node and restify is this?

Sent from my iPhone

On Jan 27, 2012, at 6:55 PM, Rich Schiavi
[email protected]
wrote:

Running a basic server on Linux (code below) works for about 5-10 seconds, then crashes with "Bad system call"

var restify = require('restify');
var server = restify.createServer();
server.get("/foo",function(req,res,next){
console.log("hello");
res.write("hello");
res.end();
});
server.listen(8090);

....
hello
hello
hello
Bad system call


Reply to this email directly or view it on GitHub:
#60


Reply to this email directly or view it on GitHub:
#60 (comment)

from node-restify.

mcavage avatar mcavage commented on April 30, 2024

Ok - yeah, I know it works fine on Mac/Illumos, as that's what I use day to day - I'll get a VM fired up and take a look at CentOS - it's probably one of the native upstreams (dtrace/buffertools). Thanks for the info.

from node-restify.

mcavage avatar mcavage commented on April 30, 2024

Hey Rich,

So I got a Centos 6.2 x64 VM up with node 0.6.9, and I've been running your test for 30m with 3 clients in a "tight loop" hitting it - and it's staying up just fine. Can you give me some more details on your environment?

from node-restify.

funston avatar funston commented on April 30, 2024

We are running CentOS 5.6, and now 0.6.8. I'm guessing it is the
CentOS version. If it's a pain for you, we are in the process of
upgrading to Debian Squeeze in about a week, so maybe it isn't worth
your time. Unless you think it's something in 5.6 to get a handle on?

What do you think? The test case was really simple. The other issue I
filed, was a basic server just handling a simple /foo route. In a
shell I just did a while [ true ] curl and after about 10-20 seconds
of processing, got the bad access..

Rich

On Mon, Jan 30, 2012 at 9:50 AM, Mark Cavage
[email protected]
wrote:

Hey Rich,

So I got a Centos 6.2 x64 VM up with node 0.6.9, and I've been running your test for 30m with 3 clients in a "tight loop" hitting it - and it's staying up just fine. ย Can you give me some more details on your environment?


Reply to this email directly or view it on GitHub:
#60 (comment)

from node-restify.

mcavage avatar mcavage commented on April 30, 2024

Yeah I'm guessing this is something with the version of CentOS for sure - do other node things have similar problems? I.e., this makes me wonder if this is a pure node thing? If you write a simple "pure" http test server, does it exhibit failures? Or is it really just restify?

from node-restify.

funston avatar funston commented on April 30, 2024

Ah good point. Let me try that and get back to you

Rich

On Jan 30, 2012, at 11:22 AM, Mark [email protected] wrote:

Yeah I'm guessing this is something with the version of CentOS for sure - do other node things have similar problems? I.e., this makes me wonder if this is a pure node thing? If you write a simple "pure" http test server, does it exhibit failures? Or is it really just restify?


Reply to this email directly or view it on GitHub:
#60 (comment)

from node-restify.

mcavage avatar mcavage commented on April 30, 2024

Hey Rich,

Any update on this?

m

from node-restify.

funston avatar funston commented on April 30, 2024

Mark,

I got tied up with travel/meetings. But,I did test restify/node on
Debian Squeeze and everything does work. I'll get to CentOS later and
test whether it's base node or something with Restify....just so we
know what's up with Cent 5.6...but Debian is working great

Rich

On Wed, Feb 1, 2012 at 8:49 AM, Mark Cavage
[email protected]
wrote:

Hey Rich,

Any update on this?

m


Reply to this email directly or view it on GitHub:
#60 (comment)

from node-restify.

mcavage avatar mcavage commented on April 30, 2024

Hi Rich,

I'm closing this out, as I'm pretty sure this is in core node, not restify. If you get a recreation case that's not in core node, reopen it.

m

from node-restify.

funston avatar funston commented on April 30, 2024

Great , sorry , I ended up on the road, traveling, and the CentOS
install just crapping out on my VM.

Thanks again,

Rich

On Thu, Feb 16, 2012 at 4:24 PM, Mark Cavage
[email protected]
wrote:

Hi Rich,

I'm closing this out, as I'm pretty sure this is in core node, not restify. If you get a recreation case that's not in core node, reopen it.

m


Reply to this email directly or view it on GitHub:
#60 (comment)

from node-restify.

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.