Page 1 of 1

Making sure Livecode Server shuts down correctly

Posted: Wed Sep 02, 2020 3:54 pm
by mguzdial
I received a notification that my LiveCode Server scripts were continuing to run on the server. I was asked to "make sure that LiveCode server shuts down correctly after access."

I'm not sure how to do that. I am not opening any sockets or processes. No database access. What should I be doing to shut down the server after my scripts run?

Re: Making sure Livecode Server shuts down correctly

Posted: Wed Sep 02, 2020 4:10 pm
by matthiasr
Any chance, that you have an infinite loop or so in your script. Or maybe any shell() function?

Until today i never heard of such a problem. Who is your hoster? Is there any more information in that email?

Regards,
Matthias

Re: Making sure Livecode Server shuts down correctly

Posted: Wed Sep 02, 2020 6:29 pm
by mguzdial
It's on Livecode Hosting. Robin sent me the note. I've tried replying, but it seems that there's something wrong with their email right now. His note was:


Unfortunately, we've detected a problem with scripts running on the account
"teaspoon" on our Quartz server. It appears that some of the scripts in the
/chatbot/ directory didn't close properly and were overloading the server. I have
killed the open processes but would be grateful if you could take a look at the
scripts and make sure that LiveCode server shuts down correctly after access.

Re: Making sure Livecode Server shuts down correctly

Posted: Wed Sep 02, 2020 6:34 pm
by FourthWorld
Chatbot? Are you polling with HTTP or using sockets directly?

Re: Making sure Livecode Server shuts down correctly

Posted: Wed Sep 02, 2020 6:38 pm
by mguzdial
Nope — just text in HTML forms. Check it out. teaspoon. livecodehosting. com/ chatbot/