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

Node Js server crashes after a few RFC calls #326

Open
mindlogical opened this issue May 21, 2024 · 0 comments
Open

Node Js server crashes after a few RFC calls #326

mindlogical opened this issue May 21, 2024 · 0 comments

Comments

@mindlogical
Copy link

mindlogical commented May 21, 2024

Hi @bsrdjan
After multiple RFC calls the node server crashes automatically without throwing any error.
I am using ubuntu 20.04 and the SDK is Linux on X86_64 64 bit with node version 16.10.0 and node-rfc 2.7.1 on the server and in my local environment I am using windows, node version 16.10.0 and node-rfc 2.7.1.

I have tried the remedies mentioned in the posts #189 and #152 but my issue remains as such.-

I am using the pool to acquire connection:-
this.pool = await
new noderfc.Pool({
connectionParameters: connParams,
clientOptions: {stateless:true}, // optional
poolOptions: { low:50, high:1200 }, // optional
});
this.client = await this.pool.acquire();

and also closing them after rfc calls using

const res = await this.client.call('RFC_NAME',{ID:userid},{timeout:20});

await this.pool.release(this.client);

Could you please suggest me if I should do anything differently to fix the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant