LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   start-stop-daemon cause high cpu usage (https://www.linuxquestions.org/questions/linux-server-73/start-stop-daemon-cause-high-cpu-usage-553727/)

danjz 05-14-2007 07:33 AM

start-stop-daemon cause high cpu usage
 
when I use start-stop-daemon to start one of my program, I found that the CPU usage go as high as 88%, but when I run the program without start-stop-daemon, it only use %2 of CPU.

I tested with different start-stop-daemon options, seems if I do with the option --background, the CPU usage is high, and without the --background option, the CPU usage is high.

How ever, in either way, with or without start-stop-daemon, with or without the --background option, the program itself function well.

Does any one have any insight about the cause of the high CPU usage?

This happens on both Ubuntu 6.06 server and Ubuntu 7.04 desktop.

fur 05-14-2007 02:46 PM

What is the application?

Is the start script passing any additional options that are not there when you start it manually?

Can you post the script.


All times are GMT -5. The time now is 06:09 AM.