svn commit: r220274 - head/sbin/hastd
Pawel Jakub Dawidek
pjd at FreeBSD.org
Sat Apr 2 09:34:33 UTC 2011
Author: pjd
Date: Sat Apr 2 09:34:33 2011
New Revision: 220274
URL: http://svn.freebsd.org/changeset/base/220274
Log:
Increase default timeout from 5 seconds to 20 seconds. 5 seconds is definitely
to short under heavy load and I was experiencing those timeouts in my recent
tests.
MFC after: 1 week
Modified:
head/sbin/hastd/hast.conf.5
head/sbin/hastd/hast.h
Modified: head/sbin/hastd/hast.conf.5
==============================================================================
--- head/sbin/hastd/hast.conf.5 Sat Apr 2 09:31:02 2011 (r220273)
+++ head/sbin/hastd/hast.conf.5 Sat Apr 2 09:34:33 2011 (r220274)
@@ -28,7 +28,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd March 20, 2011
+.Dd April 2, 2011
.Dt HAST.CONF 5
.Os
.Sh NAME
@@ -241,7 +241,7 @@ LZF is very fast, general purpose compre
.Pp
Connection timeout in seconds.
The default value is
-.Va 5 .
+.Va 20 .
.It Ic exec Aq path
.Pp
Execute the given program on various HAST events.
Modified: head/sbin/hastd/hast.h
==============================================================================
--- head/sbin/hastd/hast.h Sat Apr 2 09:31:02 2011 (r220273)
+++ head/sbin/hastd/hast.h Sat Apr 2 09:34:33 2011 (r220274)
@@ -83,7 +83,7 @@
#define HIO_KEEPALIVE 5
#define HAST_USER "hast"
-#define HAST_TIMEOUT 5
+#define HAST_TIMEOUT 20
#define HAST_CONFIG "/etc/hast.conf"
#define HAST_CONTROL "/var/run/hastctl"
#define HASTD_LISTEN "tcp4://0.0.0.0:8457"
More information about the svn-src-head
mailing list