slow Lasso site issue - how to fix?

classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|

slow Lasso site issue - how to fix?

Tami Williams
I got this message today from someone needing help with their Lasso + MySQL site:

"Im having to go in almost every day or twice a day and restart lasso as our website so SOOOOO slow
Once I do that its speedy"


I've already tweaked their MySQL settings (about 1 month ago) and that stopped a problem they were having where MySQL would just stop responding.


I'm thinking that this "slow" problem, fixed by restarting Lasso is actually being fixed because some cache is being cleared?  Does that make sense?

Any ideas as to what I should look at / tweak next?


Thanks in advance


P.S.  I did not write any of the code for this site and they're not interested in having anything re-written and there's tons of pages so that's not an option; they're moving to some new site and are just trying to keep the old site going until the move is done; I basically need something that 'automatically' does what she's doing by restarting the site.
#############################################################
This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: slow Lasso site issue - how to fix?

Steve Upton

On May 2, 2014, at 10:57 AM, Tami Williams <[hidden email]> wrote:

> Any ideas as to what I should look at / tweak next?

Try watching Lasso real RAM use on the machine and see if it’s ratcheting up over time.

Actually, in my experience I’ve never seen one that doesn’t. But ratcheting up quickly and associating it with their need to reboot might help.

It sounds like a restart script might be in order if their not looking to pay for a longer term fix

regards,

Steve


#############################################################
This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: slow Lasso site issue - how to fix?

stevepiercy
In reply to this post by Tami Williams
Use monit and call it a day.  The article is somewhere on lassosoft.com.

--steve


On 5/2/14 at 1:57 PM, [hidden email] (Tami Williams) pronounced:

> I got this message today from someone needing help with their Lasso + MySQL site:
>
> "Im having to go in almost every day or twice a day and restart lasso as our
> website so SOOOOO slow
> Once I do that its speedy"
>
>
> I've already tweaked their MySQL settings (about 1 month ago) and that stopped a
> problem they were having where MySQL would just stop responding.
>
>
> I'm thinking that this "slow" problem, fixed by restarting Lasso is actually being
> fixed because some cache is being cleared?  Does that make sense?
>
> Any ideas as to what I should look at / tweak next?
>
>
> Thanks in advance
>
>
> P.S.  I did not write any of the code for this site and they're not interested in
> having anything re-written and there's tons of pages so that's not an option;
> they're moving to some new site and are just trying to keep the old site going
> until the move is done; I basically need something that 'automatically' does what
> she's doing by restarting the site.
> #############################################################
> This message is sent to you because you are subscribed to
>   the mailing list Lasso [hidden email]
> Official list archives available at http://www.lassotalk.com
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Steve Piercy               Web Site Builder               Soquel, CA
<[hidden email]>                  <http://www.StevePiercy.com/>

#############################################################
This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: slow Lasso site issue - how to fix?

Carl Ketterling
That¹s a great article.  Thanks for the mention, Steve.

http://www.lassosoft.com/Monitoring-Lasso-with-Monit

Carl


From: Steve Piercy - Web Site Builder <[hidden email]>
Reply-To: <[hidden email]>
Date: Fri,  2 May 2014 12:32:51 -0700
To: <[hidden email]>
Subject: Re: slow Lasso site issue - how to fix?

Use monit and call it a day.  The article is somewhere on lassosoft.com.

--steve


On 5/2/14 at 1:57 PM, [hidden email] (Tami Williams) pronounced:

> I got this message today from someone needing help with their Lasso + MySQL
site:
>
> "Im having to go in almost every day or twice a day and restart lasso as our
> website so SOOOOO slow
> Once I do that its speedy"
>
>
> I've already tweaked their MySQL settings (about 1 month ago) and that stopped
a
> problem they were having where MySQL would just stop responding.
>
>
> I'm thinking that this "slow" problem, fixed by restarting Lasso is actually
being
> fixed because some cache is being cleared?  Does that make sense?
>
> Any ideas as to what I should look at / tweak next?
>
>
> Thanks in advance
>
>
> P.S.  I did not write any of the code for this site and they're not interested
in
> having anything re-written and there's tons of pages so that's not an option;
> they're moving to some new site and are just trying to keep the old site going
> until the move is done; I basically need something that 'automatically' does
what
> she's doing by restarting the site.
> #############################################################
> This message is sent to you because you are subscribed to
>   the mailing list Lasso [hidden email]
> Official list archives available at http://www.lassotalk.com
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Steve Piercy               Web Site Builder               Soquel, CA
<[hidden email]>                  <http://www.StevePiercy.com/>

#############################################################
This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>

#############################################################
This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: slow Lasso site issue - how to fix?

Tami Williams
Thanks for the advice.  I'll take a look at Monit.

I've also taken a screenshot of what I see Lasso-wise in Activity monitor (as of 4:50PM EST today) - can someone take a look and tell me if this is normal behavior?  There are over 16  Lasso8Service processes and most of them have over 14 threads.


You can see the screenshot at:

http://www.asktami.com/download/MMActivityMonitoryFri5-2-2014.png


Any input welcome.

Thanks in advance.



On May 2, 2014, at 3:45 PM, Carl Ketterling <[hidden email]> wrote:

> That¹s a great article.  Thanks for the mention, Steve.
>
> http://www.lassosoft.com/Monitoring-Lasso-with-Monit
>
> Carl
>
>
> From: Steve Piercy - Web Site Builder <[hidden email]>
> Reply-To: <[hidden email]>
> Date: Fri,  2 May 2014 12:32:51 -0700
> To: <[hidden email]>
> Subject: Re: slow Lasso site issue - how to fix?
>
> Use monit and call it a day.  The article is somewhere on lassosoft.com.
>
> --steve
>
>
> On 5/2/14 at 1:57 PM, [hidden email] (Tami Williams) pronounced:
>
>> I got this message today from someone needing help with their Lasso + MySQL
> site:
>>
>> "Im having to go in almost every day or twice a day and restart lasso as our
>> website so SOOOOO slow
>> Once I do that its speedy"
>>
>>
>> I've already tweaked their MySQL settings (about 1 month ago) and that stopped
> a
>> problem they were having where MySQL would just stop responding.
>>
>>
>> I'm thinking that this "slow" problem, fixed by restarting Lasso is actually
> being
>> fixed because some cache is being cleared?  Does that make sense?
>>
>> Any ideas as to what I should look at / tweak next?
>>
>>
>> Thanks in advance
>>
>>
>> P.S.  I did not write any of the code for this site and they're not interested
> in
>> having anything re-written and there's tons of pages so that's not an option;
>> they're moving to some new site and are just trying to keep the old site going
>> until the move is done; I basically need something that 'automatically' does
> what
>> she's doing by restarting the site.
>> #############################################################
>> This message is sent to you because you are subscribed to
>>  the mailing list Lasso [hidden email]
>> Official list archives available at http://www.lassotalk.com
>> To unsubscribe, E-mail to: <[hidden email]>
>> Send administrative queries to  <[hidden email]>
>
> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
> Steve Piercy               Web Site Builder               Soquel, CA
> <[hidden email]>                  <http://www.StevePiercy.com/>
>
> #############################################################
> This message is sent to you because you are subscribed to
>  the mailing list Lasso [hidden email]
> Official list archives available at http://www.lassotalk.com
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>
>
> #############################################################
> This message is sent to you because you are subscribed to
>  the mailing list Lasso [hidden email]
> Official list archives available at http://www.lassotalk.com
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>

#############################################################
This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: slow Lasso site issue - how to fix?

stevepiercy
Excessive that happens that quickly and repeatably.

How mission critical is this website?  Let's say that conditions
worsen and it needs to be restarted more often.  How would that
affect the business?  How long can the condition be dragged out?

Personally, I would slap some logging code into an atbegin and
do some slow query logging to help isolate the issue.  More data
== good.

If there were a Lasso plugin for New Relic, like with Python,
PHP, ruby....  Well, maybe you could at least get some MySQL
performance monitoring, but obviously something is amiss in
Lasso and that's the missing data.

--steve


On 5/2/14 at 4:53 PM, [hidden email] (Tami Williams) pronounced:

>Thanks for the advice.  I'll take a look at Monit.
>
>I've also taken a screenshot of what I see Lasso-wise in
>Activity monitor (as of 4:50PM EST today) - can someone take a
>look and tell me if this is normal behavior?  There are over
>16  Lasso8Service processes and most of them have over 14 threads.
>
>
>You can see the screenshot at:
>
>http://www.asktami.com/download/MMActivityMonitoryFri5-2-2014.png
>
>
>Any input welcome.
>
>Thanks in advance.
>
>
>
>On May 2, 2014, at 3:45 PM, Carl Ketterling <[hidden email]> wrote:
>
>>That¹s a great article.  Thanks for the mention, Steve.
>>
>>http://www.lassosoft.com/Monitoring-Lasso-with-Monit
>>
>>Carl
>>
>>
>>From: Steve Piercy - Web Site Builder <[hidden email]>
>>Reply-To: <[hidden email]>
>>Date: Fri,  2 May 2014 12:32:51 -0700
>>To: <[hidden email]>
>>Subject: Re: slow Lasso site issue - how to fix?
>>
>>Use monit and call it a day.  The article is somewhere on lassosoft.com.
>>
>>--steve
>>
>>
>>On 5/2/14 at 1:57 PM, [hidden email] (Tami Williams) pronounced:
>>
>>> I got this message today from someone needing help with their Lasso + MySQL
>>site:
>>>   "Im having to go in almost every day or twice a day and
>>>restart lasso as our
>>> website so SOOOOO slow
>>> Once I do that its speedy"
>>>    I've already tweaked their MySQL settings (about 1 month
>>>ago) and that stopped
>>a
>>> problem they were having where MySQL would just stop responding.
>>>    I'm thinking that this "slow" problem, fixed by
>>>restarting Lasso is actually
>>being
>>> fixed because some cache is being cleared?  Does that make sense?
>>>   Any ideas as to what I should look at / tweak next?
>>>    Thanks in advance
>>>    P.S.  I did not write any of the code for this site and
>>>they're not interested
>>in
>>> having anything re-written and there's tons of pages so that's not an option;
>>> they're moving to some new site and are just trying to keep the old site going
>>> until the move is done; I basically need something that 'automatically' does
>>what
>>> she's doing by restarting the site.
>>> #############################################################
>>> This message is sent to you because you are subscribed to
>>>  the mailing list Lasso [hidden email]
>>> Official list archives available at http://www.lassotalk.com
>>> To unsubscribe, E-mail to: <[hidden email]>
>>> Send administrative queries to  <[hidden email]>
>>
>>-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
>>Steve Piercy               Web Site Builder               Soquel, CA
>><[hidden email]>                  <http://www.StevePiercy.com/>
>>
>>#############################################################
>>This message is sent to you because you are subscribed to
>>the mailing list Lasso [hidden email]
>>Official list archives available at http://www.lassotalk.com
>>To unsubscribe, E-mail to: <[hidden email]>
>>Send administrative queries to  <[hidden email]>
>>
>>#############################################################
>>This message is sent to you because you are subscribed to
>>the mailing list Lasso [hidden email]
>>Official list archives available at http://www.lassotalk.com
>>To unsubscribe, E-mail to: <[hidden email]>
>>Send administrative queries to  <[hidden email]>
>
>#############################################################
>This message is sent to you because you are subscribed to
>the mailing list Lasso [hidden email]
>Official list archives available at http://www.lassotalk.com
>To unsubscribe, E-mail to: <[hidden email]>
>Send administrative queries to  <[hidden email]>

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
Steve Piercy               Web Site Builder              
Soquel, CA
<[hidden email]>                  <http://www.StevePiercy.com/>

#############################################################
This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: slow Lasso site issue - how to fix?

Rick Draper-2
In reply to this post by Tami Williams
We had a similar issue that was an unconstrained query returning tens of thousands of results  - filled memory

Fix was to manage search criteria in a more controlled way to effectively limit found records

Very best regards

Rick Draper

-------------------------------------
Sent from my iPhone. Please excuse typographical errors & brevity

On 3 May 2014, at 3:57 am, Tami Williams <[hidden email]> wrote:

I got this message today from someone needing help with their Lasso + MySQL site:

"Im having to go in almost every day or twice a day and restart lasso as our website so SOOOOO slow
Once I do that its speedy"


I've already tweaked their MySQL settings (about 1 month ago) and that stopped a problem they were having where MySQL would just stop responding.


I'm thinking that this "slow" problem, fixed by restarting Lasso is actually being fixed because some cache is being cleared?  Does that make sense?

Any ideas as to what I should look at / tweak next?


Thanks in advance


P.S.  I did not write any of the code for this site and they're not interested in having anything re-written and there's tons of pages so that's not an option; they're moving to some new site and are just trying to keep the old site going until the move is done; I basically need something that 'automatically' does what she's doing by restarting the site.
#############################################################
This message is sent to you because you are subscribed to
 the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>


#############################################################
This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: slow Lasso site issue - how to fix?

Tami Williams
Thanks everyone for the suggestions - I'll see how soon the client is moving to another platform and find out what they're willing to do / if they want to do anything to fix the problem in the meantime.

Right now they just manually restart the server a couple times a day.
#############################################################
This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: slow Lasso site issue - how to fix?

Ke Carlton-3
It looks like they've been bitten by the Zombie thread issue:
http://www.lassosoft.com/Lasso-Zombie-Child-Thread-Killer

Ke


On 3 May 2014 14:25, Tami Williams <[hidden email]> wrote:

> Thanks everyone for the suggestions - I'll see how soon the client is
> moving to another platform and find out what they're willing to do / if
> they want to do anything to fix the problem in the meantime.
>
> Right now they just manually restart the server a couple times a day.
> #############################################################
> This message is sent to you because you are subscribed to
>   the mailing list Lasso [hidden email]
> Official list archives available at http://www.lassotalk.com
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>
>
#############################################################
This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: slow Lasso site issue - how to fix?

Tami Williams
In reply to this post by Carl Ketterling
Tried using Monit but didin't get very far because installing the RD_lassoService_pid ctag into the LassoStartup folder KILLED Lasso and I couldn't get it stopped or after restarting the machine, started again until I removed it.


Any suggestions?




 
On May 2, 2014, at 3:45 PM, Carl Ketterling <[hidden email]> wrote:

> That¹s a great article.  Thanks for the mention, Steve.
>
> http://www.lassosoft.com/Monitoring-Lasso-with-Monit
>
> Carl
>
>
> From: Steve Piercy - Web Site Builder <[hidden email]>
> Reply-To: <[hidden email]>
> Date: Fri,  2 May 2014 12:32:51 -0700
> To: <[hidden email]>
> Subject: Re: slow Lasso site issue - how to fix?
>
> Use monit and call it a day.  The article is somewhere on lassosoft.com.
>
> --steve
>
>
> On 5/2/14 at 1:57 PM, [hidden email] (Tami Williams) pronounced:
>
>> I got this message today from someone needing help with their Lasso + MySQL
> site:
>>
>> "Im having to go in almost every day or twice a day and restart lasso as our
>> website so SOOOOO slow
>> Once I do that its speedy"
>>
>>
>> I've already tweaked their MySQL settings (about 1 month ago) and that stopped
> a
>> problem they were having where MySQL would just stop responding.
>>
>>
>> I'm thinking that this "slow" problem, fixed by restarting Lasso is actually
> being
>> fixed because some cache is being cleared?  Does that make sense?
>>
>> Any ideas as to what I should look at / tweak next?
>>
>>
>> Thanks in advance
>>
>>
>> P.S.  I did not write any of the code for this site and they're not interested
> in
>> having anything re-written and there's tons of pages so that's not an option;
>> they're moving to some new site and are just trying to keep the old site going
>> until the move is done; I basically need something that 'automatically' does
> what
>> she's doing by restarting the site.
>> #############################################################
>> This message is sent to you because you are subscribed to
>>  the mailing list Lasso [hidden email]
>> Official list archives available at http://www.lassotalk.com
>> To unsubscribe, E-mail to: <[hidden email]>
>> Send administrative queries to  <[hidden email]>
>
> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
> Steve Piercy               Web Site Builder               Soquel, CA
> <[hidden email]>                  <http://www.StevePiercy.com/>
>
> #############################################################
> This message is sent to you because you are subscribed to
>  the mailing list Lasso [hidden email]
> Official list archives available at http://www.lassotalk.com
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>
>
> #############################################################
> This message is sent to you because you are subscribed to
>  the mailing list Lasso [hidden email]
> Official list archives available at http://www.lassotalk.com
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"It's better to burn out than to fade away."

Tami Williams
Creative Computing
Let us help you make frustrating, costly, and inefficient processes more efficient, less costly and scalable.
Lasso, MySQL and FileMaker specialists.

Tel/Fax: 770.457.3221
E-Mail: [hidden email]
Web: http://www.asktami.com/
LinkedIn: http://www.linkedin.com/in/asktami
Twitter: http://twitter.com/asktami
iChat/AIM/Skype: tamiwilliamsusa

FileMaker Business Alliance Member | Lasso Professional Alliance Member | Certified Lasso Developer | FileMaker 11 & 12 Certified Developer

------

If you want to receive sporadic email from Creative Computing regarding news at the company and announcements about upcoming Lasso webinars and online classes, please opt-in at http://tinyurl.com/yj7eqlg

#############################################################
This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: slow Lasso site issue - how to fix?

Wade Maxfield
On 7/05/2014, at 11:49 AM, Tami Williams <[hidden email]> wrote:
>
> Tried using Monit but didin't get very far because installing the RD_lassoService_pid ctag into the LassoStartup folder KILLED Lasso and I couldn't get it stopped or after restarting the machine, started again until I removed it.
>
>
> Any suggestions?
>

It shouldn't cause any issues.

Rereading the thread, I can't find any mention of what version of Lasso, what OS X version, or any other specs on the hardware.  Looking at the screenshot it looks older.

The number of threads doesn't appear to be an issue, neither does the RAM usage or CPU usage of Lasso at the time you took the screenshot.  What you weren't showing is which processes were hogging the CPU, it wasn't Lasso.  What other software is running on the machine?  Is there enough RAM to handle them all, or is it hitting VM/swap?


Getting back to RD_lassoService_pid.  I've only tested it on Lasso 8.5 and 8.6, and you need to have OS_Process enabled. What version of Lasso and OS X, and is OS_Process enabled?  Was there any output in LassoErrors.txt when it KILLED Lasso?

 - Wade


#############################################################
This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: slow Lasso site issue - how to fix?

Tami Williams
Looks like there were gremlins in the RD_lassoService_pid file; once I zapped gremlins using BBEdit Lasso now starts up BUT I still can't figure out how to get Monit working -  there are 2 different things M/Monit (mmonit-3.2) and Monit (monit-5.8).

The only Monit intallation instructions I could find:  http://mmonit.com/wiki/Monit/Installation But they're useless.

If I copy the monit folder (monit-5.8) to /usr/local/bin/ and then cd to /usr/local/bin/monit-5.8/  and run ./configure I get:

./configure: No such file or directory

If I run  ./bin/monit, I get:

Cannot find the control file at ~/.monitrc, /etc/monitrc, /usr/local/etc/monitrc, /usr/local/etc/monitrc or at ./monitrc

(NOTE: moving the monit folder to /usr/local/etc and then trying ./configure and ./bin/monit gives me the same result.)



I can do everything to get M/Monit running using these instructions:
from http://mmonit.com/wiki/MMonit/Setup#install

 1. First, check that M/Monit is supported
 on your OS platform
 2. Get the latest release from
http://mmonit.com/download/
 
 3. Download and unpack the tar.gz file in a directory, any directory will do,
    but  unpacking in /opt or /usr/local are good choices.
 4. Go to the unpacked mmonit-<version> directory
 5. Run M/Monit using: ./bin/mmonit
 6. Point your Browser to the host where mmonit is installed (or "localhost"    
    if running on the same machine), for example:
http://localhost:8080/

    and login as user "admin" with password "swordfish".

BUT http://www.lassosoft.com/Monitoring-Lasso-with-Monit wants Monit not M/Monit.


Anyone able to help me?  Thanks in advance.


NOTE: I'm now trying to do this on my machine instead of the client's - I'm running Lasso 8.5 and 9.3 on Mac OS X client 10.9.2, 2.2 GHz Intel Core i7, 8 GB RAM;  the client is running Lasso 8.5 on Mac OS X Server Version 10.3.9, Processor: 1.25 GHz PowerPC G4, Memory 1 GB DDR SDRAM.




On May 6, 2014, at 8:05 PM, Wade Maxfield <[hidden email]> wrote:

> On 7/05/2014, at 11:49 AM, Tami Williams <[hidden email]> wrote:
>>
>> Tried using Monit but didin't get very far because installing the RD_lassoService_pid ctag into the LassoStartup folder KILLED Lasso and I couldn't get it stopped or after restarting the machine, started again until I removed it.
>>
>>
>> Any suggestions?
>>
>
> It shouldn't cause any issues.
>
> Rereading the thread, I can't find any mention of what version of Lasso, what OS X version, or any other specs on the hardware.  Looking at the screenshot it looks older.
>
> The number of threads doesn't appear to be an issue, neither does the RAM usage or CPU usage of Lasso at the time you took the screenshot.  What you weren't showing is which processes were hogging the CPU, it wasn't Lasso.  What other software is running on the machine?  Is there enough RAM to handle them all, or is it hitting VM/swap?
>
>
> Getting back to RD_lassoService_pid.  I've only tested it on Lasso 8.5 and 8.6, and you need to have OS_Process enabled. What version of Lasso and OS X, and is OS_Process enabled?  Was there any output in LassoErrors.txt when it KILLED Lasso?
>
> - Wade
>
>
> #############################################################
> This message is sent to you because you are subscribed to
>  the mailing list Lasso [hidden email]
> Official list archives available at http://www.lassotalk.com
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>

#############################################################
This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: slow Lasso site issue - how to fix?

Wade Maxfield
On 7/05/2014, at 4:27 PM, Tami Williams <[hidden email]> wrote:

>
> The only Monit intallation instructions I could find:  http://mmonit.com/wiki/Monit/Installation But they're useless.
>
> If I copy the monit folder (monit-5.8) to /usr/local/bin/ and then cd to /usr/local/bin/monit-5.8/  and run ./configure I get:
>
> ./configure: No such file or directory
>
> If I run  ./bin/monit, I get:
>
> Cannot find the control file at ~/.monitrc, /etc/monitrc, /usr/local/etc/monitrc, /usr/local/etc/monitrc or at ./monitrc
>
> (NOTE: moving the monit folder to /usr/local/etc and then trying ./configure and ./bin/monit gives me the same result.)


What did you actually download?  The OSX universal binary or the source code package?  

./configure is used to start the compile from source code method, and you need to have the command line tools for Xcode installed on your machine to do this.  Doing that on the Clients server would require gcc and related command line tools but I can't remember what the name Apple used for them back then.


If you're using the universal binary then you need to manually move the monit files to the correct locations.
I store extra monit config files (apache.monitrc, lasso.monitrc, etc) in /etc/monit/, so I'm including that directory in the list below. The following directories need to exist, if they don't' create them.

/etc/monit/
/usr/local/man/man1

To actually install it:

$ cd /tmp/
$ wget http://www.mmonit.com/monit/dist/binary/5.8/monit-5.8-macosx-universal.tar.gz

$ tar xvfz monit-5.8-macosx-universal.tar.gz

$ sudo mv /tmp/monit-5.8/bin/monit /usr/local/bin/
$ sudo mv /tmp/monit-5.8/conf/monitrc /etc/
$ sudo mv /tmp/monit-5.8/man/man1/monit.1 /usr/local/man/man1/
$ sudo chmod 700 /etc/monitrc
$ sudo chown root:wheel /etc/monitrc

Then you edit the /etc/monitrc with your required settings, say adding an include line like:

include /etc/monit/*.monitrc


Now you can launch monit.

Using the universal binary on the client machine may not work, I don't know if 10.3.9 is still supported.


All that said, monit may not be the answer you are looking for. We still don't know what other software was/is running and if the hardware is up for the task anymore.  

 - Wade





#############################################################
This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Lasso eating RAM & CPU..

Daniel Parker
In reply to this post by Tami Williams
Hi,

I am having an issue (Lasso 9.2.7 CentOS 6 64bit) where my server spikes in both CPU and RAM (Using 4GB Real Ram, and then a about the same in swap).

It is occurring randomly.

I am sure it is a lasso script that is running and causing this (Top is showing lassoserver using 150% of RAM)

Is there a way of seeing what page is actually causing this, so I can debug? At this stage I don't know where to start.

Regards
Daniel Parker
#############################################################
This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: Lasso eating RAM & CPU..

Jonathan Guthrie-3
Hi Daniel,
Do you have any regexp happening? I ran across exactly this with some regexp that was good until it was passed something it wasn't able to complete on and it threw things into an infinite loop (in effect).

Look for that in your code.

The other thing to do is to log script starts and finishes, and when it happens you will see a mismatch (a start without a finish).

Thanks
Jono

Sent from my iPhone

> On May 18, 2014, at 3:31 PM, Daniel Parker <[hidden email]> wrote:
>
> Hi,
>
> I am having an issue (Lasso 9.2.7 CentOS 6 64bit) where my server spikes in both CPU and RAM (Using 4GB Real Ram, and then a about the same in swap).
>
> It is occurring randomly.
>
> I am sure it is a lasso script that is running and causing this (Top is showing lassoserver using 150% of RAM)
>
> Is there a way of seeing what page is actually causing this, so I can debug? At this stage I don't know where to start.
>
> Regards
> Daniel Parker
> #############################################################
> This message is sent to you because you are subscribed to
>  the mailing list Lasso [hidden email]
> Official list archives available at http://www.lassotalk.com
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>
#############################################################
This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>