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

Unable to upload procedures to tugraph server #347

Open
qishipengqsp opened this issue Dec 22, 2023 · 2 comments
Open

Unable to upload procedures to tugraph server #347

qishipengqsp opened this issue Dec 22, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@qishipengqsp
Copy link
Collaborator

qishipengqsp commented Dec 22, 2023

  1. cpp: algorithms are splitted to core, procedure and standalone. Users can not upload a single procedure file now.
  2. zip: unzip command not found in remote environment
  3. so: compile so in compile docker and upload to runtime docker. The error occurs in DE algo:
    Failed to load the DLL: /var/lib/lgraph/data/D4C2203EE5F7EF40A489D54A5912A317/_cpp_plugin_/_fma_de.so: cannot allocate memory in static TLS block. The tugraph_server can host ~13 plugins at most. After that, it reports the TLS block error.
  4. run apsp on dataset movie. Server process crashed.
@qishipengqsp qishipengqsp changed the title Unable to upload zip or cpp procedures via web interfaces Unable to upload procedures to tugraph server Dec 23, 2023
@qishipengqsp
Copy link
Collaborator Author

de:

Failed to load the DLL: /var/lib/lgraph/data/D4C2203EE5F7EF40A489D54A5912A317/cpp_plugin/_fma_de.so: cannot allocate memory in static TLS block

en:
Failed to load the DLL: /var/lib/lgraph/data/D4C2203EE5F7EF40A489D54A5912A317/cpp_plugin/_fma_en.so: cannot allocate memory in static TLS block

hits:
Failed to load the DLL: /var/lib/lgraph/data/D4C2203EE5F7EF40A489D54A5912A317/cpp_plugin/_fma_hits.so: cannot allocate memory in static TLS block

kcore:
Failed to load the DLL: /var/lib/lgraph/data/D4C2203EE5F7EF40A489D54A5912A317/cpp_plugin/_fma_kcore.so: cannot allocate memory in static TLS block

louvain:
Failed to load the DLL: /var/lib/lgraph/data/D4C2203EE5F7EF40A489D54A5912A317/cpp_plugin/_fma_louvain.so: cannot allocate memory in static TLS block

mssp:
Failed to load the DLL: /var/lib/lgraph/data/D4C2203EE5F7EF40A489D54A5912A317/cpp_plugin/_fma_mssp.so: cannot allocate memory in static TLS block

ppr:
Failed to load the DLL: /var/lib/lgraph/data/D4C2203EE5F7EF40A489D54A5912A317/cpp_plugin/_fma_ppr.so: cannot allocate memory in static TLS block

scc:
Failed to load the DLL: /var/lib/lgraph/data/D4C2203EE5F7EF40A489D54A5912A317/cpp_plugin/_fma_scc.so: cannot allocate memory in static TLS block

slpa:
Failed to load the DLL: /var/lib/lgraph/data/D4C2203EE5F7EF40A489D54A5912A317/cpp_plugin/_fma_slpa.so: cannot allocate memory in static TLS block

spsp:
Failed to load the DLL: /var/lib/lgraph/data/D4C2203EE5F7EF40A489D54A5912A317/cpp_plugin/_fma_spsp.so: cannot allocate memory in static TLS block

trustrank:信任指数排名
Failed to load the DLL: /var/lib/lgraph/data/D4C2203EE5F7EF40A489D54A5912A317/cpp_plugin/_fma_trustrank.so: cannot allocate memory in static TLS block

wpagerank:带权重的网页排序
Failed to load the DLL: /var/lib/lgraph/data/D4C2203EE5F7EF40A489D54A5912A317/cpp_plugin/_fma_wlpa.so: cannot allocate memory in static TLS block

mis:最大独立集算法
Failed to load the DLL: /var/lib/lgraph/data/D4C2203EE5F7EF40A489D54A5912A317/cpp_plugin/_fma_mis.so: cannot allocate memory in static TLS block

sybilrank:sybil检测算法
Failed to load the DLL: /var/lib/lgraph/data/D4C2203EE5F7EF40A489D54A5912A317/cpp_plugin/_fma_sybilrank.so: cannot allocate memory in static TLS block

子图匹配算法
Failed to load the DLL: /var/lib/lgraph/data/D4C2203EE5F7EF40A489D54A5912A317/cpp_plugin/_fma_subgraph_isomorphism.so: cannot allocate memory in static TLS block

模式匹配算法
Failed to load the DLL: /var/lib/lgraph/data/D4C2203EE5F7EF40A489D54A5912A317/cpp_plugin/_fma_motif.so: cannot allocate memory in static TLS block

k阶团计数算法
Failed to load the DLL: /var/lib/lgraph/data/D4C2203EE5F7EF40A489D54A5912A317/cpp_plugin/_fma_kcliques.so: cannot allocate memory in static TLS block

k阶桁架计数算法
Failed to load the DLL: /var/lib/lgraph/data/D4C2203EE5F7EF40A489D54A5912A317/cpp_plugin/_fma_ktruss.so: cannot allocate memory in static TLS block

莱顿算法
Failed to load the DLL: /var/lib/lgraph/data/D4C2203EE5F7EF40A489D54A5912A317/cpp_plugin/_fma_leiden.so: cannot allocate memory in static TLS block

@qishipengqsp
Copy link
Collaborator Author

qishipengqsp commented Jan 19, 2024

  1. cpp: algorithms are splitted to core, procedure and standalone. Users can not upload a single procedure file now.
    TODO. @gtahoo
  1. zip: unzip command not found in remote environment

Fixed. See https://github.com/TuGraph-family/tugraph-db/blob/master/ci/images/tugraph-runtime-centos7-Dockerfile#L17

  1. so: compile so in compile docker and upload to runtime docker. The error occurs in DE algo:
    Failed to load the DLL: /var/lib/lgraph/data/D4C2203EE5F7EF40A489D54A5912A317/_cpp_plugin_/_fma_de.so: cannot allocate memory in static TLS block. The tugraph_server can host ~13 plugins at most. After that, it reports the TLS block error.

Recorded in #387

  1. run apsp on dataset movie. Server process crashed.

Unable to reproduce this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant