[Bug 1834072] Re: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been fixed but not yet made it into Ubuntu.

2019-07-26 Thread Mathew Hodson
** No longer affects: ruby2.3 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1834072 Title: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has

[Bug 1834072] Re: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been fixed but not yet made it into Ubuntu.

2019-07-25 Thread Fran Garcia
Same here, new package looks good -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1834072 Title: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been

[Bug 1834072] Re: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been fixed but not yet made it into Ubuntu.

2019-07-25 Thread DAN FINN
I ran some quick tests last night and everything looked good. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1834072 Title: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue

[Bug 1834072] Re: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been fixed but not yet made it into Ubuntu.

2019-07-24 Thread Robie Basak
Hello DAN, or anyone else affected, Accepted ruby2.3 into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ruby2.3/2.3.1-2~ubuntu16.04.13 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

[Bug 1834072] Re: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been fixed but not yet made it into Ubuntu.

2019-07-24 Thread Andreas Hasenack
** Description changed: [Impact] Ruby processes can sometimes get stuck in a loop consuming 100% CPU, as described upstream and in the debian bug report. It has most commonly been seen in the puppet agent. [Test Case] It's not easy to reproduce. It has been suggested that this

[Bug 1834072] Re: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been fixed but not yet made it into Ubuntu.

2019-07-24 Thread Andreas Hasenack
** Description changed: [Impact] Ruby processes can sometimes get stuck in a loop consuming 100% CPU, as described upstream and in the debian bug report. It has most commonly been seen in the puppet agent. [Test Case] It's not easy to reproduce. It has been suggested that this

[Bug 1834072] Re: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been fixed but not yet made it into Ubuntu.

2019-07-17 Thread Andreas Hasenack
In other words, we are waiting for the SRU team to go through the queue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1834072 Title: Puppet agent using 100% CPU, in sched_yield() loop. Looks like

[Bug 1834072] Re: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been fixed but not yet made it into Ubuntu.

2019-07-17 Thread Andreas Hasenack
In other words, we are waiting for the SRU team to go through the queue. -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to ruby2.3 in Ubuntu. https://bugs.launchpad.net/bugs/1834072 Title: Puppet agent using 100% CPU, in sched_yield()

[Bug 1834072] Re: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been fixed but not yet made it into Ubuntu.

2019-07-15 Thread Paride Legovini
Hi DAN, the package is still waiting for approval in the "unapproved" queue; you can monitor it from this page: https://launchpad.net/ubuntu/xenial/+queue?queue_state=1 For more information on the Stable Release Update (SRU) process see this wiki page:

[Bug 1834072] Re: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been fixed but not yet made it into Ubuntu.

2019-07-12 Thread DAN FINN
Hi Andreas, any update on this? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1834072 Title: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been

[Bug 1834072] Re: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been fixed but not yet made it into Ubuntu.

2019-07-03 Thread Andreas Hasenack
Uploaded to the unapproved queue, next step is from the SRU team. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1834072 Title: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an

[Bug 1834072] Re: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been fixed but not yet made it into Ubuntu.

2019-07-03 Thread Andreas Hasenack
Uploaded to the unapproved queue, next step is from the SRU team. -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to ruby2.3 in Ubuntu. https://bugs.launchpad.net/bugs/1834072 Title: Puppet agent using 100% CPU, in sched_yield() loop.

[Bug 1834072] Re: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been fixed but not yet made it into Ubuntu.

2019-07-02 Thread Andreas Hasenack
** Description changed: [Impact] - * An explanation of the effects of the bug on users and - - * justification for backporting the fix to the stable release. - - * In addition, it is helpful, but not required, to include an -explanation of how the upload fixes this bug. + Ruby

[Bug 1834072] Re: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been fixed but not yet made it into Ubuntu.

2019-07-02 Thread Andreas Hasenack
** Description changed: [Impact] - * An explanation of the effects of the bug on users and - - * justification for backporting the fix to the stable release. - - * In addition, it is helpful, but not required, to include an -explanation of how the upload fixes this bug. + Ruby

[Bug 1834072] Re: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been fixed but not yet made it into Ubuntu.

2019-07-02 Thread Andreas Hasenack
** Changed in: ruby2.3 (Ubuntu) Status: Triaged => In Progress ** Changed in: ruby2.3 (Ubuntu) Assignee: (unassigned) => Andreas Hasenack (ahasenack) ** Description changed: + [Impact] + + * An explanation of the effects of the bug on users and + + * justification for

[Bug 1834072] Re: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been fixed but not yet made it into Ubuntu.

2019-07-02 Thread Andreas Hasenack
** Changed in: ruby2.3 (Ubuntu) Status: Triaged => In Progress ** Changed in: ruby2.3 (Ubuntu) Assignee: (unassigned) => Andreas Hasenack (ahasenack) ** Description changed: + [Impact] + + * An explanation of the effects of the bug on users and + + * justification for

[Bug 1834072] Re: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been fixed but not yet made it into Ubuntu.

2019-07-02 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~ahasenack/ubuntu/+source/ruby2.3/+git/ruby2.3/+merge/369590 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1834072 Title: Puppet agent using

[Bug 1834072] Re: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been fixed but not yet made it into Ubuntu.

2019-07-02 Thread Andreas Hasenack
I was just waiting for some feedback, as this is hard to reproduce. I tried the script for a few minutes but nothing out of the ordinary happened. I see two +1s now, so I'll proceed with the SRU. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed

[Bug 1834072] Re: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been fixed but not yet made it into Ubuntu.

2019-07-02 Thread Andreas Hasenack
I was just waiting for some feedback, as this is hard to reproduce. I tried the script for a few minutes but nothing out of the ordinary happened. I see two +1s now, so I'll proceed with the SRU. -- You received this bug notification because you are a member of Ubuntu Server, which is

[Bug 1834072] Re: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been fixed but not yet made it into Ubuntu.

2019-07-01 Thread DAN FINN
Andreas, can you provide any insight on when we might be able to expect this to make it into the repos? I'm not sure how long that process takes. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1834072

[Bug 1834072] Re: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been fixed but not yet made it into Ubuntu.

2019-06-27 Thread Fran Garcia
Hi, Adding another datapoint here. We had the same issue. Been testing the patched packages since last night (on a loop as well), with no issues so far -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1834072] Re: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been fixed but not yet made it into Ubuntu.

2019-06-26 Thread DAN FINN
Yeah, my pleasure. I updated a server with your packages yesterday and have been testing since, including having a loop run overnight. I've yet to see it get stuck in the sched_yield() loop. So far everything looks much better. -- You received this bug notification because you are a member of

[Bug 1834072] Re: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been fixed but not yet made it into Ubuntu.

2019-06-26 Thread Andreas Hasenack
Thanks for your testing! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1834072 Title: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been fixed

[Bug 1834072] Re: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been fixed but not yet made it into Ubuntu.

2019-06-26 Thread Andreas Hasenack
The packages from the ppa finally built overnight, so you can also just add the ppa. Instructions are at https://launchpad.net/~ahasenack/+archive/ubuntu/ruby-cpu-busy- loop-1834072/, but it boils down to this command: sudo add-apt-repository ppa:ahasenack/ruby-cpu-busy-loop-1834072 Then: sudo

[Bug 1834072] Re: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been fixed but not yet made it into Ubuntu.

2019-06-26 Thread Andreas Hasenack
The packages from the ppa finally built overnight, so you can also just add the ppa. Instructions are at https://launchpad.net/~ahasenack/+archive/ubuntu/ruby-cpu-busy- loop-1834072/, but it boils down to this command: sudo add-apt-repository ppa:ahasenack/ruby-cpu-busy-loop-1834072 Then: sudo

[Bug 1834072] Re: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been fixed but not yet made it into Ubuntu.

2019-06-26 Thread Andreas Hasenack
Thanks for your testing! -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to ruby2.3 in Ubuntu. https://bugs.launchpad.net/bugs/1834072 Title: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has

[Bug 1834072] Re: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been fixed but not yet made it into Ubuntu.

2019-06-25 Thread DAN FINN
We have the following packages installed that match the ones you updated so I will just be installing your updates to these: [dfinn@ps-backup-db05 PS SERVER 0 ~]$ dpkg -l|grep -i ruby2 ii libruby2.3:amd64 2.3.1-2~16.04.12 amd64Libraries

[Bug 1834072] Re: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been fixed but not yet made it into Ubuntu.

2019-06-25 Thread DAN FINN
Do you want me to install all the .deb packages at that URL? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1834072 Title: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue

[Bug 1834072] Re: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been fixed but not yet made it into Ubuntu.

2019-06-25 Thread DAN FINN
OK, I'm playing with that ruby script mentioned above now. I've run it several times across several servers and it's only crashed one, leaving a hung process using 100% CPU. I'm trying to get a feel for how often it does this before I patch a test system. -- You received this bug notification

[Bug 1834072] Re: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been fixed but not yet made it into Ubuntu.

2019-06-25 Thread Andreas Hasenack
Thanks! The arm builders are slow, so apt won't see that ppa as populated just yet, but you can download the individual packages. Here are the amd64 ones, for example: https://launchpad.net/~ahasenack/+archive/ubuntu /ruby-cpu-busy-loop-1834072/+build/17190313 -- You received this bug

[Bug 1834072] Re: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been fixed but not yet made it into Ubuntu.

2019-06-25 Thread Andreas Hasenack
Thanks! The arm builders are slow, so apt won't see that ppa as populated just yet, but you can download the individual packages. Here are the amd64 ones, for example: https://launchpad.net/~ahasenack/+archive/ubuntu /ruby-cpu-busy-loop-1834072/+build/17190313 -- You received this bug

[Bug 1834072] Re: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been fixed but not yet made it into Ubuntu.

2019-06-25 Thread DAN FINN
I could try the ruby script mentioned in message #22 of this thread: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=876377 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1834072 Title: Puppet

[Bug 1834072] Re: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been fixed but not yet made it into Ubuntu.

2019-06-25 Thread DAN FINN
Yes, I will work on that. The only tricky part is that I don't know of a way to manually reproduce this. It seems to happen randomly to us and sometimes infrequently. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1834072] Re: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been fixed but not yet made it into Ubuntu.

2019-06-25 Thread Andreas Hasenack
I built xenial packages in this ppa with the above patch, if you could give them a try: https://launchpad.net/~ahasenack/+archive/ubuntu/ruby-cpu-busy- loop-1834072/ -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to ruby2.3 in Ubuntu.

[Bug 1834072] Re: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been fixed but not yet made it into Ubuntu.

2019-06-25 Thread Andreas Hasenack
I built xenial packages in this ppa with the above patch, if you could give them a try: https://launchpad.net/~ahasenack/+archive/ubuntu/ruby-cpu-busy- loop-1834072/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1834072] Re: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been fixed but not yet made it into Ubuntu.

2019-06-25 Thread Bug Watch Updater
** Changed in: ruby2.3 (Debian) Status: Unknown => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1834072 Title: Puppet agent using 100% CPU, in sched_yield() loop. Looks like

[Bug 1834072] Re: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been fixed but not yet made it into Ubuntu.

2019-06-25 Thread DAN FINN
Yes, I could test it on a dev box -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1834072 Title: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been

[Bug 1834072] Re: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been fixed but not yet made it into Ubuntu.

2019-06-25 Thread Andreas Hasenack
Upstream commit in the 2.3 branch: https://github.com/ruby/ruby/commit/c5a99cf3c0d493e911f499fdecdd0db68019af98 -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to ruby2.3 in Ubuntu. https://bugs.launchpad.net/bugs/1834072 Title: Puppet

[Bug 1834072] Re: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been fixed but not yet made it into Ubuntu.

2019-06-25 Thread Andreas Hasenack
Upstream commit in the 2.3 branch: https://github.com/ruby/ruby/commit/c5a99cf3c0d493e911f499fdecdd0db68019af98 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1834072 Title: Puppet agent using 100%

[Bug 1834072] Re: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been fixed but not yet made it into Ubuntu.

2019-06-25 Thread Andreas Hasenack
** Tags added: server-next ** Changed in: ruby2.3 (Ubuntu) Status: New => Triaged ** Changed in: ruby2.3 (Ubuntu) Importance: Undecided => High ** Bug watch added: Debian Bug tracker #876377 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=876377 ** Also affects: ruby2.3 (Debian)

[Bug 1834072] Re: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been fixed but not yet made it into Ubuntu.

2019-06-25 Thread Andreas Hasenack
** Tags added: server-next ** Changed in: ruby2.3 (Ubuntu) Status: New => Triaged ** Changed in: ruby2.3 (Ubuntu) Importance: Undecided => High ** Bug watch added: Debian Bug tracker #876377 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=876377 ** Also affects: ruby2.3 (Debian)

[Bug 1834072] Re: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been fixed but not yet made it into Ubuntu.

2019-06-25 Thread Andreas Hasenack
https://salsa.debian.org/ruby- team/ruby/commit/50d860d0bd7834e95214a2b1ff5b8e0ede7910a1 seems to be the fix If I build packages in a ppa, can you test for us, prior to the upload to proposed? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 1834072] Re: Puppet agent using 100% CPU, in sched_yield() loop. Looks like an issue with ruby2.3 which has been fixed but not yet made it into Ubuntu.

2019-06-25 Thread Andreas Hasenack
https://salsa.debian.org/ruby- team/ruby/commit/50d860d0bd7834e95214a2b1ff5b8e0ede7910a1 seems to be the fix If I build packages in a ppa, can you test for us, prior to the upload to proposed? -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed