Skip to content

Instantly share code, notes, and snippets.

@ndzj081221130
Created February 18, 2014 12:50
Show Gist options
  • Select an option

  • Save ndzj081221130/9070355 to your computer and use it in GitHub Desktop.

Select an option

Save ndzj081221130/9070355 to your computer and use it in GitHub Desktop.
2014_2_17
> Written with [StackEdit](https://stackedit.io/).
任务?先去找老板吧。老板不在,hoho~
看一下warden的资料:
资源隔离:
network(stack per container)
mount(local mount table)
process(local process table)
IPC(shmget)
UTS(hostname)
shmget:用于Linux进程通信共享内存
3 wshd(parent)
Before-clone-hook(mount overlayfs)
clone(2) & make child wait
After-clone-hook(create control group, network)
Resume child
4. wshd(child)
Before-pivot-hook(no-op)
pivot_root(2)
After-pivot-hook(setup devpts, hostname)
wait for requests from wsh
5. wsh
request with argv, resource limits, and user
proxy **STDIN**,STDOUT,STDERR
read exit status and exit
再复习一下gorouter的源码。
在csdn上发文
做leetcode?昨天那个求共线的节点max值。完成后,ThinkingInJava,13章String
容器部分还要重看,泛型部分
之后就是enum和注解
**scanner.nextInt is throwing an exception and the application is terminating.**
**If the JVM process exits with status 0, warden won't be able to tell that it failed.**
See: http://programmers.stackexchange.com/questions/20573/why-does-java-exit-with-success-after-an-uncaught-exception
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment