Skip to content

Node Js server crashes after a few RFC calls  #326

@mindlogical

Description

@mindlogical

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions