On Wed, 14 May 2014, Matthias Pitzl wrote:
> On our server running with OpenBSD 5.5 calling netstat sometimes lead to 
> an uvm_fault in sysctl_file(). I can trigger the problem by running some 
> of our tests which create/delete a lot of files, open/close sockets etc. 
> and call netstat -anv.
> 
> Attached file contains dmesg, trace and ps output.
...
> ddb{3}> trace
> sysctl_file() at sysctl_file+0x180
> kern_sysctl() at kern_sysctl+0x686

You don't happen to have the output of "show reg", do you?

Regardless, this is a locking problem in the kernel's sysctl logic.  A 
previous attempt to fix this created other locking issues and was 
reverted.  I've almost got exit1() cleaned up enough that we might be able 
to take a second stab at this...


Philip Guenther

Reply via email to