Hi,
we are seeing outputs like this:
SLOW QUEUE MSG [Worker #2]: AuthenticatedHttpRequestMessage - 1662ms. Q: 0/1.
We are using a single eventstore to drive the communication in our system (see configuration below), so this caused our application to become completely unresponsive. Restarting the eventstore allowed it to chew through its backlog and everything works now, several hours after the restart.
Obviously, we would like to avoid this in the future. What are ways to combat the slow queue? We are using projections, is that a potential issue? How can we get a handle on how many messages it is dealing with how fast, and what should we expect it to handle without problems?
Config part of log:
ES VERSION: 3.9.4.0 (HEAD/bbcfd2d092a76e8faac4837b1bcdda72b467713b, Wed, 26 Apr 2017 14:09:22 +0100)
OS: Linux (Unix 4.4.111.0)
RUNTIME: 3.12.1 (es-mono-3.12.1/4493dfd) (64-bit)
GC: 2 GENERATIONS
LOGS: /var/log/eventstore
MODIFIED OPTIONS:
INT IP: 10.0.19.37 (Environment Variable)
EXT IP: 0.0.0.0 (Environment Variable)
INT HTTP PORT: 2112 (Environment Variable)
EXT HTTP PORT: 2113 (Environment Variable)
CLUSTER SIZE: 1 (Environment Variable)
CLUSTER DNS: eventstore (Environment Variable)
CLUSTER GOSSIP PORT: 2112 (Environment Variable)
INT HTTP PREFIXES: http://*:2112/ (Environment Variable)
EXT HTTP PREFIXES: http://*:2113/ (Environment Variable)
GOSSIP ALLOWED DIFFERENCE MS: 600000 (Environment Variable)
ADD INTERFACE PREFIXES: false (Config File)
RUN PROJECTIONS: All (Config File)
DEFAULT OPTIONS:
CONFIG: /etc/eventstore/eventstore.conf ()
HELP: False ()
VERSION: False ()
LOG: /var/log/eventstore ()
DEFINES: ()
WHAT IF: False ()
START STANDARD PROJECTIONS: False ()
DISABLE HTTP CACHING: False ()
MONO MIN THREADPOOL SIZE: 10 ()
INT TCP PORT: 1112 ()
INT SECURE TCP PORT: 0 ()
EXT TCP PORT: 1113 ()
EXT SECURE TCP PORT ADVERTISE AS: 0 ()
EXT SECURE TCP PORT: 0 ()
EXT IP ADVERTISE AS: ()
EXT TCP PORT ADVERTISE AS: 0 ()
EXT HTTP PORT ADVERTISE AS: 0 ()
INT IP ADVERTISE AS: ()
INT SECURE TCP PORT ADVERTISE AS: 0 ()
INT TCP PORT ADVERTISE AS: 0 ()
INT HTTP PORT ADVERTISE AS: 0 ()
INT TCP HEARTBEAT TIMEOUT: 700 ()
EXT TCP HEARTBEAT TIMEOUT: 1000 ()
INT TCP HEARTBEAT INTERVAL: 700 ()
EXT TCP HEARTBEAT INTERVAL: 2000 ()
FORCE: False ()
NODE PRIORITY: 0 ()
MIN FLUSH DELAY MS: 2 ()
COMMIT COUNT: -1 ()
PREPARE COUNT: -1 ()
ADMIN ON EXT: True ()
STATS ON EXT: True ()
GOSSIP ON EXT: True ()
DISABLE SCAVENGE MERGING: False ()
SCAVENGE HISTORY MAX AGE: 30 ()
DISCOVER VIA DNS: True ()
GOSSIP SEED: ()
STATS PERIOD SEC: 30 ()
CACHED CHUNKS: -1 ()
READER THREADS COUNT: 4 ()
CHUNKS CACHE SIZE: 536871424 ()
MAX MEM TABLE SIZE: 1000000 ()
HASH COLLISION READ LIMIT: 100 ()
DB: /var/lib/eventstore ()
INDEX: ()
MEM DB: False ()
SKIP DB VERIFY: False ()
PROJECTION THREADS: 3 ()
WORKER THREADS: 5 ()
ENABLE TRUSTED AUTH: False ()
CERTIFICATE STORE LOCATION: ()
CERTIFICATE STORE NAME: ()
CERTIFICATE SUBJECT NAME: ()
CERTIFICATE THUMBPRINT: ()
CERTIFICATE FILE: ()
CERTIFICATE PASSWORD: ()
USE INTERNAL SSL: False ()
DISABLE INSECURE TCP: False ()
SSL TARGET HOST: n/a ()
SSL VALIDATE SERVER: True ()
AUTHENTICATION TYPE: internal ()
AUTHENTICATION CONFIG: ()
PREPARE TIMEOUT MS: 2000 ()
COMMIT TIMEOUT MS: 2000 ()
UNSAFE DISABLE FLUSH TO DISK: False ()
BETTER ORDERING: False ()
UNSAFE IGNORE HARD DELETE: False ()
INDEX CACHE DEPTH: 16 ()
GOSSIP INTERVAL MS: 1000 ()
GOSSIP TIMEOUT MS: 500 ()
ENABLE HISTOGRAMS: False ()
LOG HTTP REQUESTS: False ()
ALWAYS KEEP SCAVENGED: False ()