Skip to content

SimbaDroid randomly stops running #11

@buttercookie42

Description

@buttercookie42

However, I've noticed that the SambaSimbaDroid server sometimes stops and I have to restart it manually. Is there a way to keep it running as a service so it doesn't stop?

Originally posted by @inigortega in #10

Well, two things.

One, if the network connection drops for more than twenty minutes, the server stops running. That's intentional, though I suppose it could be made configurable, too, if that's the indeed the issue for you. (Probably not though, because otherwise you wouldn't even be able to access the server in the first place.)

Two, yes, at the moment the service isn't set to restart automatically if it gets killed for any reason. I can look into changing that, but it'd still be interesting to find out why the service gets killed in the first place. Either it's some sort of crash in jfileserver, or else Android is under too much memory pressure or possibly someone's (either Google, or possibly rather your OEM) overeager battery optimisation logic is deciding to kill the app.

Any chance you could look through your logcat logs and see if there's anything interesting being reported there? Let me know if you need any pointers on how to do that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions