Commit Graph

20 Commits

Author SHA1 Message Date
criyle
d8581a0c0c linuxcontainer: allow restrict usage of CPU and CPU set
- change cpuRate to int and 1000 means 1 CPU 100%
2021-10-30 23:25:30 -07:00
criyle
34e87660d8 fix build 2021-09-20 19:09:04 -07:00
criyle
1326a38b25 model: fix gRPC segv caused by mmap before encoding
- fix mount proc argument
2021-09-20 19:00:03 -07:00
criyle
915cbaccbb envexec: add detailed file error message 2021-09-20 00:43:05 -07:00
criyle
b54becc32d envexec: collect output through a file in container
- add `pipe` boolean to collector to indicate whether to use pipe or file as collector

close #21
2021-09-19 22:05:24 -07:00
criyle
78bb4d85de filestore: use /dev/shm instead of memory as file storage
- increase default tmpfs size to 128M
- add /config to get file store path
- remove memory only file store

close #20
2021-09-19 15:47:24 -07:00
criyle
55ffb52086 main: reduce memory allocation & force GC regularly 2021-06-24 20:27:43 -07:00
criyle
0d09e88184 envexec: Add pipe proxy support 2021-06-12 17:33:53 -07:00
criyle
6195204dcc envexec: add optional flag for copyOut files
fix #14
2021-06-05 20:24:08 -07:00
leafor
1bc2df59ea feat(*): converting form string to model.Status 2021-04-25 19:28:46 +08:00
criyle
2acca7d71c envexec: refactor to not use empty interface 2021-03-13 16:08:51 -08:00
criyle
8d3bf1bf62 feat(sandbox): add strict memory limit
- remove rlimit data when cgroup enabled
- add `strictMemoryLimit` to request parameter to re-enable rlimit data limit
2021-02-06 12:46:39 -08:00
criyle
6055f165b5 Update naming: realCpuLimit -> clockLimit 2020-12-30 13:01:03 -08:00
criyle
f5dff9ca57 Refactor package structure & debug outputs 2020-12-25 17:25:09 -08:00
criyle
4bf6f869f5 Add ability to limit cpu usage rate by CFS cgroup 2020-12-12 23:44:01 -08:00
criyle
7535e5862f Add srcprefix command arg to restrice src copyin 2020-07-04 21:08:23 -07:00
criyle
f4496d38f6 Add tty io 2020-06-16 16:44:12 -04:00
criyle
238ba879e1 Add stack limit settings to request 2020-06-08 15:36:11 -04:00
criyle
a439711540 Add runTime as wall clock time 2020-06-05 00:36:48 -04:00
criyle
7a708c12c4 Prepare for protobuf & gRPC support 2020-05-20 19:49:57 -04:00