LiveCode Server is sleeping?

matthias_livecode_150811 at m-r-d.de matthias_livecode_150811 at m-r-d.de
Thu Jun 22 15:59:02 EDT 2023


I am also running Livecode Server with Apache on 13.4 without a problem so far.

Where did you install the software (Apache/Livecode Server)?
Is Livecode Server installed on the same hard drive as Apache server is installed?
Where are your scripts stored? 

I had once problems with external hard drives which had built in power management. 
So although i had disabled the "Hard disk standby" (don't know the correct English expression) in the energy settings of macOS the external hard drives went to sleep after some time.

I solved this with a little free tool called Keep Drive Spinning
http://jon.stovell.info/software/keep-drive-spinning/


Regards,
Matthias
> Am 22.06.2023 um 18:04 schrieb harrison--- via use-livecode <use-livecode at lists.runrev.com>:
> 
> I am running LiveCode Server version 9.6.9,
> with apache 2.4.56 under Mac OS 13.4 Ventura 
> with a Postgresql database.
> 
> All of my energy saver settings in the OS are
> set so nothing ever sleeps.
> 
> When my server hasn’t been getting incoming
> connections for a time, for some stupid reason
> it goes to sleep and stops serving pages!
> 
> I’ve tried to track down the problem, and it
> appears that apache is running fine as
> proved by when asking for a strict HTML
> webpage, and everything works!
> 
> Anything that needs the LiveCode server
> doesn’t work for a couple of minutes,
> and only after a half dozen requests does
> it start responding normally.
> 
> I have checked my error logs, and it shows
> timeouts for livecode-server.
> 
> I don’t know if livecode is waiting to get
> a response from Postresql or not.
> 
> The interval between failures varies, so
> it is difficult to know how often I have to
> tell an automatic application to access the
> website in order to keep everything running
> correctly.
> 
> Ideas?  Suggestions?
> 
> Thanks,
> 
> Rick
> 
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list