ExposuresProvider / cam-kp-api

Web service API for the NCATS Data Translator CAM-KP
MIT License
3 stars 2 forks source link

Several integration tests from QueryServiceTest are timing out #613

Open gaurav opened 1 year ago

gaurav commented 1 year ago

I discovered this running the integration tests locally. They also timeout on cam-kp-api-dev.renci.org but run successfully on cam-kp-api. This includes:

I've tried restarting cam-kp-sparql but that didn't solve the problem.

gaurav commented 1 year ago

I've tried increasing the memory on cam-kp-sparql from 32Gi to 64Gi, but that didn't fix it.

It might be related to this error I've been seeing in the CAM-KP SPARQL log -- maybe I've misconfigured something? The Helm chart I'm using is at https://github.com/helxplatform/translator-devops/pull/526

gaurav commented 1 year ago

Okay, I've found an example SPARQL query that works fine on the old triplestore, but that times out on the new triplestore. @balhoff Do you have any idea why the two Blazegraph databases might react so differently to this?

balhoff commented 1 year ago

@gaurav not exactly related to the performance issue, but I don't think that ?n0_class and ?n1_class should be projected out of the sub-select (and also shouldn't be in the GROUP BY).