Hi all, I''m fighting with an error message right now, that I don''t understand: puppetmasterd[16269]: Could not write report for steinbeck.tnr.dk at /var/lib/puppet/reports/steinbeck.tnr.dk/200801311728.yaml: Too many open files But an output from lsof states that there is only ~5500 files open - not reaching any max I know of. Anyone else experiencing this...? -- Med venlig hilsen Juri Rischel Jensen Fab:IT ApS Vesterbrogade 50 DK-1620 København Tlf: 70 202 407 / Fax: 33 313 640 www.fab-it.dk / juri at fab dash it dot dk
On Feb 1, 2008, at 4:32 AM, Juri Rischel Jensen wrote:> I''m fighting with an error message right now, that I don''t understand: > > puppetmasterd[16269]: Could not write report for steinbeck.tnr.dk > at /var/lib/puppet/reports/steinbeck.tnr.dk/200801311728.yaml: Too > many open files > > But an output from lsof states that there is only ~5500 files open - > not reaching any max I know of. > > Anyone else experiencing this...?Are you by chance using 0.23.2 on Debian? That release has a bug caused by patches that weren''t submitted to upstream -- it opens a new socket for every connection, but never closes them again. Hopefully Puppet doesn''t have 5500 open files, though... -- I am not young enough to know everything. -- Oscar Wilde --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com
Juri Rischel Jensen schrieb:> Hi all, > > I''m fighting with an error message right now, that I don''t understand: > > puppetmasterd[16269]: Could not write report for steinbeck.tnr.dk > at /var/lib/puppet/reports/steinbeck.tnr.dk/200801311728.yaml: Too > many open files > > But an output from lsof states that there is only ~5500 files open - > not reaching any max I know of.There is a default 1024 files per process limit on Linux. This includes everything listed in lsof (network sockets, mmaps and what not). For the actual cause with puppet: "what luke said." Regards, DavidS
>> >> puppetmasterd[16269]: Could not write report for steinbeck.tnr.dk >> at /var/lib/puppet/reports/steinbeck.tnr.dk/200801311728.yaml: Too >> many open files >> >> But an output from lsof states that there is only ~5500 files open - >> not reaching any max I know of. > > There is a default 1024 files per process limit on Linux. This > includes > everything listed in lsof (network sockets, mmaps and what not).That was about to be my question... how are you invoking puppet? If puppet is being invoked from say init, then 1024 is the limit. If you''re running things a user (and your using a facility like pam), then limits.conf will, in those distributions, be higher. Cheers, Ryan