Commit 73b36a1f authored by Zebediah Figura's avatar Zebediah Figura Committed by Vitaly Lipatov

esync: Update README.

parent 02f670b7
...@@ -5,7 +5,7 @@ with +esync. ...@@ -5,7 +5,7 @@ with +esync.
== BUGS AND LIMITATIONS == == BUGS AND LIMITATIONS ==
Please let me know if you find any bugs. If you can, also attach a log with Please let me know if you find any bugs. If you can, also attach a log with
+seh,+pid,+esync,+server. +seh,+pid,+esync,+server,+timestamp.
If you get something like "eventfd: Too many open files" and then things start If you get something like "eventfd: Too many open files" and then things start
crashing, you've probably run out of file descriptors. esync creates one crashing, you've probably run out of file descriptors. esync creates one
...@@ -20,11 +20,11 @@ have a reasonable limit.) To raise the limit you'll want to edit ...@@ -20,11 +20,11 @@ have a reasonable limit.) To raise the limit you'll want to edit
then restart your session. then restart your session.
On distributions using systemd, the settings in `/etc/security/limits.conf` will On distributions using systemd, the settings in `/etc/security/limits.conf`
be overridden by systemd's own settings. If you run `ulimit -Hn` and it returns will be overridden by systemd's own settings. If you run `ulimit -Hn` and it
a lower number than the one you've previously set then you can set returns a lower number than the one you've previously set, then you can set
DefaultLimitNOFILE=100000 DefaultLimitNOFILE=1048576
in both `/etc/systemd/system.conf` and `/etc/systemd/user.conf`. You can then in both `/etc/systemd/system.conf` and `/etc/systemd/user.conf`. You can then
execute `sudo systemctl daemon-reexec` and restart your session. Check again execute `sudo systemctl daemon-reexec` and restart your session. Check again
...@@ -157,10 +157,6 @@ surprisingly there aren't that many. In particular: ...@@ -157,10 +157,6 @@ surprisingly there aren't that many. In particular:
can probably be something reasonable.) It's also possible, although I can probably be something reasonable.) It's also possible, although I
haven't yet looked, to use some different kind of synchronization haven't yet looked, to use some different kind of synchronization
primitives, but pipes would be easiest to tack onto this framework. primitives, but pipes would be easiest to tack onto this framework.
* We might hit the maximum number of open fd's. On my system the soft limit is
1024 and the hard limit is 1048576. I'm inclined to hope this won't be an
issue, since a hypothetical Linux port of any application might just as well
use the same number of eventfds.
* PulseEvent() can't work the way it's supposed to work. Fortunately it's rare * PulseEvent() can't work the way it's supposed to work. Fortunately it's rare
and deprecated. It's also explicitly mentioned on MSDN that a thread can and deprecated. It's also explicitly mentioned on MSDN that a thread can
miss the notification for a kernel APC, so in a sense we're not necessarily miss the notification for a kernel APC, so in a sense we're not necessarily
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment