-
Notifications
You must be signed in to change notification settings - Fork 123
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
Program Not Responsive on Initial ApiWrapper Call #143
Comments
@apache289 try this solution: |
Thank for replying. As a matter of fact, I did set urandom in my JVM parameters. Here are my parameter settings: JAVA_OPTS="-server" |
@apache289 1.Check the network configuration of your Amazon EC2 instance to ensure that it can access the external network properly. |
|
Updates: |
Environment:
Problem:
My token listener program is supposed to be scheduled to run every 1 minute right after Tomcat starts, but it hangs for 4–7 minutes when it calls new ApiWrapper(endpoint, solidityEndpoint, hexPrivateKey) for the first time. After that, the program returns to normal. No error message is thrown.
Already tried the following, but the problem persists:
This issue only occurs once, right after Tomcat starts.
When I run lsof -p, I see the following two files that have been freezing there until my program returns to normal:
/opt/tomcat/temp/libnetty_transport_native_epoll_x86_643817863052686482907.so
/opt/tomcat/temp/libio_grpc_netty_shaded_netty_transport_native_epoll_x86_641427721799382997163.so
Additionally, I'd like to add that after initializing ApiWrapper, if it becomes unresponsive, Tomcat also becomes unresponsive until it eventually recovers on its own. No issues occur in my Windows development environment.
The text was updated successfully, but these errors were encountered: