Skip to contentSkip to conversation

package/unbound: use system libevent

PATCH Applied Kyle Harding via buildroot 3 participants 3 messages Mar 17, 2022 – Mar 29, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/unbound: use system libevent

The file descriptor limit when using the builtin mini-event cannot handle more than 1024 file descriptors.

https://unbound.docs.nlnetlabs.nl/en/latest/topics/performance.html?highlight=libevent#using-libevent

---
 package/unbound/unbound.mk | 1 +
 1 file changed, 1 insertion(+)
package/unbound/unbound.mk +1 -0
index 1e6e0d99d7..782ed2b049 100644
@@ -17,6 +17,7 @@ UNBOUND_CONF_OPTS = \
 	--with-pidfile=/var/run/unbound.pid \
 	--with-rootkey-file=/etc/unbound/root.key \
 	--enable-tfo-server \
+	--with-libevent=$(STAGING_DIR)/usr \
 	--with-libexpat=$(STAGING_DIR)/usr \
 	--with-ssl=$(STAGING_DIR)/usr
 
Signature · 6 lines
2.30.2

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 2 lines · Kyle Harding via buildroot

The file descriptor limit when using the builtin mini-event cannot handle more than 1024 file descriptors.

It was already the intention to use the system libevent, so I've extended the
commit message to clarify that a bit.

Applied to master, thanks.

Regards,
Arnout

Quoted 13 lines

https://unbound.docs.nlnetlabs.nl/en/latest/topics/performance.html?highlight=libevent#using-libevent

---
  package/unbound/unbound.mk | 1 +
  1 file changed, 1 insertion(+)
package/unbound/unbound.mk +0 -0
index 1e6e0d99d7..782ed2b049 100644

package/unbound/unbound.mk UNBOUND_CONF_OPTS = \ · line 23

Quoted 7 lines
package/unbound/unbound.mk +1 -0
@@ -17,6 +17,7 @@ UNBOUND_CONF_OPTS = \
  	--with-pidfile=/var/run/unbound.pid \
  	--with-rootkey-file=/etc/unbound/root.key \
  	--enable-tfo-server \
+	--with-libevent=$(STAGING_DIR)/usr \
  	--with-libexpat=$(STAGING_DIR)/usr \
  	--with-ssl=$(STAGING_DIR)/usr
 

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw
In reply to Kyle Harding via buildroot
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Kyle" == Kyle Harding via buildroot <[email protected]> writes:

The file descriptor limit when using the builtin mini-event cannot handle more than 1024 file descriptors.

https://unbound.docs.nlnetlabs.nl/en/latest/topics/performance.html?highlight=libevent#using-libevent

Committed to 2021.02.x and 2022.02.x, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot