I am experiencing the same problem with the newest image from DockerHub.
After running a couple of searches, the CPU goes to 100% and then the
frontend stops responding. I have to restart the container to get it to
come back to life.
I noticed that there are preconfigured syslog and gelf inputs for the nginx
server. I wonder if there's some kind of feedback loop happening that's
causing logs about the searches to create logs about the logs about the
searches to create logs about the logs about the logs about the searches.
Doesn't seem to be a nice way to disable this self-logging to see.
On Tuesday, November 24, 2015 at 9:09:01 AM UTC-5, Kyle Corbitt wrote:
>
> Hey all,
>
> I'm looking for some help in tweaking my Graylog configuration. I'm trying
> to run it on Azure on a VPS with 1 virtual core and 3.5GB of memory.
> Currently, I've installed it using the docker graylog2/allinone package,
> using the following configuration (in a systemd service file):
>
> ExecStart=/usr/bin/docker run --name graylog \
> -p 80:9000 -p 12201:12201/udp -p 443:443 \
> -e GRAYLOG_PASSWORD={{ logs_password }} \
> -e
> GRAYLOG_NODE_ID=d4f8ccdf-8feb-437b-9a6f-b4d8c2c0f81c \
> -e GRAYLOG_SERVER_SECRET={{ logs_secret }} \
> -e GRAYLOG_RETENTION="--size=2 --indices=8" \
> -v /graylog/data:/var/opt/graylog/data \
> -v /graylog/logs:/var/log/graylog
> graylog2/allinone
>
> This works fine and spins up Graylog as expected. Unfortunately,
> performance begins degrading quickly, and after a day or so I can't even
> load the web interface because of timeouts (I've tried reinstalling three
> times and this keeps happening). The server shouldn't be under any stress
> at all -- it receives at most a couple of log entries a minute, and I'm not
> running anything on it except Graylog.
>
> Is there anything I can test to figure out where the problem is? Or
> alternatively, are there any settings I can tweak to decrease resource
> usage?
>
> Many thanks,
> Kyle
>
--
You received this message because you are subscribed to the Google Groups
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/graylog2/ebca5adb-e4b9-4e9e-858e-5f8e77c46eee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.