Re: [WebDNA] 6.2 Monitor

This WebDNA talk-list message is from

2012


It keeps the original formatting.
numero = 108119
interpreted = N
texte = --001636ed688f4d050f04b6d50fe1 Content-Type: text/plain; charset=ISO-8859-1 Try a new server. Worked wonders for me. Bill On Wed, Jan 18, 2012 at 11:18 AM, Rob wrote: > > On Jan 18, 2012, at 10:00 AM, Donovan Brooke wrote: > > > Rob wrote: > >> Hi All, > >> > >> Very rarely(once every couple months) I have WebDNA 6.2 stop, and drive > the CPU nuts on Snow Leopard Server, and am looking at adding a script to > keep an eye on it while I go on vacation. I found an old script... not sure > where it come from or where I got it, but I had it on one of the old > servers, and would like to get it working using launchd to start it, which > isn't the problem. When I trigger the script, it comes up with "ps: No user > named 'x'". Which is fairly obvious to those who no about these scripts, > which I don't. > >> > >> So my question is, does anyone know how to get this working, or is > there a better way? ... Script below. > >> > >> Rob > > > > > > I wouldn't use that script for a couple reasons. > > > > First, It's not bad if your server shoots up to a 145% usage (2 CPU's) > for short instances now and then.. > > > > Second, kill -9 is *not* a good way of stopping WebDNA... at least not > for 6.2 which still uses WebDNAMonitor. > > > > Anyway, the script seems to contain logical problems in my opinion. > > > > If you were to use it, I'd change it to 199%... and change the 'kill -9' > to '/Library/WebServer/WebCatalogEngine/WebCatalogCtl restart'. > > > > To fix the script, there is a change to how 'ps' functions in Snow > Leopard.. > > > > basically change the instances of "ps -aux" in your script to "ps aux". > > > > To fix your CPU issue, I'd start looking into standard troubleshooting > techniques.. looking at logs, looking for overgrown log files etc.. > > > > > > Donovan > > > > Thanks for the input Donovan. > > I'm not sure if I'm going to use it or not, at this point. Its just an > avenue I'm looking at, unless there is a better solution. I did notice, > however, that when WebDNA dies, the CPU hoovers around 60%, so I'm not sure > this will even work when it acts up. > > I've been looking at the logs trying to pin out down, but it happens so > rarely that its hard to get a handle on it... :-( .. I think all turn on > everything in the Prefs Technical section for a while to see if I can catch > it. > > Rob > > > > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us > --001636ed688f4d050f04b6d50fe1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Try a new server. =A0Worked wonders for me. =A0

Bill
=
On Wed, Jan 18, 2012 at 11:18 AM, Rob <rforest@mac.com><= /span> wrote:

On Jan 18, 2012, at 10:00 AM, Donovan Brooke wrote:

> Rob wrote:
>> Hi All,
>>
>> Very rarely(once every couple months) I have WebDNA 6.2 stop, and = drive the CPU nuts on Snow Leopard Server, and am looking at adding a scrip= t to keep an eye on it while I go on vacation. I found an old script... not= sure where it come from or where I got it, but I had it on one of the old = servers, and would like to get it working using launchd to start it, which = isn't the problem. When I trigger the script, it comes up with "ps= : No user named 'x'". Which is fairly obvious to those who no = about these scripts, which I don't.
>>
>> So my question is, does anyone know how to get this working, or is= there a better way? ... Script below.
>>
>> Rob
>
>
> I wouldn't use that script for a couple reasons.
>
> First, It's not bad if your server shoots up to a 145% usage (2 CP= U's) for short instances now and then..
>
> Second, kill -9 is *not* a good way of stopping WebDNA... at least not= for 6.2 which still uses WebDNAMonitor.
>
> Anyway, the script seems to contain logical problems in my opinion. >
> If you were to use it, I'd change it to 199%... and change the = 9;kill -9' to '/Library/WebServer/WebCatalogEngine/WebCatalogCtl re= start'.
>
> To fix the script, there is a change to how 'ps' functions in = Snow Leopard..
>
> basically change the instances of "ps -aux" in your script t= o "ps aux".
>
> To fix your CPU issue, I'd start looking into standard troubleshoo= ting techniques.. looking at logs, looking for overgrown log files etc.. >
>
> Donovan
>

Thanks for the input Donovan.

I'm not sure if I'm going to use it or not, at this point. Its just= an avenue I'm looking at, unless there is a better solution. I did not= ice, however, that when WebDNA dies, the CPU hoovers around 60%, so I'm= not sure this will even work when it acts up.

I've been looking at the logs trying to pin out down, but it happens so= rarely that its hard to get a handle on it... :-( =A0.. I think all turn o= n everything in the Prefs Technical section for a while to see if I can cat= ch it.

Rob




---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list <talk@webdna.us&g= t;.
To unsubscribe, E-mail to: <talk= -leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: support@webdna.us

--001636ed688f4d050f04b6d50fe1-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] 6.2 Monitor (Kenneth Grome 2012)
  2. Re: [WebDNA] 6.2 Monitor (christophe.billiottet@webdna.us 2012)
  3. Re: [WebDNA] 6.2 Monitor (William DeVaul 2012)
  4. Re: [WebDNA] 6.2 Monitor (Rob 2012)
  5. Re: [WebDNA] 6.2 Monitor (christophe.billiottet@webdna.us 2012)
  6. Re: [WebDNA] 6.2 Monitor (Rob 2012)
  7. Re: [WebDNA] 6.2 Monitor (christophe.billiottet@webdna.us 2012)
  8. Re: [WebDNA] 6.2 Monitor (Rob 2012)
  9. Re: [WebDNA] 6.2 Monitor (christophe.billiottet@webdna.us 2012)
  10. Re: [WebDNA] 6.2 Monitor (Rob 2012)
  11. Re: [WebDNA] 6.2 Monitor (Donovan Brooke 2012)
  12. Re: [WebDNA] 6.2 Monitor (Rob 2012)
  13. Re: [WebDNA] 6.2 Monitor (Donovan Brooke 2012)
  14. Re: [WebDNA] 6.2 Monitor (Rob 2012)
  15. Re: [WebDNA] 6.2 Monitor (Donovan Brooke 2012)
  16. Re: [WebDNA] 6.2 Monitor (Rob 2012)
  17. Re: [WebDNA] 6.2 Monitor (christophe.billiottet@webdna.us 2012)
  18. Re: [WebDNA] 6.2 Monitor (Rob 2012)
  19. Re: [WebDNA] 6.2 Monitor (Rob 2012)
  20. Re: [WebDNA] 6.2 Monitor (Donovan Brooke 2012)
  21. Re: [WebDNA] 6.2 Monitor (Rob 2012)
  22. Re: [WebDNA] 6.2 Monitor (Kenneth Grome 2012)
  23. Re: [WebDNA] 6.2 Monitor (Donovan Brooke 2012)
  24. Re: [WebDNA] 6.2 Monitor (Rob 2012)
  25. Re: [WebDNA] 6.2 Monitor (Rob 2012)
  26. Re: [WebDNA] 6.2 Monitor (Robert Minor 2012)
  27. Re: [WebDNA] 6.2 Monitor (Rob 2012)
  28. Re: [WebDNA] 6.2 Monitor (William DeVaul 2012)
  29. Re: [WebDNA] 6.2 Monitor (Rob 2012)
  30. Re: [WebDNA] 6.2 Monitor (Donovan Brooke 2012)
  31. [WebDNA] 6.2 Monitor (Rob 2012)
--001636ed688f4d050f04b6d50fe1 Content-Type: text/plain; charset=ISO-8859-1 Try a new server. Worked wonders for me. Bill On Wed, Jan 18, 2012 at 11:18 AM, Rob wrote: > > On Jan 18, 2012, at 10:00 AM, Donovan Brooke wrote: > > > Rob wrote: > >> Hi All, > >> > >> Very rarely(once every couple months) I have WebDNA 6.2 stop, and drive > the CPU nuts on Snow Leopard Server, and am looking at adding a script to > keep an eye on it while I go on vacation. I found an old script... not sure > where it come from or where I got it, but I had it on one of the old > servers, and would like to get it working using launchd to start it, which > isn't the problem. When I trigger the script, it comes up with "ps: No user > named 'x'". Which is fairly obvious to those who no about these scripts, > which I don't. > >> > >> So my question is, does anyone know how to get this working, or is > there a better way? ... Script below. > >> > >> Rob > > > > > > I wouldn't use that script for a couple reasons. > > > > First, It's not bad if your server shoots up to a 145% usage (2 CPU's) > for short instances now and then.. > > > > Second, kill -9 is *not* a good way of stopping WebDNA... at least not > for 6.2 which still uses WebDNAMonitor. > > > > Anyway, the script seems to contain logical problems in my opinion. > > > > If you were to use it, I'd change it to 199%... and change the 'kill -9' > to '/Library/WebServer/WebCatalogEngine/WebCatalogCtl restart'. > > > > To fix the script, there is a change to how 'ps' functions in Snow > Leopard.. > > > > basically change the instances of "ps -aux" in your script to "ps aux". > > > > To fix your CPU issue, I'd start looking into standard troubleshooting > techniques.. looking at logs, looking for overgrown log files etc.. > > > > > > Donovan > > > > Thanks for the input Donovan. > > I'm not sure if I'm going to use it or not, at this point. Its just an > avenue I'm looking at, unless there is a better solution. I did notice, > however, that when WebDNA dies, the CPU hoovers around 60%, so I'm not sure > this will even work when it acts up. > > I've been looking at the logs trying to pin out down, but it happens so > rarely that its hard to get a handle on it... :-( .. I think all turn on > everything in the Prefs Technical section for a while to see if I can catch > it. > > Rob > > > > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us > --001636ed688f4d050f04b6d50fe1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Try a new server. =A0Worked wonders for me. =A0

Bill
=
On Wed, Jan 18, 2012 at 11:18 AM, Rob <rforest@mac.com><= /span> wrote:

On Jan 18, 2012, at 10:00 AM, Donovan Brooke wrote:

> Rob wrote:
>> Hi All,
>>
>> Very rarely(once every couple months) I have WebDNA 6.2 stop, and = drive the CPU nuts on Snow Leopard Server, and am looking at adding a scrip= t to keep an eye on it while I go on vacation. I found an old script... not= sure where it come from or where I got it, but I had it on one of the old = servers, and would like to get it working using launchd to start it, which = isn't the problem. When I trigger the script, it comes up with "ps= : No user named 'x'". Which is fairly obvious to those who no = about these scripts, which I don't.
>>
>> So my question is, does anyone know how to get this working, or is= there a better way? ... Script below.
>>
>> Rob
>
>
> I wouldn't use that script for a couple reasons.
>
> First, It's not bad if your server shoots up to a 145% usage (2 CP= U's) for short instances now and then..
>
> Second, kill -9 is *not* a good way of stopping WebDNA... at least not= for 6.2 which still uses WebDNAMonitor.
>
> Anyway, the script seems to contain logical problems in my opinion. >
> If you were to use it, I'd change it to 199%... and change the = 9;kill -9' to '/Library/WebServer/WebCatalogEngine/WebCatalogCtl re= start'.
>
> To fix the script, there is a change to how 'ps' functions in = Snow Leopard..
>
> basically change the instances of "ps -aux" in your script t= o "ps aux".
>
> To fix your CPU issue, I'd start looking into standard troubleshoo= ting techniques.. looking at logs, looking for overgrown log files etc.. >
>
> Donovan
>

Thanks for the input Donovan.

I'm not sure if I'm going to use it or not, at this point. Its just= an avenue I'm looking at, unless there is a better solution. I did not= ice, however, that when WebDNA dies, the CPU hoovers around 60%, so I'm= not sure this will even work when it acts up.

I've been looking at the logs trying to pin out down, but it happens so= rarely that its hard to get a handle on it... :-( =A0.. I think all turn o= n everything in the Prefs Technical section for a while to see if I can cat= ch it.

Rob




---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list <talk@webdna.us&g= t;.
To unsubscribe, E-mail to: <talk= -leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: support@webdna.us

--001636ed688f4d050f04b6d50fe1-- William DeVaul

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

autosensing lanague selection (1997) Loop into field (1998) Credit card types (1997) writing db to disk (1997) Need relative path explanation (1997) Huge databases and RAM (1998) Problems with [Applescript] (1997) Quickie question on the email templates (1997) Search all Fields in a db (1997) Calendar (1997) PIXO support (1997) New command suggestion (1997) Date Math broken on Mac OS X 10.4? (2007) [Price] (1997) WebCat2 - [include] tags (1997) nested showif? (1998) [click][/click] (1999) setting taxable to true (1997) many-to-one problem (1998) Emailer choke (1997)