Skip to content
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

Docker container takes too long to startup #557

Open
zmsp opened this issue Jun 21, 2017 · 0 comments
Open

Docker container takes too long to startup #557

zmsp opened this issue Jun 21, 2017 · 0 comments

Comments

@zmsp
Copy link

zmsp commented Jun 21, 2017

Hello, Thank you for making collins open source.
I have some issues with running it in a docker container. The docker container seems to take too long to start up. After restarting the server it takes 10minutes to 2 hours for the container to start listening on port 9000. This this a known issue? Is there anything I can do so it starts up faster? I mainly restart docker container to apply new configuration is there a preferred way of doing this?

Thanks.

Logs

2017-06-21 17:23:19,325 - [INFO] - c.u.c.Registry$ - p.a.LoggerLike$class:info:93 - Initializing configuration of typeclass collins.graphs.GraphConfig$
2017-06-21 17:23:19,327 - [INFO] - c.u.c.Registry$ - p.a.LoggerLike$class:info:93 - Initializing configuration of typeclass collins.power.management.PowerManagementConfig$
2017-06-21 17:23:19,373 - [INFO] - c.u.c.Registry$ - p.a.LoggerLike$class:info:93 - Initializing configuration of typeclass collins.provisioning.ProvisionerConfig$
2017-06-21 17:23:20,086 - [INFO] - c.u.c.Registry$ - p.a.LoggerLike$class:info:93 - Initializing configuration of typeclass collins.softlayer.SoftLayerConfig$
2017-06-21 17:23:20,093 - [INFO] - c.u.c.Registry$ - p.a.LoggerLike$class:info:93 - Initializing configuration of typeclass collins.solr.SolrConfig$
2017-06-21 17:23:20,096 - [INFO] - c.u.c.Registry$ - p.a.LoggerLike$class:info:93 - Initializing configuration of typeclass collins.models.shared.IpAddressConfig$
2017-06-21 17:23:20,164 - [INFO] - c.u.c.Registry$ - p.a.LoggerLike$class:info:93 - Initializing configuration of typeclass collins.models.shared.QueryLogConfig$
2017-06-21 17:23:20,169 - [INFO] - c.u.c.Registry$ - p.a.LoggerLike$class:info:93 - Initializing configuration of typeclass collins.util.config.CryptoConfig$
2017-06-21 17:23:47,559 - [INFO] - ConfigWatchTask - p.a.LoggerLike$class:info:93 - File /opt/collins/conf/database.conf changed modTime from 0 to 1496939686000
2017-06-21 17:23:47,564 - [INFO] - ConfigWatchTask - p.a.LoggerLike$class:info:93 - File /opt/collins/conf/authentication.conf changed modTime from 0 to 1496939686000
2017-06-21 17:23:47,566 - [INFO] - ConfigWatchTask - p.a.LoggerLike$class:info:93 - File /opt/collins/conf/production.conf changed modTime from 0 to 1496939686000
2017-06-21 18:14:41,178 - [INFO] - c.u.c.Registry$ - p.a.LoggerLike$class:info:93 - Initializing configuration of typeclass collins.util.config.IpmiConfig$
2017-06-21 18:14:41,183 - [INFO] - c.u.c.Registry$ - p.a.LoggerLike$class:info:93 - Initializing configuration of typeclass collins.util.config.LshwConfig$
2017-06-21 18:14:41,189 - [INFO] - c.u.c.Registry$ - p.a.LoggerLike$class:info:93 - Initializing configuration of typeclass collins.util.config.GpuConfig$
2017-06-21 18:14:41,189 - [INFO] - c.u.c.Registry$ - p.a.LoggerLike$class:info:93 - Initializing configuration of typeclass collins.util.config.LldpConfig$
2017-06-21 18:14:41,190 - [INFO] - c.u.c.Registry$ - p.a.LoggerLike$class:info:93 - Initializing configuration of typeclass collins.util.config.NodeclassifierConfig$
2017-06-21 18:14:41,204 - [INFO] - c.u.c.Registry$ - p.a.LoggerLike$class:info:93 - Initializing configuration of typeclass collins.util.power.PowerConfiguration$
2017-06-21 18:14:41,311 - [INFO] - c.u.c.Registry$ - p.a.LoggerLike$class:info:93 - Initializing configuration of typeclass collins.util.security.AuthenticationProviderConfig$
2017-06-21 18:14:41,319 - [INFO] - u.s.PermissionsLoader - p.a.LoggerLike$class:info:93 - Loading permissions from conf/permissions.yaml
2017-06-21 18:14:41,393 - [INFO] - c.u.c.Registry$ - p.a.LoggerLike$class:info:93 - Initializing configuration of typeclass collins.util.security.FileAuthenticationProviderConfig$
2017-06-21 18:14:41,403 - [INFO] - c.u.c.Registry$ - p.a.LoggerLike$class:info:93 - Initializing configuration of typeclass collins.util.security.LdapAuthenticationProviderConfig$
2017-06-21 18:14:41,405 - [INFO] - c.u.c.Registry$ - p.a.LoggerLike$class:info:93 - Initializing configuration of typeclass collins.util.views.TagDecoratorConfig$
2017-06-21 18:14:41,422 - [INFO] - c.u.c.Registry$ - p.a.LoggerLike$class:info:93 - Initializing configuration of typeclass collins.intake.IntakeConfig$
2017-06-21 18:14:41,423 - [INFO] - c.u.c.Registry$ - p.a.LoggerLike$class:info:93 - Initializing configuration of typeclass collins.graphs.GangliaGraphConfig$
2017-06-21 18:14:41,429 - [INFO] - c.u.c.Registry$ - p.a.LoggerLike$class:info:93 - Initializing configuration of typeclass collins.graphs.FibrGraphConfig$
2017-06-21 18:14:41,444 - [INFO] - c.u.c.Registry$ - p.a.LoggerLike$class:info:93 - Initializing configuration of typeclass collins.frames.ViewsConfig$
2017-06-21 18:14:41,492 - [INFO] - c.h.HazelcastHelper$ - p.a.LoggerLike$class:info:93 - Initializing hazelcast, enabled - false
2017-06-21 18:14:42,065 - [INFO] - play - p.a.LoggerLike$class:info:93 - Starting application default Akka system.
2017-06-21 18:14:42,967 - [WARN] - o.a.s.c.SolrResourceLoader - o.a.s.c.SolrResourceLoader:addToClassLoader:191 - Can't find (or read) directory to add to classloader: lib (resolved as: /opt/collins/conf/solr/lib).
2017-06-21 18:14:46,212 - [DEBUG] - application - c.s.Solr$:getNewEmbeddedServer:43 - Booting embedded Solr Server with solrhome conf/solr/
2017-06-21 18:14:46,246 - [INFO] - play - p.a.LoggerLike$class:info:93 - Application started (Prod)
2017-06-21 18:14:46,395 - [INFO] - play - p.a.LoggerLike$class:info:93 - Listening for HTTP on /0:0:0:0:0:0:0:0:9000


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant