# Stardog Server Startup Stalled at "Initializing virtual graph registry"

**URL:** <https://community.stardog.com/t/stardog-server-startup-stalled-at-initializing-virtual-graph-registry/3037>\
**Category:** Support\
**Created:** [May 12, 2021, 6:46pm UTC](https://community.stardog.com/t/stardog-server-startup-stalled-at-initializing-virtual-graph-registry/3037 "2021-05-12T18:46:12Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicholsn](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/nicholsn/32/284_2.png) [@nicholsn](https://community.stardog.com/u/nicholsn)\
**Post date:** [May 12, 2021, 6:46pm UTC](https://community.stardog.com/t/stardog-server-startup-stalled-at-initializing-virtual-graph-registry/3037/1 "2021-05-12T18:46:12Z")

</div>

This is related to an issue posted in the Develop Category: [Stardog server startup issue](https://community.stardog.com/t/sardog-server-startup-issue/2800)

I'm seeing this issue with an instance that is running on Ubuntu 18.04 with stardog 7.6.3 installed via the debian installer. I started seeing this issue after having an out of memory error when querying a large virtual graph.

Here is the error I saw:

```auto
INFO 2021-05-11 18:11:44,888 [main] com.complexible.stardog.virtual.DefaultVirtualGraphRegistry:syncCache(494): Initializing virtual graph registry

```

I let the server try to startup and it was pinned at 100% on 1 cpu for over 4 hours. Even using `-v` the only output I saw was the above in `stardog.log` .

Any thoughts on how to debug this?

---

<div class="post-metadata">

**Author:** ![jess](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/jess/32/10_2.png) [@jess](https://community.stardog.com/u/jess)\
**Post date:** [May 18, 2021, 5:20pm UTC](https://community.stardog.com/t/stardog-server-startup-stalled-at-initializing-virtual-graph-registry/3037/2 "2021-05-18T17:20:15Z")

</div>

Hi Nolan,

Sorry for the delayed response. The `jstack` command will provide some details to analyze this. Are you still experiencing this error? Can you reproduce it? If possible, a backup of your home directory should allow us to reproduce it.

Jess

---

<div class="post-metadata">

**Author:** ![jess](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/jess/32/10_2.png) [@jess](https://community.stardog.com/u/jess)\
**Post date:** [May 19, 2021, 10:46pm UTC](https://community.stardog.com/t/stardog-server-startup-stalled-at-initializing-virtual-graph-registry/3037/3 "2021-05-19T22:46:59Z")

</div>

Thanks for reporting this Nolan. We have created the issue PLAT-2394 and will fix it in an upcoming release.

Jess

---

<div class="post-metadata">

**Author:** ![nicholsn](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/nicholsn/32/284_2.png) [@nicholsn](https://community.stardog.com/u/nicholsn)\
**Post date:** [May 20, 2021, 7:37pm UTC](https://community.stardog.com/t/stardog-server-startup-stalled-at-initializing-virtual-graph-registry/3037/4 "2021-05-20T19:37:13Z")

</div>

Thanks, Jess. I ended up starting over, so no home directory to share, but it sounds like the issue may have been identified.

---

<div class="post-metadata">

**Author:** ![jess](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/jess/32/10_2.png) [@jess](https://community.stardog.com/u/jess)\
**Post date:** [May 20, 2021, 7:43pm UTC](https://community.stardog.com/t/stardog-server-startup-stalled-at-initializing-virtual-graph-registry/3037/5 "2021-05-20T19:43:15Z")

</div>

The other case we saw tens of thousands of tables in the data sources. I'm assuming it was similar in your case. When a virtual graph is created, the list of visible tables is retrieved from the data source.

---

<div class="post-metadata">

**Author:** ![nicholsn](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/nicholsn/32/284_2.png) [@nicholsn](https://community.stardog.com/u/nicholsn)\
**Post date:** [May 20, 2021, 8:06pm UTC](https://community.stardog.com/t/stardog-server-startup-stalled-at-initializing-virtual-graph-registry/3037/6 "2021-05-20T20:06:34Z")

</div>

that's correct, one of the data sources was Athena with many tables, though not tens of thousands.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/e/ed66b48a616f505106a4acde3c9cee7e6da9bc67.svg) [@system](https://community.stardog.com/u/system)\
**Post date:** [June 3, 2021, 8:06pm UTC](https://community.stardog.com/t/stardog-server-startup-stalled-at-initializing-virtual-graph-registry/3037/7 "2021-06-03T20:06:48Z")

</div>

Closed on June 3, 2021, 8:06pm UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
