-
-
Notifications
You must be signed in to change notification settings - Fork 407
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
Steve's process will be killed at some point. #1163
Comments
What are the logs (system and steve's) saying? |
Thx for reply Julien
Not sure if this is relevant as the time at which the process dies is
unknown, but there is an error which indicates
[ERROR] 2023-05-22 04:37:13,045
de.rwth.idsg.steve.ocpp.ws.WebSocketLogger -
[chargeBoxId=AWSJ600001W1P0D2226A018A0,
sessionId=d9461bc8-56d6-90a8-10b7-131b7c09f3a0] Transport error
java.nio.channels.ClosedChannelException: null
at
org.eclipse.jetty.websocket.core.internal.WebSocketSessionState.onEof(WebSocketSessionState.java:169)
~[websocket-core-common-10.0.11.jar:10.0.11]
at
org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.onEof(WebSocketCoreSession.java:253)
~[websocket-core-common-10.0.11.jar:10.0.11]
at
org.eclipse.jetty.websocket.core.internal.WebSocketConnection.fillAndParse(WebSocketConnection.java:482)
~[websocket-core-common-10.0.11.jar:10.0.11]
at
org.eclipse.jetty.websocket.core.internal.WebSocketConnection.onFillable(WebSocketConnection.java:340)
~[websocket-core-common-10.0.11.jar:10.0.11]
at
org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:319)
~[jetty-io-10.0.11.jar:10.0.11]
at
org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)
~[jetty-io-10.0.11.jar:10.0.11]
at
org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53)
~[jetty-io-10.0.11.jar:10.0.11]
at
org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:412)
~[jetty-util-10.0.11.jar:10.0.11]
at
org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:381)
~[jetty-util-10.0.11.jar:10.0.11]
at
org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:268)
~[jetty-util-10.0.11.jar:10.0.11]
at
org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.lambda$new$0(AdaptiveExecutionStrategy.java:138)
~[jetty-util-10.0.11.jar:10.0.11]
at
org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:407)
~[jetty-util-10.0.11.jar:10.0.11]
at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:894)
~[jetty-util-10.0.11.jar:10.0.11]
at
org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1038)
~[jetty-util-10.0.11.jar:10.0.11]
at java.lang.Thread.run(Thread.java:829) ~[?:?]
[WARN ] 2023-05-22 04:37:13,046
de.rwth.idsg.steve.ocpp.ws.WebSocketLogger -
[chargeBoxId=AWSJ600001W1P0D2226A018A0,
sessionId=d9461bc8-56d6-90a8-10b7-131b7c09f3a0] Connection is closed,
status: CloseStatus[code=1006, reason=Session Closed]
…On 2023/05/31 14:09, Julien Herr wrote:
What are the logs (system and steve's) saying?
—
Reply to this email directly, view it on GitHub
<#1163 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A62PX5QXOTWPVO5LCEXZEHTXI3G7DANCNFSM6AAAAAAYUXTUK4>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I search kern.log May 26 11:39:01 ocpp-ap01 kernel: [2336070.094330] Tasks state (memory values in pages): May 26 11:39:01 ocpp-ap01 kernel: [2336070.305478] Out of memory: Killed process 103114 (java) total-vm:3929824kB, anon-rss:1809208kB, file-rss:0kB, shmem-rss:0kB, UID:1000 pgtables:3916kB oom_score_adj:0 The process killed cause out of memory, while :; do date; java -jar target/steve.jar; done Would this workaround work? |
no. charging stations are autonomous in that regard. they are just notifying steve about transaction start and stop. which steve version are you using? there has been a memory problem which was fixed recently. see #846 and #1058 |
Hello GoKay
Thx for this ocpp software.
Im using 3.5.0
Im understand this version has memory problem.
and Is this version not supported api?
Should I downgrade my software version?
…On 2023/06/04 15:46, Sevket Gökay wrote:
which steve version are you using? there has been a memory problem
which was fixed recently.
|
i actually just made a release which includes the fix and the APIs for 3rd parties |
It has been 3 days since we installed the new version and the process no longer dies. I want to find API usage. |
@mtomoda the capabilities of the API are limited. you cannot start remote transaction via API call. there is no endpoint for this. |
Thank you reply goekay. I see I believe it is possible to run ChargePoint through Steve from my smartphone via SOAP or WebSocket rather than API. |
@mtomoda It will possible when someone will implement it. Maybe a fork already do it but it should be considered like another project. |
Thx for reply @juherr |
closing this issue since it seems to be resolved. |
I installed Steve on GCP Debian following the community Configuration and Installation
The startup command is started with
Access is available for a few hours, but at some point access becomes inaccessible.
The life or death of the process was checked with the following commands
then I've activated it again.
Access the web interface using
SOAP endpoint for OCPP
WebSocket/JSON endpoint for OCPP
I can access steve home.
Why is the process dying?
The text was updated successfully, but these errors were encountered: