[Bug 1314697] Re: Upon upgrade, DNS resolution no longer works

2014-05-01 Thread Colin King
I'm seeing this too, strace show it spinning on:

select(8, [0 3 6 7], [], [6], NULL) = 1 (in [0])
recvmsg(0, 0x7fffdb2aa6d0, 0) = -1 ENOTSOCK (Socket operation on non-socket)
accept(0, 0, NULL) = -1 ENOTSOCK (Socket operation on non-socket)
select(8, [0 3 6 7], [], [6], NULL) = 1 (in [0])
recvmsg(0, 0x7fffdb2aa6d0, 0) = -1 ENOTSOCK (Socket operation on non-socket)
accept(0, 0, NULL) = -1 ENOTSOCK (Socket operation on non-socket)

So we're getting ENOTSOCK on fd 0, which is /dev/null :

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dnsmasq in Ubuntu.
https://bugs.launchpad.net/bugs/1314697

Title:
  Upon upgrade, DNS resolution no longer works

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1314697/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1314708] [NEW] dnsmasq is consuming ~100% of one CPU

2014-04-30 Thread Colin King
Public bug reported:

I did a clean install of trusty and upgraded to utopic on a desktop and
on the next reboot I observed one CPU was being totally pegged by
dnsmasq

top:

top - 17:15:32 up 16 min,  4 users,  load average: 1.02, 1.02, 0.69
Tasks: 197 total,   2 running, 193 sleeping,   2 stopped,   0 zombie
%Cpu(s): 15.8 us,  9.5 sy,  1.1 ni, 73.6 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:   7930260 total,  1369624 used,  6560636 free,34480 buffers
KiB Swap:  8139772 total,0 used,  8139772 free.   767456 cached Mem

  PID USER  PR  NIVIRTRESSHR S  %CPU %MEM TIME+ COMMAND 
 
 1433 nobody20   0   42248   1664   1376 R 100.0  0.0  15:55.66 dnsmasq 
 
1 root  20   0   34152   3316   1460 S   0.0  0.0   0:00.92 init
 
2 root  20   0   0  0  0 S   0.0  0.0   0:00.00 kthreadd
 
3 root  20   0   0  0  0 S   0.0  0.0   0:00.00 ksoftirqd/0 
  

strace show it spinning on:

select(8, [0 3 6 7], [], [6], NULL) = 1 (in [0])
recvmsg(0, 0x7fffdb2aa6d0, 0)   = -1 ENOTSOCK (Socket operation on 
non-socket)
accept(0, 0, NULL)  = -1 ENOTSOCK (Socket operation on 
non-socket)
select(8, [0 3 6 7], [], [6], NULL) = 1 (in [0])
recvmsg(0, 0x7fffdb2aa6d0, 0)   = -1 ENOTSOCK (Socket operation on 
non-socket)
accept(0, 0, NULL)  = -1 ENOTSOCK (Socket operation on 
non-socket)

So we're getting ENOTSOCK on fd 0, which is /dev/null :

total 0
dr-x-- 2 root   root  0 Apr 30 17:21 .
dr-xr-xr-x 9 nobody dip   0 Apr 30 17:21 ..
lrwx-- 1 root   root 64 Apr 30 17:21 0 - /dev/null
lrwx-- 1 root   root 64 Apr 30 17:21 1 - /dev/null
lrwx-- 1 root   root 64 Apr 30 17:21 2 - /dev/null
lrwx-- 1 root   root 64 Apr 30 17:21 3 - socket:[12881]
lrwx-- 1 root   root 64 Apr 30 17:21 4 - socket:[12883]
lrwx-- 1 root   root 64 Apr 30 17:21 5 - socket:[12884]
lrwx-- 1 root   root 64 Apr 30 17:21 6 - socket:[12885]
lr-x-- 1 root   root 64 Apr 30 17:21 7 - pipe:[13568]
l-wx-- 1 root   root 64 Apr 30 17:21 8 - pipe:[13568]
lrwx-- 1 root   root 64 Apr 30 17:21 9 - socket:[13570]

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: dnsmasq (not installed)
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.2-0ubuntu1
Architecture: amd64
Date: Wed Apr 30 17:17:00 2014
InstallationDate: Installed on 2014-04-30 (0 days ago)
InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Release amd64 (20140417)
SourcePackage: dnsmasq
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: dnsmasq (Ubuntu)
 Importance: High
 Status: New


** Tags: amd64 apport-bug utopic

** Changed in: dnsmasq (Ubuntu)
   Importance: Undecided = High

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dnsmasq in Ubuntu.
https://bugs.launchpad.net/bugs/1314708

Title:
  dnsmasq is consuming ~100% of one CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1314708/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1314708] Re: dnsmasq is consuming ~100% of one CPU

2014-04-30 Thread Colin King
Sending a bug report by ubuntu-bug is impossible since I can't resolve
any hostnames with dnsmasq borked like this.  This happens on every
reboot too.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dnsmasq in Ubuntu.
https://bugs.launchpad.net/bugs/1314708

Title:
  dnsmasq is consuming ~100% of one CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1314708/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-22 Thread Colin King
It maybe worth booting with clocksource set to one of the alternative
clocksources available on your machine. One can see which clocksources
are available using:

cat /sys/devices/system/clocksource/clocksource0/available_clocksource

and then boot with clocksource=xxx  (where xxx is one of the
clocksoures).

I cannot test this as I don't have the ability to run kvm on my hardware
setup here. Can somebody try this and checks if it helps or not.

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Server Team, which is a direct subscriber.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-21 Thread Colin King
A couple of points worth mulling over to corner this one..

1. Is the hanging a function of memory size - for example, the buffer
cache filling up after a certain amount of time and then pdflush kicking
in very aggressively doing dirty data writing backs as fast as it can.
In which case, one may see the system resume again after a (long) period
of time once pdflush is complete.  It may be worth tweaking with the
/proc/sys/vm/dirty* options to see if this trips the problem more
frequently. Also, it may be worth seeing if doing the install with small
memory kvm virtual machines shows this problem earlier than large memory
virtual machines just to see if it is a buffer cache write back cpu
starvation issue.

2. From my understanding dd is being used to zero the encrypted disk.
Does changing the dd block size to a very large size trip this bug
earlier as one gets more throughput than the normal (small) block size
default?

3. Is the hanging resumed by an external interrupt (keyboard, mouse)
because of the scheduler boosts interactive sessions temporarily and
hence interfering (in a positive way) to the balancing of the encryption
kernel space thread, dd and pdflush?

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Server Team, which is a direct subscriber.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs