-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unusual gzip activity in docker version of DS after docker restart #317
Comments
@msaeedm Hi there, can you show me full command for running container and in which log file those errors are present. |
@ShockwaveNN Hi, here is my docker command:
Here are the relevant files from the run command above in order to enable SSL and the secret key. Also, please note that I have changed The logs mentioned in the original post were taken from |
@msaeedm could you attach to container and see if any file in |
@ShockwaveNN I checked all log files under all |
@msaeedm Ok, I think those errors are from last line of this file https://github.com/ONLYOFFICE/Docker-DocumentServer/blob/master/run-document-server.sh#L339 Actually using docker logs is not a preferred way, we change this in next release, but until now logs should be watch by attaching to container, or mounting |
@msaeedm I tryed your |
@ShockwaveNN If you want to reproduce it, you will need to give it time in order for those errors to appear in docker logs. I created another container yesterday and kept it running. I checked docker logs today and saw tons of those entries. |
@msaeedm maybe those errors from some real user or software that trying to access your server by unusual way (like incorrect adress or so). |
@ShockwaveNN Hmmm..I suppose the next diagnostic step is for me to configure my environment and see what happens. I will create a VM, install docker and run this container and see what logs I get and report back here. Meanwhile, if you have any troubleshooting suggestions, I am all ears :) |
@msaeedm sorry have no idea about troubleshooting. |
@msaeedm Thanks to @flaminestone we were able to reproduce this error by
To reproduce you may add one additional restart for solving problem with starting RabbitMQ (see ONLYOFFICE/Docker-DocumentServer#92) |
Thanks @ShockwaveNN @flaminestone Not sure if this helps but I tested a separate RabbitMQ container and configured onlyoffice DS container to connect to it. Restarting the DS container STILL shows the gz issue even though RabbitMQ was not restarted (it is running in a different container) |
@msaeedm I meant, that your error have nothing to do with RabbitMQ bug, I added this note so our dev team have no question about it. |
Ah ok. I misunderstood. |
Hi @msaeedm, the problem with gziping will be fixed in next hotfix (v5.1.5) |
Great @agolybev . Thank you and the dev team for your efforts |
Checked |
5.1.5 released yesterday, this issue should be fixed |
Do you want to request a feature or report a bug?
Suspected bug
What is the current behavior?
DocumentServer logs are full of weird gzip activity. This is associated with medium to high CPU usage at rest. Here is a sample from the log file:
Here is the full log for your review
https://www.dropbox.com/s/eofvmhzyhkmgoa2/ds.log?dl=0
There also seems to be intermittent restarts of services inside the container, an example of which can be seen toward the end of the log file. I am not sure if this is related to the gzip issue or not.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
Simply running the container (does not matter if it is first time or not) causes this behavior
What is the expected behavior?
Absence of this apparent erratic gzip behavior within the container
Did this work in previous versions of DocumentServer?
I tried both 5.1.4.22 and 5.1.3.35 with same result
DocumentServer version:
Currently using 5.1.4.22
Operating System:
My docker host in on:
CentOS Linux 7 (Core) with Kernel: Linux 3.10.0-862.3.2.el7.x86_64
Browser version:
Firefox quantum 60.0.1
**More info
My Nginx vhost:
The text was updated successfully, but these errors were encountered: