Re: bsnmpd going crazy on 10-STABLE

2016-10-24 Thread Florian Smeets via freebsd-stable
On 24/10/2016 19:15, Zane C. B-H. wrote:
> On Mon, 24 Oct 2016 12:05:52 -0500
> "Zane C. B-H."  wrote:
> 
>> 
> 
> Commenting out the line below seems to have fixed it on the system in
> question...
> 
> begemotSnmpdModulePath."hostres" = "/usr/lib/snmp_hostres.so"
> 
> Not sure why it is not behaving on only one 10-STABLE system.

You need the patch from [1] unfortunately nobody committed it, yet.
According the the PR it seems to be somewhat of a workaround.

I have been running with it for 3 months now on stable/11.

HTH,
Florian

[1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209368



signature.asc
Description: OpenPGP digital signature


Re: bsnmpd going crazy on 10-STABLE

2016-10-24 Thread Zane C. B-H.
On Mon, 24 Oct 2016 12:05:52 -0500
"Zane C. B-H."  wrote:

> 

Commenting out the line below seems to have fixed it on the system in
question...

begemotSnmpdModulePath."hostres" = "/usr/lib/snmp_hostres.so"

Not sure why it is not behaving on only one 10-STABLE system.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


bsnmpd going crazy on 10-STABLE

2016-10-24 Thread Zane C. B-H.
Restarted a machine and post restart I began seeing the stuff below
when watch it via truss. It just keeps looping over and over doing
stuff like that while eating up lots of CPU time.

I've checked the configs between both machines and they are both the
same. I've tried updating usr.sbin/bsnmpd and lib/libbsnmp to the
newest versions, but that seems to have zero affect on it.

Any thoughts?

openat(AT_FDCWD,"/dev/da2",O_NONBLOCK,00)= 16 (0x10)
ioctl(16,0x40086481 { IOR 0x64('d'), 129, 8 },0xb578) = 0 (0x0)
__sysctl(0x7fffb480,0x2,0x7fffb4bc,0x7fffb4b0,0x8055b7eaa,0x11) = 0 
(0x0)
__sysctl(0x7fffb4bc,0x3,0x0,0x7fffb4c8,0x0,0x0) = 0 (0x0)
__sysctl(0x7fffb4bc,0x3,0x8066c9000,0x7fffb4c8,0x0,0x0) = 0 (0x0)
gettimeofday({ 1477327808.091871 },0x0)  = 0 (0x0)
getpid() = 42507 (0xa60b)
close(16)= 0 (0x0)
openat(AT_FDCWD,"/dev/da1",O_NONBLOCK,00)= 16 (0x10)
ioctl(16,0x40086481 { IOR 0x64('d'), 129, 8 },0xb578) = 0 (0x0)
__sysctl(0x7fffb480,0x2,0x7fffb4bc,0x7fffb4b0,0x8055b7eaa,0x11) = 0 
(0x0)
__sysctl(0x7fffb4bc,0x3,0x0,0x7fffb4c8,0x0,0x0) = 0 (0x0)
__sysctl(0x7fffb4bc,0x3,0x8066c9000,0x7fffb4c8,0x0,0x0) = 0 (0x0)
gettimeofday({ 1477327808.096923 },0x0)  = 0 (0x0)
getpid() = 42507 (0xa60b)
close(16)= 0 (0x0)
openat(AT_FDCWD,"/dev/da0",O_NONBLOCK,00)= 16 (0x10)
ioctl(16,0x40086481 { IOR 0x64('d'), 129, 8 },0xb578) = 0 (0x0)
__sysctl(0x7fffb480,0x2,0x7fffb4bc,0x7fffb4b0,0x8055b7eaa,0x11) = 0 
(0x0)
__sysctl(0x7fffb4bc,0x3,0x0,0x7fffb4c8,0x0,0x0) = 0 (0x0)
__sysctl(0x7fffb4bc,0x3,0x8066c9000,0x7fffb4c8,0x0,0x0) = 0 (0x0)
gettimeofday({ 1477327808.102461 },0x0)  = 0 (0x0)
getpid() = 42507 (0xa60b)
close(16)= 0 (0x0)
openat(AT_FDCWD,"/dev/cd0",O_NONBLOCK,00)= 16 (0x10)
ioctl(16,0x40086481 { IOR 0x64('d'), 129, 8 },0xb578) ERR#2 'No such file 
or directory'
close(16)= 0 (0x0)
gettimeofday({ 1477327808.109391 },0x0)  = 0 (0x0)
gettimeofday({ 1477327808.109529 },0x0)  = 0 (0x0)
select(16,{ 6 12 14 15 },{ },{ },{ 0.155257 })   = 1 (0x1)
read(12,"!system=CAM subsystem=periph typ"...,512) = 167 (0xa7)
__sysctl(0x7fffb4f0,0x2,0x7fffb530,0x7fffb528,0x8053b3586,0xb) = 0 
(0x0)
__sysctl(0x7fffb530,0x3,0x7fffb618,0x7fffb610,0x0,0x0) = 0 (0x0)
__sysctl(0x7fffb6b8,0x2,0x7fffb620,0x7fffb850,0x8053b365e,0xe) = 0 
(0x0)
__sysctl(0x7fffb620,0x5,0x7fffb6c0,0x7fffb848,0x0,0x0) = 0 (0x0)
__sysctl(0x7fffb620,0x5,0x7fffb6c0,0x7fffb848,0x0,0x0) = 0 (0x0)
__sysctl(0x7fffb620,0x5,0x7fffb6c0,0x7fffb848,0x0,0x0) = 0 (0x0)
__sysctl(0x7fffb620,0x5,0x7fffb6c0,0x7fffb848,0x0,0x0) = 0 (0x0)
__sysctl(0x7fffb620,0x5,0x7fffb6c0,0x7fffb848,0x0,0x0) = 0 (0x0)
__sysctl(0x7fffb620,0x5,0x7fffb6c0,0x7fffb848,0x0,0x0) = 0 (0x0)
__sysctl(0x7fffb620,0x5,0x7fffb6c0,0x7fffb848,0x0,0x0) = 0 (0x0)
__sysctl(0x7fffb620,0x5,0x7fffb6c0,0x7fffb848,0x0,0x0) = 0 (0x0)
__sysctl(0x7fffb620,0x5,0x7fffb6c0,0x7fffb848,0x0,0x0) = 0 (0x0)
__sysctl(0x7fffb620,0x5,0x7fffb6c0,0x7fffb848,0x0,0x0) = 0 (0x0)
__sysctl(0x7fffb620,0x5,0x7fffb6c0,0x7fffb848,0x0,0x0) = 0 (0x0)
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


bsnmpd going crazy on 10-STABLE

2016-10-24 Thread Zane C. B-H.
Restarted a machine and post restart I began seeing the stuff below
when watch it via truss. It just keeps looping over and over doing
stuff like that while eating up lots of CPU time.

I've checked the configs between both machines and they are both the
same. I've tried updating usr.sbin/bsnmpd and lib/libbsnmp to the
newest versions, but that seems to have zero affect on it.

Any thoughts?

openat(AT_FDCWD,"/dev/da2",O_NONBLOCK,00)= 16 (0x10)
ioctl(16,0x40086481 { IOR 0x64('d'), 129, 8 },0xb578) = 0 (0x0)
__sysctl(0x7fffb480,0x2,0x7fffb4bc,0x7fffb4b0,0x8055b7eaa,0x11)
= 0 (0x0) __sysctl(0x7fffb4bc,0x3,0x0,0x7fffb4c8,0x0,0x0) = 0
(0x0) __sysctl(0x7fffb4bc,0x3,0x8066c9000,0x7fffb4c8,0x0,0x0)
= 0 (0x0) gettimeofday({ 1477327808.091871 },0x0)  = 0 (0x0)
getpid() = 42507 (0xa60b)
close(16)= 0 (0x0)
openat(AT_FDCWD,"/dev/da1",O_NONBLOCK,00)= 16 (0x10)
ioctl(16,0x40086481 { IOR 0x64('d'), 129, 8 },0xb578) = 0 (0x0)
__sysctl(0x7fffb480,0x2,0x7fffb4bc,0x7fffb4b0,0x8055b7eaa,0x11)
= 0 (0x0) __sysctl(0x7fffb4bc,0x3,0x0,0x7fffb4c8,0x0,0x0) = 0
(0x0) __sysctl(0x7fffb4bc,0x3,0x8066c9000,0x7fffb4c8,0x0,0x0)
= 0 (0x0) gettimeofday({ 1477327808.096923 },0x0)  = 0 (0x0)
getpid() = 42507 (0xa60b)
close(16)= 0 (0x0)
openat(AT_FDCWD,"/dev/da0",O_NONBLOCK,00)= 16 (0x10)
ioctl(16,0x40086481 { IOR 0x64('d'), 129, 8 },0xb578) = 0 (0x0)
__sysctl(0x7fffb480,0x2,0x7fffb4bc,0x7fffb4b0,0x8055b7eaa,0x11)
= 0 (0x0) __sysctl(0x7fffb4bc,0x3,0x0,0x7fffb4c8,0x0,0x0) = 0
(0x0) __sysctl(0x7fffb4bc,0x3,0x8066c9000,0x7fffb4c8,0x0,0x0)
= 0 (0x0) gettimeofday({ 1477327808.102461 },0x0)  = 0 (0x0)
getpid() = 42507 (0xa60b)
close(16)= 0 (0x0)
openat(AT_FDCWD,"/dev/cd0",O_NONBLOCK,00)= 16 (0x10)
ioctl(16,0x40086481 { IOR 0x64('d'), 129, 8 },0xb578) ERR#2 'No
such file or directory'
close(16)= 0 (0x0)
gettimeofday({ 1477327808.109391 },0x0)  = 0 (0x0)
gettimeofday({ 1477327808.109529 },0x0)  = 0 (0x0)
select(16,{ 6 12 14 15 },{ },{ },{ 0.155257 })   = 1 (0x1)
read(12,"!system=CAM subsystem=periph typ"...,512) = 167 (0xa7)
__sysctl(0x7fffb4f0,0x2,0x7fffb530,0x7fffb528,0x8053b3586,0xb)
= 0 (0x0)
__sysctl(0x7fffb530,0x3,0x7fffb618,0x7fffb610,0x0,0x0) =
0 (0x0)
__sysctl(0x7fffb6b8,0x2,0x7fffb620,0x7fffb850,0x8053b365e,0xe)
= 0 (0x0)
__sysctl(0x7fffb620,0x5,0x7fffb6c0,0x7fffb848,0x0,0x0) =
0 (0x0)
__sysctl(0x7fffb620,0x5,0x7fffb6c0,0x7fffb848,0x0,0x0) =
0 (0x0)
__sysctl(0x7fffb620,0x5,0x7fffb6c0,0x7fffb848,0x0,0x0) =
0 (0x0)
__sysctl(0x7fffb620,0x5,0x7fffb6c0,0x7fffb848,0x0,0x0) =
0 (0x0)
__sysctl(0x7fffb620,0x5,0x7fffb6c0,0x7fffb848,0x0,0x0) =
0 (0x0)
__sysctl(0x7fffb620,0x5,0x7fffb6c0,0x7fffb848,0x0,0x0) =
0 (0x0)
__sysctl(0x7fffb620,0x5,0x7fffb6c0,0x7fffb848,0x0,0x0) =
0 (0x0)
__sysctl(0x7fffb620,0x5,0x7fffb6c0,0x7fffb848,0x0,0x0) =
0 (0x0)
__sysctl(0x7fffb620,0x5,0x7fffb6c0,0x7fffb848,0x0,0x0) =
0 (0x0)
__sysctl(0x7fffb620,0x5,0x7fffb6c0,0x7fffb848,0x0,0x0) =
0 (0x0)
__sysctl(0x7fffb620,0x5,0x7fffb6c0,0x7fffb848,0x0,0x0) =
0 (0x0)
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"