Jul 01, 2018; 10:32
Todd Vainisi
help me keep my ancient server alive?
Hi List,
Long time no lasso talk! I have an old cent os 5 server that has lasso 8.1 on it . Something constantly happens to push the Lasso8Service to many gigs of memory until the sites all crash. I ssh in and issue lasso8ctl restart and the problem goes away. It used to take weeks between restarts, but now it is usually just a day or two, sometimes even less.
I=92ve tried to write a shell script to execute from cron to just automatically restart lasso twice a day. I can run this script from the command line and it executes perfectly. But from cron, not so much. The output from the script seems correct (it shows it has a good $PATH and I get output that says "Restarting Lasso Service: Done=94), but my sites all crash as a result.
Any ideas why it doesn=92t work from cron?
Here is the sh script (real complicated):
#!/bin/bash
export PATH="$PATH:/usr/sbin"
echo $PATH
lasso8ctl restart
******************
and the output (emailed to me by cron):
/usr/bin:/bin:/usr/sbin
Restarting Lasso Service: Done
Todd Vainisi
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso Lasso@lists.lassosoft.com
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>