| PLEX86 | ||
|
Troubleshooting a runaway processI had this cgi-bin shell script that ran just fine under solaris. Now I ported it to linux. What the cgi-bin does is: - Parse cgi parameters - call an oracle executable (oracle reports) - take the reports output (a pdf file) and return it to the caller. If I run the script from the command line, or from cron, (after removing the parse and output bits) it runs just fine, and it completes in under 5 seconds. Nomination of Linus Torvalds for Internet Samaritan Award On Fri, 25 Nov 2005 09:24:35 +0000, Woodchuck Bill Though Linus deserves a lot of credit for Linux... how... If I run the scipt from the cgi-bin, the reports command (rwrun60) never completes and take 100% CPU. Subject:devdsp could not be opened I just installed Ubuntu 5.10 on an old pc that I have. This computer has a SoundBlaster AWE64 ISA PnP sound card. I am not sure that the sound card is... I tried doing an strace of the rwrun60 process but it does not seem to be spinning. It's just kind of hung, but it does take almost 100% of the CPU. Might it be busy waiting ? For what ? It looks like the rwrun60 commands somewhat "knows" that it is running under cgi-bin and behaves differently in this case (this executable CAN be used by oracle in a cgi-bin, but it's very cumbersome) Is there a way to launch the rwrun command from the cgi-script with a new set of environment variables, in a kind of "detached" manner, and wait for it in the cgi-bin ? I tried "exec" but it did not work. Thanks
|
||||
Subject:devdsp could not be opened Linux groups from Newsgroups The #1 Usenet Provider on the Internet
|
||||