Re: 100% CPU

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 53794
interpreted = N
texte = On Nov 3, 2003, at 6:37 PM, John Peacock wrote: > Jesse Proudman wrote: >> 1) Server is Running: Apache/1.3.27 (Unix) (Red-Hat/Linux) >> mod_ssl/2.8.12 OpenSSL/0.9.6b DAV/1.0.2 PHP/4.3.3 mod_perl/1.26 w/ >> WebCat unix-Linux Intel RedHat Apache Module version 5.1c > > Apache 1.3.29 is the current stable release. If Red-Hat doesn't have > an updated RPM, you should build it yourself (it's not hard). Do you > really need all those geegaws in your Apache? Specifically DAV has > security problems and mod_perl uses a lot of RAM for each child > process (you can run two versions of Apache to get around this latter > issue). If you aren't using each and everyone one of those features, > I would strongly suggest stripping them out of your conf file. Good call. I disabled DAV and Mod_perl, no changes. I'll see about upgrading to .29 but I don't think it will fix the CPU issue. >> 2) It's not bad code that's causing this because if I quit WebCat and >> then reopen it, it immediately reverts to 100% of the CPU. > > Disconnect the server from the 'Net and see whether that makes any > difference. It is very possible you are "under attack" from one of the > various worms. You can also check the Apache error log for some clue > to this (look for weird URL's with embedded ../'s). This will only > take a few minutes so even if this is a production server, hardly > anyone will notice it. I'll try that next >> 3) It's ACTUAL utilizing all 100% that it's taking. Other services >> are slowing down because they don't have access to the ticks they >> need. > > Try adding "nice" to the script which starts the WebCatalog engine. > This will at least keep the other services going until you can find > out what is going on. How exactly does that work? Just add the word "nice" into the execution. > 4) Make sure you don't have a rogue trigger running (though I would > think that the SMSI person would have checked that). No triggers. Thanks -- Jesse Williams-Proudman Blue Box Development :: Custom Web Solutions +1.206.778.8777 :: jesse@blueboxdev.com ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. SignalCatcher.debug (re: 100% CPU usage etc.) ( Donovan Brooke 2008)
  2. Re: 100% cpu load ( "Allen Frye" 2006)
  3. Re: 100% cpu load ( Stuart Tremain 2006)
  4. Re: 100% cpu load ( rupert ravens 2006)
  5. Re: 100% cpu load ( "Allen Frye" 2006)
  6. Re: 100% cpu load ( rupert ravens 2006)
  7. Re: 100% cpu load ( "Allen Frye" 2006)
  8. Re: 100% cpu load ( rupert ravens 2006)
  9. Re: 100% cpu load ( Larry Hewitt 2006)
  10. Re: 100% cpu load ( "Adam O'Connor" 2006)
  11. 100% cpu load ( "Allen Frye" 2006)
  12. Re: 100% CPU ( Jesse Proudman 2003)
  13. Re: 100% CPU ( John Peacock 2003)
  14. Re: 100% CPU ( Jesse Proudman 2003)
  15. Re: 100% CPU ( John Peacock 2003)
  16. 100% CPU ( Jesse Proudman 2003)
  17. Re: 100% CPU on NT (Tom Duke 2001)
On Nov 3, 2003, at 6:37 PM, John Peacock wrote: > Jesse Proudman wrote: >> 1) Server is Running: Apache/1.3.27 (Unix) (Red-Hat/Linux) >> mod_ssl/2.8.12 OpenSSL/0.9.6b DAV/1.0.2 PHP/4.3.3 mod_perl/1.26 w/ >> WebCat unix-Linux Intel RedHat Apache Module version 5.1c > > Apache 1.3.29 is the current stable release. If Red-Hat doesn't have > an updated RPM, you should build it yourself (it's not hard). Do you > really need all those geegaws in your Apache? Specifically DAV has > security problems and mod_perl uses a lot of RAM for each child > process (you can run two versions of Apache to get around this latter > issue). If you aren't using each and everyone one of those features, > I would strongly suggest stripping them out of your conf file. Good call. I disabled DAV and Mod_perl, no changes. I'll see about upgrading to .29 but I don't think it will fix the CPU issue. >> 2) It's not bad code that's causing this because if I quit WebCat and >> then reopen it, it immediately reverts to 100% of the CPU. > > Disconnect the server from the 'Net and see whether that makes any > difference. It is very possible you are "under attack" from one of the > various worms. You can also check the Apache error log for some clue > to this (look for weird URL's with embedded ../'s). This will only > take a few minutes so even if this is a production server, hardly > anyone will notice it. I'll try that next >> 3) It's ACTUAL utilizing all 100% that it's taking. Other services >> are slowing down because they don't have access to the ticks they >> need. > > Try adding "nice" to the script which starts the WebCatalog engine. > This will at least keep the other services going until you can find > out what is going on. How exactly does that work? Just add the word "nice" into the execution. > 4) Make sure you don't have a rogue trigger running (though I would > think that the SMSI person would have checked that). No triggers. Thanks -- Jesse Williams-Proudman Blue Box Development :: Custom Web Solutions +1.206.778.8777 :: jesse@blueboxdev.com ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Jesse Proudman

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:

Database (2002) New command suggestion (was Modifying databases manually) (1997) pc (1997) Setting up shop (1997) Re:listfiles-looking for slick solution (1997) WebDNA server not running (2003) email error msgs and log (2005) Include Troubles (1998) WebDNA Solutions --> Date format suggestions (1998) Date Sorting (1997) Protect (1997) japanese characters (1997) Emailer setup (1997) Date Formats (1997) domain in cookie (2006) Nesting format tags (1997) Help! WebCat2 bug (1997) [taxRate] [TaxTotal] ? (1997) [WebDNA] Cloud hosting and local development (2019) Reselecting popup menu (2002)