Comments (3)
We should already be returning 500 when we encounter an error. When map.load()
fails, that map object won't be put into the pool. Only the call to maps.release(map);
actually puts it into the pool.
from landspeed.js.
try running >= http://trac.mapnik.org/changeset/3258, setting max_size slightly smaller than your libeio threads and then loading the server. Some responses will the plain text errors, which I guessed were not 404's because ab did not report errors (before ab was in "error"?)
from landspeed.js.
wow - looks like ab does not treat 500's as errors in its report I'm just reading things wrong. anyway, this is working just fine sorry for the false alarm, closing:
d:~ dane$ curl -I http://localhost:8000/?bbox=foo
HTTP/1.1 500 Internal Server Error
Content-Type: text/plain; charset=utf-8
Connection: keep-alive
d:~ dane$ ab -n 1 "http://localhost:8000/?bbox=foo"
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient).....done
Server Software:
Server Hostname: localhost
Server Port: 8000
Document Path: /?bbox=foo
Document Length: 464 bytes
Concurrency Level: 1
Time taken for tests: 0.002 seconds
Complete requests: 1
Failed requests: 0
Write errors: 0
Non-2xx responses: 1
Total transferred: 562 bytes
HTML transferred: 464 bytes
Requests per second: 450.65 [#/sec] (mean)
Time per request: 2.219 [ms] (mean)
Time per request: 2.219 [ms] (mean, across all concurrent requests)
Transfer rate: 247.33 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 2 2 0.0 2 2
Waiting: 2 2 0.0 2 2
Total: 2 2 0.0 2 2
from landspeed.js.
Related Issues (9)
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 landspeed.js.