Slow signal delivery to server process with heavy I/O

2010-07-09 Thread Dallas Clement
Hi All, I've noticed that asynchronous signals such as SIGINT, SIGTERM etc are delivered to my process long after the signal is sent if the receiving process is handling lots of I/O. My process is a multi-threaded web server. It's got one thread waiting on 'select' to accept incoming connections

Re: start-stop-daemon: how to pass environment variables to the daemon

2007-07-12 Thread Dallas Clement
On Fri, 2007-07-13 at 11:13 +0800, Yuwen Dai wrote: > Dear all, > > A daemon invoked by start-stop-daemon needs some extra enviroment > variables. How to pass them to the daemon? Thanks in advance. > > Best regards, > Yuwen I'm not sure if you meant environment variables or command line argume

Re: Difficulty with dpkg dependencies

2007-07-12 Thread Dallas Clement
On Thu, 2007-07-12 at 16:08 -0600, Bob Proulx wrote: > Dallas Clement wrote: > > The output of dpkg -l on my target system is: > > ii libc6-i3862.3.6 > > Hence, I can see that the package 'libc6-i386' is indeed installed. > > It does look like it. >

Re: SATA support

2007-07-12 Thread Dallas Clement
On Thu, 2007-07-12 at 16:32 -0500, Dustin wrote: > I'm building my first PC, it will run Debian of course. > > I'm buying the parts off of newegg.com and noticed that many of the > newer DVD burners have a SATA interface. I'm looking at getting both > the HDDs and the DVD burner with a SATA int

Re: Difficulty with dpkg dependencies

2007-07-11 Thread Dallas Clement
On Wed, 2007-07-11 at 15:30 -0400, Kamaraju S Kusumanchi wrote: > What is the output of > > dpkg -l e2fsprogs The output of dpkg -l on my target system is: Name Version +++-=-== ii libc6-i3862.3.6 Hence, I can see that the package 'libc6-i386' is indeed

Re: Difficulty with dpkg dependencies

2007-07-11 Thread Dallas Clement
On Wed, 2007-07-11 at 11:55 -0600, Bob Proulx wrote: > Dallas Clement wrote: > > Package: libc6 > > libc6 is not the same as libc6-386 > > > [EMAIL PROTECTED]:~/packages/glibc$ dpkg --info libc6-i386.deb > > Package: libc6 > > Same here. libc6 is not

Difficulty with dpkg dependencies

2007-07-11 Thread Dallas Clement
lib/dpkg/status Package: libc6 Version: 2.3.6 Section: libs Priority: required Architecture: i386 Maintainer: Dallas Clement <[EMAIL PROTECTED]> Description: The GNU C library The GNU C library is the standard C/C++ library \ needed to support most Linux applications. Status:

Re: Which device did I boot from?

2007-06-22 Thread Dallas Clement
On Fri, 2007-06-22 at 19:37 +0200, Matus UHLAR - fantomas wrote: > > Dallas Clement wrote: > > > I'm trying to determine which device I booted Linux from at run-time. > > > I'd like to obtain the boot device's major/minor numbers or at least > > &g

Which device did I boot from?

