Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- METABASE LOG:
- ---> first error that was skipped [is that of any importance? what does this do?]
- 07-13 09:15:03 INFO metabase.db :: Database Migrations Current ... ✅
- com.mchange.v2.cfg.DelayedLogItem [ level -> FINE, text -> "The configuration file for resource identifier 'hocon:/reference,/application,/c3p0,/' could not be found. Skipping.", exception -> null]
- ---> then looking good:
- 07-13 09:15:05 INFO metabase.core :: Looks like this is a new installation ... preparing setup wizard
- 07-13 09:15:05 INFO metabase.core :: Please use the following url to setup your Metabase installation:
- http://localhost:3000/setup/
- ---> ERROR while doing the initial registration under http://localhost:3000/setup/
- also "top" wasnt available in a second terminal for short time with this outcome:
- root@myserver:/home# top
- bash: fork: retry: Resource temporarily unavailable
- ---> further with the log after setting up an admin account and trying to connect to a remote DB (postgresql):
- 07-13 09:33:48 ERROR metabase.driver :: Failed to connect to database: java.sql.SQLException: No suitable driver found for jdbc:postgresql://https://myserver.net:5432/mydbase?OpenSourceSubProtocolOverride=true
- 07-13 09:33:48 DEBUG metabase.middleware :: POST /api/setup/validate 400 (5 ms) (0 DB calls).
- {:errors {:dbname "java.sql.SQLException: No suitable driver found for jdbc:postgresql://https:///myserver:5432/mydbase?OpenSourceSubProtocolOverride=true"}}
- --> and further log while I was using the web interface.
- 07-13 09:36:13 DEBUG metabase.middleware :: POST /api/setup/validate 200 (147 ms) (0 DB calls). Jetty threads: 8/50 (3 busy, 5 idle, 0 queued)
- 07-13 09:37:35 INFO models.user :: Adding user 1 to All Users permissions group...
- 07-13 09:37:35 INFO models.user :: Adding user 1 to Admin permissions group...
- 07-13 09:37:35 DEBUG sync.util :: Sync operations in flight: {:sync #{2}}
- 07-13 09:37:35 INFO sync.util :: STARTING: Sync postgres Database 2 'test_win'
- 07-13 09:37:35 DEBUG sync.util :: Sync operations in flight: {:sync #{2}, :sync-metadata #{2}}
- 07-13 09:37:35 INFO sync.util :: STARTING: Sync metadata for postgres Database 2 'test_win'
- 07-13 09:37:35 DEBUG metabase.middleware :: POST /api/setup 200 (527 ms) (20 DB calls). Jetty threads: 8/50 (3 busy, 5 idle, 0 queued)
- 07-13 09:37:35 WARN server.HttpChannel :: /api/setup
- ---> and here is one example of =THE ERROR=
- java.lang.OutOfMemoryError: unable to create new native thread
- at java.lang.Thread.start0(Native Method)
- at java.lang.Thread.start(Thread.java:717)
- at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:957)
- at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1378)
- at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
- at clojure.core$future_call.invokeStatic(core.clj:6687)
- at clojure.core$future_call.invoke(core.clj:6677)
- at ring.middleware.gzip$piped_gzipped_input_stream.invokeStatic(gzip.clj:42)
- at ring.middleware.gzip$piped_gzipped_input_stream.invoke(gzip.clj:38)
- at clojure.lang.AFn.applyToHelper(AFn.java:154)
- at clojure.lang.AFn.applyTo(AFn.java:144)
- at clojure.core$apply.invokeStatic(core.clj:648)
- at clojure.core$update_in.invokeStatic(core.clj:5950)
- at clojure.core$update_in.doInvoke(core.clj:5939)
- at clojure.lang.RestFn.invoke(RestFn.java:445)
- at ring.middleware.gzip$gzipped_response.invokeStatic(gzip.clj:61)
- at ring.middleware.gzip$gzipped_response.invoke(gzip.clj:55)
- at ring.middleware.gzip$wrap_gzip$fn__54900.invoke(gzip.clj:77)
- at ring.adapter.jetty$proxy_handler$fn__54746.invoke(jetty.clj:25)
- at ring.adapter.jetty.proxy$org.eclipse.jetty.server.handler.AbstractHandler$ff19274a.handle(Unknown Source)
- at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
- at org.eclipse.jetty.server.Server.handle(Server.java:499)
- at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
- at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
- at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
- at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
- at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
- at java.lang.Thread.run(Thread.java:748)
- ---> and another one
- 07-13 09:37:36 ERROR sync.util :: Error running sync step: unable to create new native thread
- ("driver.generic_sql.query_processor$do_in_transaction.invokeStatic(query_processor.clj:522)"
- "driver.generic_sql.query_processor$do_in_transaction.invoke(query_processor.clj:521)"
- "driver.generic_sql.query_processor$run_query_without_timezone.invokeStatic(query_processor.clj:536)"
- "driver.generic_sql.query_processor$run_query_without_timezone.invoke(query_processor.clj:535)"
- "driver.generic_sql.query_processor$execute_query$fn__51390.invoke(query_processor.clj:558)"
- "driver.generic_sql.query_processor$do_with_try_catch.invokeStatic(query_processor.clj:502)"
- "driver.generic_sql.query_processor$do_with_try_catch.invoke(query_processor.clj:497)"
- "driver.generic_sql.query_processor$execute_query.invokeStatic(query_processor.clj:555)"
- "driver.generic_sql.query_processor$execute_query.invoke(query_processor.clj:551)"
- "driver$fn__25845$G__25652__25852.invoke(driver.clj:61)"
- "driver$make_current_db_time_fn$fn__25961$fn__25962.invoke(driver.clj:358)"
- "driver$make_current_db_time_fn$fn__25961.invoke(driver.clj:356)"
- "driver$fn__25780$G__25632__25787.invoke(driver.clj:61)"
- "sync.sync_metadata.sync_timezone$fn__35243$sync_timezone_BANG___35248$fn__35249.invoke(sync_timezone.clj:20)"
- "sync.sync_metadata.sync_timezone$fn__35243$sync_timezone_BANG___35248.invoke(sync_timezone.clj:13)"
- "sync.sync_metadata$fn__35485$sync_db_metadata_BANG___35490$fn__35491$fn__35492.invoke(sync_metadata.clj:24)"
- "sync.util$do_with_error_handling.invokeStatic(util.clj:124)"
- "sync.util$do_with_error_handling.invoke(util.clj:119)"
- "sync.util$do_with_error_handling.invokeStatic(util.clj:122)"
- "sync.util$do_with_error_handling.invoke(util.clj:119)"
- "driver$fn__25884.invokeStatic(driver.clj:245)"
- "driver$fn__25884.invoke(driver.clj:245)"
- "driver$fn__25819$G__25626__25828.invoke(driver.clj:61)"
- "sync.util$sync_in_context$fn__32553.invoke(util.clj:115)"
- "sync.util$with_db_logging_disabled$fn__32550.invoke(util.clj:106)"
- "sync.util$with_start_and_finish_logging$fn__32545.invoke(util.clj:92)"
- "sync.util$with_sync_events$fn__32542.invoke(util.clj:75)"
- "sync.util$with_duplicate_ops_prevented$fn__32533.invoke(util.clj:54)"
- "sync.util$do_sync_operation.invokeStatic(util.clj:142)"
- "sync.util$do_sync_operation.invoke(util.clj:139)"
- "sync.sync_metadata$fn__35485$sync_db_metadata_BANG___35490$fn__35491.invoke(sync_metadata.clj:23)"
- "sync.sync_metadata$fn__35485$sync_db_metadata_BANG___35490.invoke(sync_metadata.clj:20)"
- "sync$fn__35535$sync_database_BANG___35540$fn__35541$fn__35542.invoke(sync.clj:28)"
- "sync.util$do_with_error_handling.invokeStatic(util.clj:124)"
- "sync.util$do_with_error_handling.invoke(util.clj:119)"
- "sync.util$do_with_error_handling.invokeStatic(util.clj:122)"
- "sync.util$do_with_error_handling.invoke(util.clj:119)"
- "driver$fn__25884.invokeStatic(driver.clj:245)"
- "driver$fn__25884.invoke(driver.clj:245)"
- "driver$fn__25819$G__25626__25828.invoke(driver.clj:61)"
- "sync.util$sync_in_context$fn__32553.invoke(util.clj:115)"
- "sync.util$with_db_logging_disabled$fn__32550.invoke(util.clj:106)"
- "sync.util$with_start_and_finish_logging$fn__32545.invoke(util.clj:92)"
- "sync.util$with_sync_events$fn__32542.invoke(util.clj:75)"
- "sync.util$with_duplicate_ops_prevented$fn__32533.invoke(util.clj:54)"
- "sync.util$do_sync_operation.invokeStatic(util.clj:142)"
- "sync.util$do_sync_operation.invoke(util.clj:139)"
- "sync$fn__35535$sync_database_BANG___35540$fn__35541.invoke(sync.clj:26)"
- "sync$fn__35535$sync_database_BANG___35540.invoke(sync.clj:19)"
- "events.sync_database$process_sync_database_event$fn__55998.invoke(sync_database.clj:34)")
- --> This looks again ok:
- 07-13 09:37:36 INFO sync.util :: FINISHED: Sync metadata for postgres Database 2 'test_win' (543 ms)
- 07-13 09:37:36 DEBUG sync.util :: Sync operations in flight: {:sync #{2}, :analyze #{2}}
- 07-13 09:37:36 INFO sync.util :: STARTING: Analyze data for postgres Database 2 'test_win'
- 07-13 09:37:36 INFO sync.util :: FINISHED: Analyze data for postgres Database 2 'test_win' (3 ms)
- 07-13 09:37:36 DEBUG sync.util :: Sync operations in flight: {:sync #{2}, :cache-field-values #{2}}
- 07-13 09:37:36 INFO sync.util :: STARTING: Cache field values in postgres Database 2 'test_win'
- 07-13 09:37:36 INFO sync.util :: FINISHED: Cache field values in postgres Database 2 'test_win' (811 µs)
- 07-13 09:37:36 INFO sync.util :: FINISHED: Sync postgres Database 2 'test_win' (569 ms)
- 07-13 09:37:39 DEBUG metabase.middleware :: POST /api/setup 400 (4 ms) (0 DB calls).
- --> This not:
- {:errors {:token "Token does not match the setup token."}}
- ----> "top" shows java using most resources but nothing is happening at the http://localhost:3000/setup/ when clicking "Next"
- Top:
- PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
- 10976 finfoot 20 0 3142228 1.200g 19652 S 1.0 60.0 2:30.42 java
- 11396 root 20 0 42684 1864 1384 R 0.3 0.1 0:00.15 top
- some further reading from top for java
- MEMORY stays at 60.1. CPU use is changing but process is sleeping...
- 10976 finfoot 20 0 3142228 1.201g 19652 S 1.0 60.1 2:44.56 java
- 10976 finfoot 20 0 3142228 1.201g 19652 S 0.7 60.1 2:44.58 java
- 10976 finfoot 20 0 3142228 1.201g 19652 S 1.3 60.1 2:44.62 java
- 10976 finfoot 20 0 3142228 1.201g 19652 S 0.7 60.1 2:44.64 java
- 10976 finfoot 20 0 3142228 1.201g 19652 S 0.7 60.1 2:44.66 java
- 10976 finfoot 20 0 3142228 1.201g 19652 S 1.0 60.1 2:44.69 java
- 10976 finfoot 20 0 3142228 1.201g 19652 S 1.0 60.1 2:44.72 java
- 10976 finfoot 20 0 3142228 1.201g 19652 S 0.7 60.1 2:44.74 java
- 10976 finfoot 20 0 3142228 1.201g 19652 S 1.0 60.1 2:44.77 java
- 10976 finfoot 20 0 3142228 1.201g 19652 S 0.7 60.1 2:44.79 java
- 10976 finfoot 20 0 3142228 1.201g 19652 S 0.3 60.1 2:44.80 java
- 10976 finfoot 20 0 3142228 1.201g 19652 S 1.0 60.1 2:44.83 java
- ------> next try:
- pkill java
- start metabase again (/etc/init.d/metabase start)
- many times in the log: unable to create new thread.
- According to the log the DBs (the sample database and the external one I tried to connect before) were successfully analyzed
- But nothing accessabel through localhost:3000 [/setup... /admin etc.]
- HTTP ERROR: 500 unable to create native thread
- after stopping metabase with: /etc/init.d/metabase stop
- this comes up in the log:
- OpenJDK 64-Bit Server VM warning: Exception java.lang.OutOfMemoryError occurred dispatching signal SIGTERM to handler- the VM may need to be forcibly terminated
- This time java is using a little less but still a lot: 41% of memory
- from:top | grep java
- 12398 finfoot 20 0 3134708 858812 19584 S 0.0 41.0 1:07.97 java
- 12398 finfoot 20 0 3134708 858812 19584 S 0.7 41.0 1:07.99 java
- 12398 finfoot 20 0 3134708 858812 19584 S 0.7 41.0 1:08.01 java
- The webinterface is not reacting at all. Always HTTP ERROR: 500
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement