You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
as descripted above:" all the forked processes keep alive, eat all memory and server crash". this must not be expected, i may run into some low-level stupid mistake. can you provid any clue to solve this?
R version is 3.6 i use RestRserve construct a server to compute a model . if post the url once , it always work well. when i iterate post continuously 。 it always crash when the 40th time 。 error reported is
"WARNING: fork() failed in Rserve_prepare_child(): Cannot allocate memory"
The text was updated successfully, but these errors were encountered:
Rserve keeps connection open until client closes it. So if your clients don't close connections, worker processes will be alive (as per my understanding time alive is defined by TCP protocol config on your machine) and waiting communication from clients them. See related discussion and suggestions (like putting RestRserve behind proxy which will force connection close or force all clients to share pool of connections) in #25.
I'm closing this ticket. We can continue in #25 if needed.
as descripted above:" all the forked processes keep alive, eat all memory and server crash". this must not be expected, i may run into some low-level stupid mistake. can you provid any clue to solve this?
R version is 3.6 i use RestRserve construct a server to compute a model . if post the url once , it always work well. when i iterate post continuously 。 it always crash when the 40th time 。 error reported is
"WARNING: fork() failed in Rserve_prepare_child(): Cannot allocate memory"
The text was updated successfully, but these errors were encountered: