linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] Problems with Bind9 on UML 2.6.4
@ 2004-03-21  6:12 Michael Ralston
  2004-03-22 19:13 ` BlaisorBlade
  2004-03-22 21:14 ` Jeff Dike
  0 siblings, 2 replies; 3+ messages in thread
From: Michael Ralston @ 2004-03-21  6:12 UTC (permalink / raw)
  To: user-mode-linux-devel

I'm running UML Version 2.6.4-1um with a 2.6.4 skas3 host.

I'm using Debian Unstable and I've mved /lib/tls to /lib/notls to
disable the NPTL problem...

When running Bind, version 9.2.3 one of the Bind threads decides it want
all the CPU time... When I strace the process it is performing the
following system call indefinetly...

kill(5960, SIGRTMIN)                    = 0

Where '5960' is the PID of the process which is using all CPU time.

From what I've been able to figure out... SIGRTMIN is one of the
real-time linux threading signals... Something implemented in libc6,
version 2.3?

Would I be better of compiling libc6 from source with NPTL/TLS disabled?
Would it resolve this problem? Or is it a matter of this syscall not
being implemented in UML?

Michael Ralston
Stral.net



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [uml-devel] Problems with Bind9 on UML 2.6.4
  2004-03-21  6:12 [uml-devel] Problems with Bind9 on UML 2.6.4 Michael Ralston
@ 2004-03-22 19:13 ` BlaisorBlade
  2004-03-22 21:14 ` Jeff Dike
  1 sibling, 0 replies; 3+ messages in thread
From: BlaisorBlade @ 2004-03-22 19:13 UTC (permalink / raw)
  To: user-mode-linux-devel

Alle 07:12, domenica 21 marzo 2004, Michael Ralston ha scritto:
> I'm running UML Version 2.6.4-1um with a 2.6.4 skas3 host.
>
> I'm using Debian Unstable and I've mved /lib/tls to /lib/notls to
> disable the NPTL problem...
>
> When running Bind, version 9.2.3 one of the Bind threads decides it want
> all the CPU time... When I strace the process it is performing the
> following system call indefinetly...

Have you checked if bind 9.2.3 is stable (no idea)? Could you give detail on 
its config (i.e. it is configured to use special things as shared memory or 
even futexes, which require NPTL)...

> kill(5960, SIGRTMIN)                    = 0
>
> Where '5960' is the PID of the process which is using all CPU time.

Do strace -f (IIRC) to follow the child processes it start and see what pid 
5960 is doing in the meanwhile. Also look Bind's logs and errors. But does it 
lock the Virtual Machine and prevent you from doing anything or it just runs 
continuately? I think it just keeps running.

> From what I've been able to figure out... SIGRTMIN is one of the
> real-time linux threading signals... Something implemented in libc6,
> version 2.3?

Yes, at all! SIGRTMIN is a way of saying something to the process - the 
meaning is decided by the programmer and not by the system (i.e. for the 
kernel SIGRTMIN has no special meaning, unlike SIGINT, SIGKILL and so on).

> Would I be better of compiling libc6 from source with NPTL/TLS disabled?
> Would it resolve this problem?
No idea, however check if bind is linked statically (and in this case it could 
be still trying to use NPTL, *maybe*).
> Or is it a matter of this syscall not
> being implemented in UML?

Well, kill() *is* implemented. By sure.
-- 
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [uml-devel] Problems with Bind9 on UML 2.6.4
  2004-03-21  6:12 [uml-devel] Problems with Bind9 on UML 2.6.4 Michael Ralston
  2004-03-22 19:13 ` BlaisorBlade
@ 2004-03-22 21:14 ` Jeff Dike
  1 sibling, 0 replies; 3+ messages in thread
From: Jeff Dike @ 2004-03-22 21:14 UTC (permalink / raw)
  To: ralston; +Cc: user-mode-linux-devel

ralston@stral.net said:
> Would I be better of compiling libc6 from source with NPTL/TLS
> disabled? Would it resolve this problem? Or is it a matter of this
> syscall not being implemented in UML? 

Kill is definitely implemented in UML.  This looks like a pthreads thing,
but I don't know what, given you've moved /lib/tls.

				Jeff



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-03-23  2:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-21  6:12 [uml-devel] Problems with Bind9 on UML 2.6.4 Michael Ralston
2004-03-22 19:13 ` BlaisorBlade
2004-03-22 21:14 ` Jeff Dike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox