tugraph-db icon indicating copy to clipboard operation
tugraph-db copied to clipboard

Unable to upload procedures to tugraph server

Open qishipengqsp opened this issue 1 year ago • 2 comments

  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 avatar Dec 22 '23 12:12 qishipengqsp

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 avatar Dec 23 '23 06:12 qishipengqsp

  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.

qishipengqsp avatar Jan 19 '24 09:01 qishipengqsp