Commit Graph

19073 Commits

Author SHA1 Message Date
Joe Bryan
81ff98c5d4 vere/king/serf: adds and enables event timeouts 2020-06-26 00:54:29 -07:00
Joe Bryan
078b274491 vere: completes daemon->king re-renaming 2020-06-26 00:54:29 -07:00
Joe Bryan
b860e8cd63 vere: adds basic info printfs on SIGINFO/SIGUSR1 2020-06-26 00:54:29 -07:00
Joe Bryan
d96a05e387 vere: fix use-after-free on exit in cttp 2020-06-26 00:54:24 -07:00
Joe Bryan
46f3a17658 vere: free pier on graceful shutdown 2020-06-23 16:55:38 -07:00
Joe Bryan
a3ae21ea5b vere: removes SIGQUIT handler
we were turning these into SIGABRT in order to catch them and
unmap the lmdb database, but that's neither safe nor reliable.
2020-06-23 16:25:03 -07:00
Joe Bryan
dcdd1e4be9 vere: removes now-unused sniproxy dependency 2020-06-23 16:04:40 -07:00
Joe Bryan
a6db3add83 Merge branch 'khrc' into ipc-redux
* khrc:
  Change how we detect pull requests.
  Don't run combine in pull requests.
  king: Build release tarballs with both king and vere.
2020-06-23 16:03:10 -07:00
Elliot Glaysher
1989f8af4c
Merge pull request #3046 from urbit/khrc-travis-combine
king: Build release tarballs with both king and vere.
2020-06-23 15:59:14 -07:00
Elliot Glaysher
596f089e20 Change how we detect pull requests. 2020-06-23 14:56:21 -07:00
Elliot Glaysher
7744111486 Don't run combine in pull requests. 2020-06-23 14:29:36 -07:00
Elliot Glaysher
5e0f185df2 king: Build release tarballs with both king and vere.
This adds a new build stage called combine which takes the results
of the previous compile builds and packages them up into one
release tarball per platform.
2020-06-23 14:02:54 -07:00
Joe Bryan
cc93aed354 vere: fixes doubly-linked list handling in u3_auto_drop 2020-06-22 16:35:15 -07:00
Joe Bryan
3330c3eaac vere: disable core dumps in king
lmdb size makes these impractical, and unmapping on SIGABRT
requires canceling threads, which is undefined
2020-06-22 15:47:36 -07:00
Joe Bryan
829d402dc9 Revert "TMP kill -9 urbit in test"
This reverts commit 6e98bdd3d3.
2020-06-22 14:11:38 -07:00
Joe Bryan
76cd934864 pier: further limit activity in emergency exit (SIGABRT) 2020-06-22 14:00:17 -07:00
Joe Bryan
e7a95f6d6b ames: count dropped packets (and print every 1k with -v) 2020-06-22 13:50:37 -07:00
Joe Bryan
9816434890 vere: cleans up i/o driver shutdown 2020-06-22 12:58:48 -07:00
Joe Bryan
37cf2135bc term: ignore SIGWINCH if there's no active terminal driver 2020-06-22 12:55:55 -07:00
Joe Bryan
4a48e16f41 vere: refactors king/pier/lord shutdown 2020-06-22 12:55:55 -07:00
Joe Bryan
98040ffa2d newt: adds stop/dispose functions for read and write 2020-06-20 22:21:37 -07:00
Joe Bryan
71d6793943 vere: renames "daemon" to king, removes command socket 2020-06-20 22:21:37 -07:00
Joe Bryan
b75d42c335 vere: adds u3_ovum init/dispose to ward.c 2020-06-20 22:21:24 -07:00
Joe Bryan
5d71e0a804 vere: properly dispose disk resources on exit 2020-06-20 22:18:16 -07:00
Joe Bryan
df7cd2a673 vere: adds common structure management in ward.c 2020-06-20 22:15:58 -07:00
Joe Bryan
8497cd65c6 vere: switch lmdb back to the u3 prefix
c3 is intended for language-level functionality.
a prefix that communicates a lack of dependence
on u3 remains desirable.
2020-06-17 17:35:45 -07:00
Joe Bryan
d23d518f48 vere: moves i/o drivers 2020-06-17 16:31:09 -07:00
Joe Bryan
e297458e74 vere: stop leaking effects 2020-06-17 16:20:33 -07:00
Joe Bryan
5c9252e986 vere: fixes u3_auto_drop list-unlink implementation 2020-06-16 18:52:16 -07:00
Joe Bryan
42213269ce ames: fix null-deref in capped queue 2020-06-16 18:47:12 -07:00
Joe Bryan
1dc809662e Merge branch 'release/next-vere' into ipc-redux
* release/next-vere:
  vere: increase LMDB mapsize to 1TB on macOS, linux
  noun: road-size printfs on u3m_fall
2020-06-16 18:06:25 -07:00
Joe Bryan
5e9b90f5a3 serf: disables incomplete "static grab" on boot 2020-06-16 18:01:09 -07:00
Joe Bryan
82e06c31eb ames: cap ovum queue at 1k, dropping oldest packets first 2020-06-16 15:42:58 -07:00
Joe Bryan
755b2f1347 vere: track ovum queue depth per i/o driver 2020-06-16 15:42:41 -07:00
Philip Monk
41537a7467
Merge pull request #3012 from urbit/philip/road-size
noun: road-size printfs on u3m_fall
2020-06-15 19:41:24 -07:00
Jared Tobin
f40fb0c852
Merge pull request #3014 from urbit/jt/web-scale-mapsize
vere: increase LMDB mapsize to 1TB on macOS, linux
2020-06-13 17:56:13 +04:00
Jared Tobin
6e0cd4ef1a
vere: increase LMDB mapsize to 1TB on macOS, linux
Many ships have been observed bumping up against the existing mapsize
limits.  This results in a Vere crash via LMDB, which necessitates
compiling a new binary with a higher mapsize if one wants to relaunch.

There doesn't seem to be any serious penalty to setting this
somewhere in the terabyte range, though. [1]  In cases where the mapsize
exceeds the size of the disk, I infer from the LMDB docs that the
database may simply be permitted to grow until it runs up against the
disk limitations, which feels acceptable.

I've tested this on macOS and Linux and the binary runs without issue,
despite the mapsize being set far in excess of the disks I'm running on.

[1]: https://lmdb.readthedocs.io/en/release/
2020-06-13 10:08:12 +04:00
Philip Monk
eaa926a086
noun: road-size printfs on u3m_fall 2020-06-12 21:55:51 -07:00
Joe Bryan
ff142ddbab
Merge pull request #2594 from urbit/siprel/sigwinch
[WIP]: King Gets Terminal Size Updates
2020-06-12 12:00:59 -07:00
~siprel
c523c90bf9 urbit-termsize: Change test executable name. 2020-06-12 18:33:10 +00:00
~siprel
57ef4254e4 Merge branch 'khrc' of https://github.com/urbit/urbit into siprel/sigwinch 2020-06-12 18:27:25 +00:00
~siprel
e8e46ee8c4 Merge branch 'master' of https://github.com/urbit/urbit into siprel/sigwinch 2020-06-12 18:19:51 +00:00
Joe Bryan
dd58f00051
Merge pull request #2946 from urbit/ipc-redux-kh
[WIP] King Haskell New IPC
2020-06-12 10:34:57 -07:00
Joe Bryan
596b62dd20
Merge pull request #3008 from urbit/jb/terminfo-gone
vere: remove ncurses/terminfo dependency
2020-06-12 10:01:26 -07:00
Joe Bryan
6e4c8361dd build: remove duplicate zlib dependency declaration 2020-06-11 20:31:26 -07:00
Joe Bryan
8fac63661f vere: removes ncurses dependency 2020-06-11 20:25:46 -07:00
Joe Bryan
6ea2acea86 term: bypass terminfo, use direct ANSI escape sequences 2020-06-11 20:24:38 -07:00
Joe Bryan
c3557e0836 Merge branch 'master' into ipc-redux-kh
* master: (25 commits)
  travis: Fix resource exhaustion error in test build.
  travis: Separate job for Haskell on Linux + bump nix version
  gall: properly handle empty outstanding ack queue
  vere: bump version to 0.10.5
  dawn: switch default eth node
  jets: patch cleanup
  Update os1-bug-report.md
  jets: switch openssl to the loom allocator.
  serf: disable automatic |pack
  release: urbit-os-v1.0.20
  behn: fix +unset-timer
  jael: send breach notifications in order
  jael: don't notify breach on initial update to ship
  jael: look for correct wire
  vere: handle failed cue of private key file
  u3: switches GMP import assert to conditional
  u3: fixes rock:load size printf
  vere: bypass terminal logging on lmdb worker thread
  vere: prevents term.c from retrying tcsetattr() indefinitely
  jets: jet decryption of aes-siv mode.
  ...
2020-06-11 19:07:13 -07:00
Joe Bryan
9bf98f7b6e
Merge pull request #3006 from urbit/ipc-redux-vere
u3/serf: ipc-redux: refactoring and bugfixes
2020-06-11 17:08:50 -07:00
Joe Bryan
19da74d146 serf: disables auto |pack, refactors loading from rock (-r) 2020-06-11 16:28:17 -07:00