Hello

A quick quote I want to have people keep in mind from the epoll manpage 'man epoll'

tl;dr epool is for compatibility purposes it is not intended as a full features replacement. Please do not use it if possible. It works but there will be dragons.

```
The epoll facility is implemented for purposes of offering
       compatibility to and portability of Linux-borne applications; native
       applications should continue to prefer using event ports via the
port_create(3C), port_associate(3C) and port_getn(3C) interfaces. In particular, use of epoll in a multithreaded environment is fraught with peril; even when using EPOLLONESHOT for one-shot events, there are race conditions with respect to close(2) that are unresolvable. (For more
       details, see the aborted effort in Linux to resolve this via the
proposed EPOLL_CTL_DISABLE operation.) The event port facility -- like
       the BSD kqueue facility that inspired it -- is designed to deal with
       such issues via explicit event source dissociation.
```

Greetings
Till

On 12.02.22 17:37, Bob Friesenhahn wrote:
On Sat, 12 Feb 2022, Stephan Althaus wrote:

In the snipplet that Mr Al Slater communicated, it looks like there are linux-specific epoll details that are not working with illumos. Apples and apples can be different :-)

This is quite possible. I should mention that I am running Dovecot in a zone.  I am not quite sure if I am actually using chroot.

Have a nice day !
P.S. After several weeks of cloudy misty weather the sun is back again here in Germany. Welcome!!

Nice to hear.

Bob

_______________________________________________
oi-dev mailing list
[email protected]
https://openindiana.org/mailman/listinfo/oi-dev

Reply via email to