In order to measure traffic, we wrote a simple multi threaded packet sniffer in C using libpcap. Its results are written to a MySQL database. The application runs on a very simple firewall appliance and therefore is built on a build-host with statically linked libs. The application was running stable for a few weeks, until last Sunday, since then it suddenly hangs in the 'umtxn' kernel state.

Searching for this umtxn state on Google resulted in several mailinglist and forum threads suggesting it could be a problem due to library versions.

Someone seeing the same phenomena: http://forums.freebsd.org/showthread.php?t=4930

This links to a bugfix in the FreeBSD kernel, but does not seem to apply to our case since the forking has already been done during the startup many days ago: http://security.freebsd.org/advisories/FreeBSD-EN-09:04.fork.asc

Now, my question is: can this be caused by a programming error, or should I start digging in lib-versions?

link|improve this question
procstat -k and gdb may be useful to you – SaveTheRbtz Nov 17 '11 at 22:07
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.