Re: [WebDNA] sem_open bugfix for os x version 6.2
This WebDNA talk-list message is from 2012
It keeps the original formatting.
numero = 108263
interpreted = N
texte = Daniel Meola wrote:> Our server is having issues as well (consistent CPU usage above 180%).> The obvious culprit would be a code issue, but I've been coding here for> the past year and haven't been able to bring CPU usage down. Could you> explain what to look for with the semaphore arrays? Mine looks like this:>> ------ Semaphore Arrays --------> key semid owner perms nsems> 0x00000000 294912 apache 600 1> 0x00000000 32769 apache 600 1> 0x00000000 327682 apache 600 1> 0x00000000 360451 apache 600 1> 0x00000000 393220 apache 600 1> 0x00000000 425989 apache 600 1> 0x00000000 458758 apache 600 1> 0x00000000 491527 apache 600 1>> Thanks,> Daniel MeolaFirst, stop apache, then run ipcs -s again.If you still have those lines, you can run:'for i in `ipcs -s | awk '/apache/ {print $2}'`; do (ipcrm -s $i); done'or kill them individually with ipcrm'man ipcrm'Start apache.Donovan-- Donovan BrookeEuca Design Centerwww.euca.uswww.keepitturning.co
Associated Messages, from the most recent to the oldest:
Daniel Meola wrote:> Our server is having issues as well (consistent CPU usage above 180%).> The obvious culprit would be a code issue, but I've been coding here for> the past year and haven't been able to bring CPU usage down. Could you> explain what to look for with the semaphore arrays? Mine looks like this:>> ------ Semaphore Arrays --------> key semid owner perms nsems> 0x00000000 294912 apache 600 1> 0x00000000 32769 apache 600 1> 0x00000000 327682 apache 600 1> 0x00000000 360451 apache 600 1> 0x00000000 393220 apache 600 1> 0x00000000 425989 apache 600 1> 0x00000000 458758 apache 600 1> 0x00000000 491527 apache 600 1>> Thanks,> Daniel MeolaFirst, stop apache, then run ipcs -s again.If you still have those lines, you can run:'for i in `ipcs -s | awk '/apache/ {print $2}'`; do (ipcrm -s $i); done'or kill them individually with ipcrm'man ipcrm'Start apache.Donovan-- Donovan BrookeEuca Design Centerwww.euca.uswww.keepitturning.co
Donovan Brooke
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:
Multiple cart additions (1997)
Serving images from databases (1998)
Still Stumped on ShowNext...HELP! (1997)
[shownext] support - MacOS (1997)
[WebDNA] Shopping cart code debug (2009)
File Upload (1997)
Grep -Replace with nothing (2003)
Nested tags count question (1997)
formula.db problem (1999)
Cart Number sequence (1997)
A multi-processor savvy WebCatalog? (1997)
Calendar (1997)
Need WebDNA that crashes server for testing (2000)
WC2b15 File Corruption (1997)
PageMaker/Quark to db (1999)
Running 2 two WebCatalog.acgi's (1996)
Credit Card Number Stripping Digit (1997)
[OT] JS snippet needed (2006)
Pithy questions on webcommerce & siteedit (1997)
PHP vs. WebDNA (2003)