heavyai / heavyai-connector

A JavaScript library for connecting to a OmniSci GPU database and running queries.
https://www.omnisci.com/
Other
89 stars 41 forks source link

Investigate connection-to-server limit (if any) in node connector, implement if inadequate #83

Open jonvuri opened 6 years ago

jonvuri commented 6 years ago

Limit number of connections to server to around 6 like browsers do in Node mapd-connector, with some task dispatcher such as async.eachLimit. (Possible existing pattern in mapd-client-v2)

esamuel1 commented 6 years ago

Adding notes for the fix that helped resolve this:

Add the following line to this file: /lib/systemd/system/mapd_web_server.service? LimitNOFILE=65536

This needs to go between ExecStart and Restart properties in the file. I After editing the file, you will need to run the below command for the changes to pick up:

sudo systemctl daemon-reload && sudo systemctl restart mapd_web_server

niviksha commented 6 years ago

@chrisv can you please track this for 4.0.1 prioritization? thanks!

jonvuri commented 5 years ago

Tracking in https://jira.omnisci.com/browse/FE-8234