Comments (11)
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.
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.
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.
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.
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.
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.
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.
Hey Rich,
Any update on this?
m
from node-restify.
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.
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.
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)
- package.json's "engines" says `"node": ">=10.0.0"` but actual base version is v14.18.0 HOT 2
- Upgrade formidable dependency to resolve npm warning HOT 1
- New async/await handler support breaks `next(false)` functionality in current async handlers HOT 16
- ResourceNotFound with parameter length greater than 100
- Error when response already destroyed
- Using return in Async handlers logs entire response object to stdout HOT 4
- Allow overriding log in `plugins/audit`
- socket close on request done ?
- prePath middleware strips multiple slashes to an empty string
- An odd request can crash the process when `restify.pre.sanitizePath()` is used
- Does officially support Nodejs V18๏ผ HOT 1
- request/response serializers behave incorrectly for auditLogger plugin and Bunyan logger HOT 1
- handler error when running benchmark
- Is this repo actively maintained ?
- Restify support for nodejs v20 is merged but not released HOT 5
- Is restify.plugins.bodyParser's maxBodySize setting actually doing anything?
- v11.2.0 is not available at NPM HOT 4
- Migration from 8.5.1 to 10.0.0 causing issues
- bunyan is unmaintained, move to pino?
- Res.redirect won't work for async routes at all?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-restify.