Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] Builds consuming all CPU

Thomas,

I apologize. I've been meaning to look into the usage of 'nice', and try to figure out the effect, and if it applied to the builds that get kicked off in my name by cron, but hadn't yet.

I was also unfamiliar with the 'top' command (thanks - btw).

I'm currently testing an updated crontab entry. If it works, I'll update the entry for the nightly builds as well (since there are folks awake when most of North America sleeps). While investigating this, I've noticed and killed a few hung/orphaned processes of 'mine' as well.

I'm wondering if one of them may have been a culprit, since the one scheduled continuous build isn't really Continuous. It kicks off checks to see if the code changed hourly, if not (most often the case) it exits, if so the build and tests take about 15 minutes. However, in the case where it does do a build niceness should apply (and now does - I think).

-Eric

Thomas Hallgren wrote:
Over the last couple of weeks, I've done a 'top' from time to time when I feel that my builds take longer then they should. Very often, I see this at the top:

 12252 egwin     20   0  668m 168m  11m S  115  1.1   0:09.27 java

A hint to egwin and others that run very heavy builds. The message of the day on the build machine states:

"If you run continuous builds, you should start your shell processes with nice -n 10 (command) to be kind to others."

Another entry that isn't that uncommon at the top is:

 29702 hudsonbu  17   0  584m 101m 7372 R  124  0.7   0:25.09 java

which of course raises the question, why isn't Hudson running its jobs with nice -10?

The jarsigner seems to be one of the few that actually does this, and my builds always waits _very_ long times for it to complete.

Regards,
Thomas Hallgren

_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev


--
-Eric

Oracle <http://www.oracle.com>
Eric Gwin | Senior Software Developer
Phone: +613 288 4622 <tel:+613%20288%204622> | | Fax: +613 2382818 <fax:+613%202382818> | | Mobile: +613 8582347 <tel:+613%208582347>
Oracle Java Server Technologies
ORACLE Canada | 45 O'Connor St., Ottawa, Ontario | K1P 6L2
Green Oracle <http://www.oracle.com/commitment> Oracle is committed to developing practices and products that help protect the environment



Back to the top