Comments (3)
Trac update at 20100726T17:59:53: charlie_brown commented:
I was skimming through the code and it came to my attention the following commented snippet:
/* for some reason, vmsplice is not working as expected for us, * maybe we need to fix something here, at the moment * we will keep using writev to push the iovec struct to the pipe * * * n = vmsplice(fd, * (const struct iovec *) mk_io->io, * mk_io->iov_idx, * SPLICE_F_GIFT); * return n; */
vmsplice's man page states that when the SPLICE_F_GIFT flag is present, the memory pointed by each iovec's iov_base MUST be aligned to page boundary:
''"Data must also be properly page aligned, both in memory and length."''
which, if one dumps the iov_base addresses at run-time, they're not.BUT if we remove SPLICE_F_GIFT, the logger writes to the files with interleaved garbage from the response headers; I haven't checked why.
from monkey.
Trac update at 20110227T00:07:34:
- edsiper changed milestone from "" to "Future Release"
- edsiper changed priority from "major" to "minor"
from monkey.
Trac update at 20110906T19:05:21:
- davidlohr commented:
This code has been determined to be unapplicable and has already been removed.
- davidlohr changed resolution from "" to "wontfix"
- davidlohr changed status from "new" to "closed"
from monkey.
Related Issues (20)
- Broken MK_PLUGIN_{CHEETAH,LOGGER,TLS} HOT 1
- MK_SCHED_SIGNAL_FREE_ALL is not received
- implicit declaration of function ‘mk_stream_in_cbuf’
- Monkey running as non-root user runs php-cgi with root privileges HOT 3
- Should mk_event_wait handles EINTR?
- mk_lib causes invalid read HOT 1
- Broken MK_PLUGIN_AUTH HOT 3
- Let me access monkey-project.com over HTTPS
- Failure to reply request on Windows 64 for IPv6
- -DMK_PTHREAD_TLS=ON mode causes link failures on gcc-10 and above (-fno-common default) HOT 3
- Reduce memory footprint HOT 4
- mk_server: race condition for `MK_SERVER_SIGNAL_START` between worker and main threads HOT 5
- `mk_server_listen_exit` uses Linux-specific `close` function
- general health question HOT 4
- If an event created through `mk_event_timeout_create` is closed prematurely, the socket is left open HOT 2
- Multiple http server may cause SIGSEGV HOT 1
- mk_event_epoll: error: "Uninitialised value was created by a stack allocation" at _mk_event_add
- Monkey version 1.7.0 HOT 2
- Configuration script fails v1.7.2
- Developer Directories in Configuration Files v1.7.2
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 monkey.