Stephan writes:
> > # crash
> > Crash version 7.99.25, image version 7.99.25.
> > Output from a running system is unreliable.
> > crash> trace/t 0t455
> > trace: pid 455 lid 1 at 0xfe8002ff0ce0
> > sleepq_block() at sleepq_block+0xa2
> > cv_wait() at cv_wait+0x116
> > fd_close() at
> Does anyone have any good suggestions for how to arrange for another
> thread/lwp to run so it can remove the extra reference to the logging
> descriptor?
filemon(4) as written should just be replaced with a method that
works without replacing system calls or borrowing fds or any of
these
On Sat, 9 Jan 2016, Rhialto wrote:
On Wed 06 Jan 2016 at 17:44:45 +, Taylor R Campbell wrote:
This only fixes the problem for certain orderings of file descriptors.
I was thinking of a different hack.
Given tha filemon now knows there are issues if it has to use a fd lower
than its own
On Wed 06 Jan 2016 at 17:44:45 +, Taylor R Campbell wrote:
> This only fixes the problem for certain orderings of file descriptors.
I was thinking of a different hack.
Given tha filemon now knows there are issues if it has to use a fd lower
than its own fd, it can avoid the situation.
If it
Date: Wed, 6 Jan 2016 09:22:44 -0800
From: Brian Buhrow
hello. Is there a particular reason file descriptors are closed in
ascending order? Traditionally, file descriptors 2, 1 and 0 are always in
use and it seems like it might be a good idea to have
hello. Is there a particular reason file descriptors are closed in
ascending order? Traditionally, file descriptors 2, 1 and 0 are always in
use and it seems like it might be a good idea to have those be the last to
get closed. I've seen some applications that close all their
On Wed, 6 Jan 2016, David Holland wrote:
On Wed, Jan 06, 2016 at 08:10:36AM +0800, Paul Goyette wrote:
> Does anyone have any good suggestions for how to arrange for another
> thread/lwp to run so it can remove the extra reference to the logging
> descriptor?
A better suggestion: remove the
On Wed, Jan 06, 2016 at 08:10:36AM +0800, Paul Goyette wrote:
> Does anyone have any good suggestions for how to arrange for another
> thread/lwp to run so it can remove the extra reference to the logging
> descriptor?
A better suggestion: remove the broken behavior of close().
--
David A.
p...@vps1.whooppee.com (Paul Goyette) writes:
>cv_wait() at cv_wait+0x116
>fd_close() at fd_close+0x39a
>fd_free() at fd_free+0x178
>exit1() at exit1+0x10a
>sys_exit() at sys_exit+0x3a
>syscall() at syscall+0x9c
>--- syscall (number 1) ---
>So I guess I need to figure out which/what condvar it
On Wed, Jan 06, 2016 at 11:38:00AM +0800, Paul Goyette wrote:
> On Wed, 6 Jan 2016, Taylor R Campbell wrote:
>
> > Date: Tue, 5 Jan 2016 21:48:42 -0500
> > From: Thor Lancelot Simon
> >
> > You can probably use workqueues for this. Looking at the manual page
> > again for
Date: Tue, 5 Jan 2016 21:48:42 -0500
From: Thor Lancelot Simon
You can probably use workqueues for this. Looking at the manual page
again for the first time in years, I think it's a little misleading --
what I believe is meant by "A work must not be enqueued again
On Wed, Jan 06, 2016 at 08:10:36AM +0800, Paul Goyette wrote:
>
> Does anyone have any good suggestions for how to arrange for another
> thread/lwp to run so it can remove the extra reference to the logging
> descriptor?
You can probably use workqueues for this. Looking at the manual page
again
On Wed, 6 Jan 2016, Taylor R Campbell wrote:
Date: Tue, 5 Jan 2016 21:48:42 -0500
From: Thor Lancelot Simon
You can probably use workqueues for this. Looking at the manual page
again for the first time in years, I think it's a little misleading --
what I believe is
On Tue, 5 Jan 2016, Thor Lancelot Simon wrote:
On Wed, Jan 06, 2016 at 11:38:00AM +0800, Paul Goyette wrote:
On Wed, 6 Jan 2016, Taylor R Campbell wrote:
Date: Tue, 5 Jan 2016 21:48:42 -0500
From: Thor Lancelot Simon
You can probably use workqueues for this. Looking at
p...@whooppee.com (Paul Goyette) writes:
>I'm pretty sure that the device in question is the console terminal
>driver /dev/console since the problem does not happen if filemon is
>sending the entries to a "real" file. But I can't figure why it is
>waiting, so I don't know what I should do to
On Tue, 5 Jan 2016, Stephan wrote:
# crash
Crash version 7.99.25, image version 7.99.25.
Output from a running system is unreliable.
crash> trace/t 0t455
trace: pid 455 lid 1 at 0xfe8002ff0ce0
sleepq_block() at sleepq_block+0xa2
cv_wait() at cv_wait+0x116
fd_close() at fd_close+0x39a
On Tue, 5 Jan 2016, Michael van Elst wrote:
p...@vps1.whooppee.com (Paul Goyette) writes:
cv_wait() at cv_wait+0x116
fd_close() at fd_close+0x39a
fd_free() at fd_free+0x178
exit1() at exit1+0x10a
sys_exit() at sys_exit+0x3a
syscall() at syscall+0x9c
--- syscall (number 1) ---
So I guess I
> # crash
> Crash version 7.99.25, image version 7.99.25.
> Output from a running system is unreliable.
> crash> trace/t 0t455
> trace: pid 455 lid 1 at 0xfe8002ff0ce0
> sleepq_block() at sleepq_block+0xa2
> cv_wait() at cv_wait+0x116
> fd_close() at fd_close+0x39a
> fd_free() at fd_free+0x178
> # crash
> Crash version 7.99.25, image version 7.99.25.
> Output from a running system is unreliable.
> crash> trace/t 0t455
> trace: pid 455 lid 1 at 0xfe8002ff0ce0
> sleepq_block() at sleepq_block+0xa2
> cv_wait() at cv_wait+0x116
> fd_close() at fd_close+0x39a
> fd_free() at fd_free+0x178
On Wed, 6 Jan 2016, Paul Goyette wrote:
I need to figure out why this is a problem when filemon(4) "borrows" the fd
for stdout, but is not a problem when it borrows a real file.
OK, I figured out what's going on.
In the failure scenario, we have the following events:
1. Process
This scenario reminds me of:
https://www.sqlite.org/compile.html#minimum_file_descriptor
-bch
On 1/5/16, Paul Goyette wrote:
> On Wed, 6 Jan 2016, Paul Goyette wrote:
>
>> I need to figure out why this is a problem when filemon(4) "borrows" the
>> fd
>> for stdout,
On Tue, 5 Jan 2016, Michael van Elst wrote:
p...@whooppee.com (Paul Goyette) writes:
I'm pretty sure that the device in question is the console terminal
driver /dev/console since the problem does not happen if filemon is
sending the entries to a "real" file. But I can't figure why it is
22 matches
Mail list logo