objc[15959] fork error
#215
Unanswered
dereckmezquita
asked this question in
Q&A
Replies: 1 comment
-
This looks like you may be pre-loading packages or code that uses the (E.g., if you want to use graphics, use the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I'm having a very hard time tracking down what caused this error and I just wanted to share and discuss with others.
It's a little bit difficult for me to share a minimal example as I'm not really sure what's causing the error but here is what the error I get is:
Now, in my program, I am running a RestRserve + R6 classes for logic and one of the things I am including is a database connection.
I refactored my programme so that every time I access need a db connection a new conneciton is created to avoid problems as I know RestRserve has limitations on forking db connecitons. However, I still get the above error.
Interestingly only get the error sometimes. I get the error 4/10 times. When I do I get the error only one time when the REST API gets its first request, then after no more. I have not done extensive testing so I hold my tongue.
Currently I am running the programme and I am not seeing it anymore.
I'm hoping someone recognises the error and or might have suggestions on how to debug. I am running the programme using
Rscript
so I don't have access tobrowser
ortraceback
.Beta Was this translation helpful? Give feedback.
All reactions