2007-06-21 Thread Dallas Clement
Hello all, I'm trying to determine which device I booted Linux from at run-time. I'd like to obtain the boot device's major/minor numbers or at least it's name while executing an init script from initramfs. Does anyone know how this can be done? Thanks! -- To UNSUBSCRIBE, email to [EMAIL PROT

Detecting disk drives from an installation script

2007-06-14 Thread Dallas Clement
iated! Regards, Dallas Clement -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Unknown symbol devres_alloc

2007-05-19 Thread Dallas Clement
I'm trying to load a module libata.ko and I'm getting an error message: libata: Unknown symbol devres_alloc I can see that this symbol is found in the file /lib/devres.o within my linux 2.6.21.1 distribution. However, I'm not sure how this symbol should be loaded. Can anyone please help? Than

Problems loading modules from init

2007-05-19 Thread Dallas Clement
I'm trying to load modules from an init script that is executing in a cross-compiled 2.6.21 kernel. When I try to load a module with the 'modprobe' command - I'm getting a very simple error which is not of much use: modprobe -v scsi_mod The error message is "modprobe: Failed to load module scsi

Can't access tty problems (initramfs)

2007-05-17 Thread Dallas Clement
I'm getting the infamous "Can't access tty; job control turned off" message when I try to invoke the ash shell during my initial bootup. My kernel is 2.6.21.1 and I'm using busybox 1.5.0. I understand that ash requires a controlling tty rather than the console. Though, I don't understand all the

Re: Troubles with initramfs configuration

2007-05-16 Thread Dallas Clement
On Tue, 2007-05-15 at 13:40 -0500, Dallas Clement wrote: > Dear All, > > I'm having problems with configuring my initramfs so that the /init file > will be executed correctly. > > If I have a configuration file for my initramfs as follows with the > simple "hello

Troubles with initramfs configuration

2007-05-15 Thread Dallas Clement
say busybox or a init.sh shell script, I get an error "Can't find /init to execute...kernel panic... etc.". file init ../../initramfs/busybox 777 0 0 Can anyone please give me some pointers? I'm doing this with the 2.6.21.1 kernel. Thanks, Dallas Clement -- To UNSUBSCRIB

Re: Slow DNS Lookups on Debian Etch AMD 64

2007-05-14 Thread Dallas Clement
On Sat, 2007-05-12 at 16:15 +0100, Karl E. Jorgensen wrote: > On Sat, May 12, 2007 at 09:03:41AM -0500, Dallas Clement wrote: > > On Sat, 2007-05-12 at 14:27 +0100, Karl E. Jorgensen wrote: > > > On Thu, May 10, 2007 at 09:41:59AM -0500, Dallas Clement wrote: > > >

Re: Slow DNS Lookups on Debian Etch AMD 64

2007-05-12 Thread Dallas Clement
On Sat, 2007-05-12 at 10:40 -0400, Douglas Allan Tutty wrote: > On Sat, May 12, 2007 at 09:03:41AM -0500, Dallas Clement wrote: > > On Sat, 2007-05-12 at 14:27 +0100, Karl E. Jorgensen wrote: > > > On Thu, May 10, 2007 at 09:41:59AM -0500, Dallas Clement wrote: > > >

Re: Slow DNS Lookups on Debian Etch AMD 64

2007-05-12 Thread Dallas Clement
On Sat, 2007-05-12 at 16:15 +0100, Karl E. Jorgensen wrote: > On Sat, May 12, 2007 at 09:03:41AM -0500, Dallas Clement wrote: > > On Sat, 2007-05-12 at 14:27 +0100, Karl E. Jorgensen wrote: > > > On Thu, May 10, 2007 at 09:41:59AM -0500, Dallas Clement wrote: > > >

Re: Slow DNS Lookups on Debian Etch AMD 64

2007-05-12 Thread Dallas Clement
On Sat, 2007-05-12 at 13:56 +0530, Kushal Kumaran wrote: > On 5/12/07, Dallas Clement <[EMAIL PROTECTED]> wrote: > > On 5/11/07, Douglas Allan Tutty <[EMAIL PROTECTED]> wrote: > > > On Fri, May 11, 2007 at 04:37:07PM -0500, Dallas Clement wrote: > > > &g

Re: Slow DNS Lookups on Debian Etch AMD 64

2007-05-12 Thread Dallas Clement
On Sat, 2007-05-12 at 14:27 +0100, Karl E. Jorgensen wrote: > On Thu, May 10, 2007 at 09:41:59AM -0500, Dallas Clement wrote: > > I'm getting terrible DNS lookup performance on my Debian Etch system. > > I've installed the "Etch" - Official Beta amd64 version. &

Re: Slow DNS Lookups on Debian Etch AMD 64

2007-05-11 Thread Dallas Clement
On 5/11/07, Douglas Allan Tutty <[EMAIL PROTECTED]> wrote: On Fri, May 11, 2007 at 04:37:07PM -0500, Dallas Clement wrote: > On 5/10/07, Douglas Allan Tutty <[EMAIL PROTECTED]> wrote: > >On Thu, May 10, 2007 at 09:41:59AM -0500, Dallas Clement wrote: > >> > &

Re: CD/DVD Drive Problems (Etch 4.0)

2007-05-11 Thread Dallas Clement
On 5/11/07, Kevin Mark <[EMAIL PROTECTED]> wrote: On Fri, May 11, 2007 at 02:25:33PM -0500, Dallas Clement wrote: > I just installed Debian Etch 4.0 on to a machine that has a NEC CDROM > / DVD RW drive, and unfortunately it is having problems finding the > cdrom drive. > >

Re: Slow DNS Lookups on Debian Etch AMD 64

2007-05-11 Thread Dallas Clement
On 5/10/07, Douglas Allan Tutty <[EMAIL PROTECTED]> wrote: On Thu, May 10, 2007 at 09:41:59AM -0500, Dallas Clement wrote: > > I'm getting terrible DNS lookup performance on my Debian Etch system. > I've installed the "Etch" - Official Beta amd64 version.

CD/DVD Drive Problems (Etch 4.0)

2007-05-11 Thread Dallas Clement
is not working. This problem would occasionally happen for me with the Debian Etch "Testing" release. If I would reboot the computer, it would go away most of the time. With the 4.0 release, it doesn't matter how many times I restart, the cdrom just ain't working. Can anyone please he

Re: hda: lost interrupt

2007-05-11 Thread Dallas Clement
'noapic' solved the problem. Thanks! On 5/11/07, Bob McGowan <[EMAIL PROTECTED]> wrote: Dallas Clement wrote: > Hello All, > > I just installed the Debian Etch 4.0 on my system. It will not > complete bootup however. It keeps hanging on "hda: lost interrup

hda: lost interrupt

2007-05-11 Thread Dallas Clement
Hello All, I just installed the Debian Etch 4.0 on my system. It will not complete bootup however. It keeps hanging on "hda: lost interrupt" and eventually fails to boot entirely. I previously had Debian Etch "Testing" installed. It has been working fine for the past month up to the moment I

Slow DNS Lookups on Debian Etch AMD 64

2007-05-10 Thread Dallas Clement
he network configuration. I am using the ndiswrapper around a Windows driver for my Broadcom wireless network adapter. Does anyone have any ideas for me? Thanks, Dallas Clement -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]