[GE issues] [Issue 2962] New - the execution daemon on Linux generate huge CPU load based on monitoring processes

shaas stefan.haas at sun.com
Fri Mar 20 12:13:17 GMT 2009


http://gridengine.sunsource.net/issues/show_bug.cgi?id=2962
                 Issue #|2962
                 Summary|the execution daemon on Linux generate huge CPU load b
                        |ased on monitoring processes
               Component|gridengine
                 Version|6.1u6
                Platform|Sun
                     URL|
              OS/Version|Linux
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|execution
             Assigned to|shaas
             Reported by|shaas






------- Additional comments from shaas at sunsource.net Fri Mar 20 05:13:17 -0700 2009 -------
An execd that has to monitor about 4000 Processes consumes nearly 100% CPU time. A top version 3.1.11 showed the same behaviour, top version
3.6alpha7 worked correctly. Also Solaris don't show this huge CPU consumption, therefore it seems the algorithm can be inproved.

How to reproduce:

Submit the following script with 'qsub fork_bomb.sh 4000':

#!/bin/sh

if [ $# != 1 ]; then
   echo "please specify how many forks should be created!"
   exit 1
fi

counter=0
while [ $counter != $1 ]; do
   sleep 20000 &
   counter=`expr $counter + 1`
done
sleep 20000

------------------------------------------------------
http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=36&dsMessageId=137592

To unsubscribe from this discussion, e-mail: [issues-unsubscribe at gridengine.sunsource.net].



More information about the gridengine-users mailing list