Commit Graph

14 Commits

Author SHA1 Message Date
David Scott
8805c3c711 9pudc: add defer conn.Close() for the connection to docker
Before this patch we were using `conn.CloseRead()` and `conn.CloseWrite()`
to flush and signal EOF properly in the proxy, but we forgot to actually
close the file descriptor. As a result we leaked one fd per request,
until the GC came along and closed them for us. This could explain why
the process appeared to block: new connections could not be accepted
because we were out of fds, but once the GC had happened (or we closed
some 9P fds as a result of the client on the host closing its connection)
then the process would unwedge.

This doesn't explain why the 9P filesystem itself would occasionally become
unresponsive in Linux, although apparently still processing requests normally
if you connect to it directly over the host-side socket.

Signed-off-by: David Scott <dave.scott@docker.com>
2016-02-12 10:40:01 +00:00
Justin Cormack
6ee7b22152 remove temporary containers
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-02-10 14:31:37 -08:00
Justin Cormack
1f9bf7c321 fix 9pudc startup
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-02-08 18:30:30 -08:00
Justin Cormack
fd8ac2fb83 logging for 9pudc
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-02-08 15:22:10 -08:00
Justin Cormack
d88907511b tweak gitignore
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-22 11:59:23 +00:00
Justin Cormack
c809a196b3 clean up 9p virtio init to check which drivers are available
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-14 11:25:34 +00:00
Justin Cormack
87dae6079b Initial arm support
Not yet working, some parts also not yet cross compiled

Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-13 15:49:38 +00:00
Justin Cormack
c9b6eb3dad clean up build containers on make clean; rename for consistency
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-07 10:56:02 +00:00
Justin Cormack
d9f3649dcf fix permissions
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-30 18:26:12 +00:00
Justin Cormack
3fc3d0fb71 initial cross compile support for arm, just for 9pudc
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-30 15:40:54 +00:00
Justin Cormack
6670833de8 move config files under packages
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-18 16:41:29 +00:00
Justin Cormack
bc0288a2eb Add in startup code for the pinata specific tools. Should be split out as packages later
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-10 11:26:58 +00:00
Justin Cormack
a9b3c89290 more gitignore files
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-09 15:35:59 +00:00
Justin Cormack
7b61863705 vendor pinata specific tools for now, until they are standalone packages
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-09 15:33:50 +00:00