From a810726c48edfdf6b49a44931898561d0df3f3a7 Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Thu, 8 Feb 2018 00:21:11 +0000 Subject: Bump the read sockbuf of the routing socket to 2MB, may help reduce some of the desync cases. OK benno@ --- usr.sbin/snmpd/snmpd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/snmpd/snmpd.h') diff --git a/usr.sbin/snmpd/snmpd.h b/usr.sbin/snmpd/snmpd.h index b4e15bbbec1..3e07a58732f 100644 --- a/usr.sbin/snmpd/snmpd.h +++ b/usr.sbin/snmpd/snmpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: snmpd.h,v 1.76 2017/07/28 13:17:43 florian Exp $ */ +/* $OpenBSD: snmpd.h,v 1.77 2018/02/08 00:21:10 claudio Exp $ */ /* * Copyright (c) 2007, 2008, 2012 Reyk Floeter @@ -67,7 +67,7 @@ #define SMALL_READ_BUF_SIZE 1024 #define READ_BUF_SIZE 65535 #define RT_BUF_SIZE 16384 -#define MAX_RTSOCK_BUF (128 * 1024) +#define MAX_RTSOCK_BUF (2 * 1024 * 1024) #define SNMP_ENGINEID_OLD 0x00 #define SNMP_ENGINEID_NEW 0x80 /* RFC3411 */ -- cgit v1.2.3