NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: snmpd: sysctl vm.bufmem failed (errno 12)



Bartek Krawczyk <bbartlomiej.mail%gmail.com@localhost> writes:

Please look at /etc/login.conf and/or limits in shell (limit/ulimit depending 
on shell).

> i.e what limits?
>
> dns2# vmstat
> procs memory page disk faults cpu
> r b avm fre flt re pi po fr sr x0 in sy cs us sy id
> 0 0 82404 897708 6 0 0 0 0 0 0 739 7611 1121 0 0 99
>
> It's a clean DomU 6.0 install with only bind 9.9.2 from packages (using
> pkgin) and net-snmp running so it can be monitored by cacti. It would be
> funny if it hit any limits. The DomU has 2 CPUs and 1GB RAM. It gets less
> than 100Kb/s of dns traffic on xennet0. Pretty much doesn't do anything at
> tall.
>
> Shouldn't a default install be more or less usable?
>
>
> On 2 January 2013 21:57, Daniel Horecki <morr+lists%morr.pl@localhost> wrote:
>
>> Bartek Krawczyk <bbartlomiej.mail%gmail.com@localhost> writes:
>>
>> > Hi, on my console I keep getting lots of:
>> >
>> > Jan 2 19:31:00 dns2 snmpd[136]: sysctl vm.bufmem failed (errno 12)
>> >
>> > I have no idea what does it mean. The sysctls are:
>> >
>> > vm.bufmem = 20205056
>> > vm.bufmem_lowater = 20132352
>> > vm.bufmem_hiwater = 161058816
>> >
>> > Anyone noticed something similar?
>> >
>> > Regards,
>>
>> errno 12 means "Cannot allocate memory". Maybe you are hitting some limits?
>>
>> Regards,
>>
>> --
>> Daniel Horecki
>> http://morr.pl http://linux.pl http://netbsd.pl http://netbsd.org
>> HAIL ERIS!
>> BOFH since 1999.
>>

-- 
Daniel Horecki
http://morr.pl http://linux.pl http://netbsd.pl http://netbsd.org
HAIL ERIS!
BOFH since 1999.


Home | Main Index | Thread Index | Old Index