Skip to content
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

CLOG apps don't survive sleep / hybernation #281

Closed
Mr-Dispatch opened this issue May 23, 2023 · 5 comments
Closed

CLOG apps don't survive sleep / hybernation #281

Mr-Dispatch opened this issue May 23, 2023 · 5 comments

Comments

@Mr-Dispatch
Copy link

Mr-Dispatch commented May 23, 2023

[client & server on the same machine]
Is this even solvable ? Temporary session retention (using monotonic timers) ?
[Of course, that would massively degrade security in cases where the client & server are on separate machines ... DOS / Session stealing ... ]

@rabbibotton
Copy link
Owner

On local machines there are no issues with sleep and suspend. I assume you are talking about between networked machines. If the interruption is long enough than it is viewed as a disconnect and so would not work.

If you wanted your app to survive a disconnect and a new connection that would be something to design in to your app. Disconnects of days months etc

Summary on local machine I’ve never seen an issue, for remote connections you will have to design in persistence.

@Mr-Dispatch
Copy link
Author

Mr-Dispatch commented May 23, 2023

"On local machines there are no issues with sleep and suspend."
I call bullshit on this. EVERY time I put my notebook to sleep / hybernation, CLOG builder dies. What can I submit as evidence ?
[shitty Dell Latitude 3580, current Win10, latest SBCL x64]

@rabbibotton
Copy link
Owner

So than the question is why on your machine is this the case or your configuration (or has there been a regression). I'll try and runs some tests and see if can duplicate soon. Not sure what cow dung has to do with this, but I'll leave that out of the tests.

@Mr-Dispatch
Copy link
Author

Mr-Dispatch commented May 23, 2023

The cow dung might be the state of my Windows install - upgraded for some 2-3 years, enjoyed several versions of Visual Studio and whatnot ... Just that it really happens.

EDIT: And I in no way meant to retract my "calling cow dung" statement. No-one has the right to absurdly throw in my face that things that are observably happening "can in no way happen", even having your skills, pal.

@jpe90
Copy link
Contributor

jpe90 commented Jul 6, 2023

I couldn't reproduce this. I tested CLOG apps and CLOG builder on x86-64 Windows, ARM Mac, and X86-64 Linux, all installed from Ultralisp. I ran local apps and CLOG builder on each system, hibernated, resumed the system, and checked app functionality/database connectivity. Didn't have any issues.

I'm not sure how this issue can move forward considering there are no REPL logs, browser logs, system logs or anything indicating what the problem might be.

@Mr-Dispatch Please don't be abusive or disrespectful to free software maintainers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants