Hi Helmut,

Facter 4 resolves each fact on a separate thread, this can lead to a high
number of threads being created. Can you please provide the output of `cat
/proc/sys/kernel/threads-max` on the system where you see this issue? Does
this happen at every run or sporadically?

Please try to run facter from the cli and let me know if you have any
issues.



You can disable parallel fact resolution with facter.conf (
https://puppet.com/docs/facter/3.11/configuring_facter.html) by adding


global : {

    sequential          : true

}



Best regards,

Bogdan Irimie





On Tue, Dec 8, 2020 at 10:54 AM Helmut Schneider <jumpe...@gmx.de> wrote:

> Hi,
>
> after update of puppet-agent on Ubuntu I get the following error:
>
> Debug: Facter: Query is operatingsystem
> Debug: Facter: Checking query tokens operatingsystem
> Debug: Facter: List of resolvable facts:
> [#<Facter::SearchedFact:0x000055f89f7fb640 @name="operatingsystem",
> @fact_class=Facts::Linux::Os::Name, @filter_tokens=[],
> @user_query="operatingsystem", @type=:legacy, @file=nil>]
> Debug: Facter: Resolving fact in parallel
> Debug: Facter: Loading external facts
> Debug: Facter: User query is: []
> Debug: Facter: Resolving fact in parallel
> Error: Could not retrieve local facts: can't create Thread: Resource
> temporarily unavailable
> Error: Failed to apply catalog: Could not retrieve local facts: can't
> create Thread: Resource temporarily unavailable
> Debug: Resolving service 'report' using Puppet::HTTP::Resolver::Settings
>
> helmut@h2873756:~$ lsb_release -a
> No LSB modules are available.
> Distributor ID: Ubuntu
> Description:    Ubuntu 18.04.5 LTS
> Release:        18.04
> Codename:       bionic
> helmut@h2873756:~$ puppet -V
> 7.0.0
> helmut@h2873756:~$
>
> Any ideas?
>
> Thank you!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to puppet-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/rqneve%24slb%241%40ciao.gmane.io
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CADhjZEopDrCOueW9jJ6VGmcER66JB5GVoV%2BC_p--2DWONbY%2B4Q%40mail.gmail.com.

Reply via email to