Re: LiveCode Server is sleeping?

2023-06-22 Thread harrison--- via use-livecode
Hi Matthias,

To answer your questions:

MacintoshHD/Library/WebServer/CGI-Executables/livecode-server

The hard drive is the internal SSD drive.

Apache server and the livecode server are both installed on the same hard drive.

Scripts are in:

Library/Webserver/Documents

and some are forwarded to:

Users/(username)/Sites

Since I’m not using spinning hard drives, that is probably not the issue.

I do get an error in the error log of: XType: Using static font registry 
(sometimes)
but that seems too minor to be causing this problem.  Not quite sure how to
fix the the font problem.

Ideas?

Thanks,

Rick


> On Jun 22, 2023, at 3:59 PM, matthias rebbe via use-livecode 
>  wrote:
> 
> 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

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LiveCode Server is sleeping?

2023-06-22 Thread matthias rebbe via use-livecode
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 
> :
> 
> 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@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


LiveCode Server is sleeping?

2023-06-22 Thread harrison--- via use-livecode
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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode