Problem after upgrade Hi folks, dom0/host Debian Etch, a workstation domU/guest Postfix mail server on Debian Etch dom0 after running # aptitude update # aptitude upgrade It works without problem. domU after running # aptitude update # aptitude upgrade .... 1) A new version of configuration file /etc/clamav/clamd.conf is available, but your version has been locally modified. install the package maintainer''s version ... ... 2) A new version of configuration file /etc/clamav/freshclam.conf is available, but your version has been locally modified. install the package maintainer''s version # shutdown -r now Problem comes. On dum0, mouse pointer becomes unstable. On dragging the mouse it vibrates not easy to control. Press keys on keyboard without response, requiring hitting the key twice/3rd times. Shutdown domU everything becomes normal. It was also noticing that On domU # xm list Name ID Mem VCPUs State Time(s) Domain-0 0 3417 2 r----- 10635.8 xen12.satimis.com 2 32 1 r----- 240.0 The number "240.0" corresponding to "xen12.satimis.com" changed rapidly on next run of "xm list". The HD LED flashed. Please advise where to check the cause and how to fix the problem. TIA Remark: Actually domU only starts. It is not doing any work. However the mail server can work to send/receive mails. B.R. Stephen L Send instant messages to your online friends http://uk.messenger.yahoo.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Stephen Liu wrote:>domU >after running ># aptitude update > ># aptitude upgrade >.... >1) >A new version of configuration file /etc/clamav/clamd.conf is >available, >but your version has been locally modified. > >install the package maintainer''s version >... >... >2) >A new version of configuration file /etc/clamav/freshclam.conf is >available, but your version has been locally modified. > >install the package maintainer''s versionThat''s not a Xen issue.>It was also noticing that > >On domU ># xm list > >Name ID Mem VCPUs State Time(s) >Domain-0 0 3417 2 r----- 10635.8 >xen12.satimis.com 2 32 1 r----- 240.0 > > >The number "240.0" corresponding to "xen12.satimis.com" changed rapidly >on next run of "xm list". The HD LED flashed. > > >Please advise where to check the cause and how to fix the problem. TIA > > >Remark: >Actually domU only starts. It is not doing any work. However the mail >server can work to send/receive mails.What happens if you connect to the console of the guest ? The symptoms you describe are not Xen specific, but are general to a class of problems where a program/process has ''gone wrong'' and is doing something that consumes all resources. Diagnosis is the same as it would be on standalone machine. Last time it happened to me was while I was installing MythTV. At some point I got the config wrong and it continuously tried to start a process which failed - consumed all cpu and lots of disk activity as it logged each failed attempt. Log into your guest (either via SSH or the Xen console) and take a look at what it''s doing - is there a process taking lots of CPU ? Is there a log file growing quickly ? -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fillers. Some available as e-books. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
--- Simon Hobson <linux@thehobsons.co.uk> wrote:> Stephen Liu wrote: > > >domU > >after running > ># aptitude update > > > ># aptitude upgrade > >.... > >1) > >A new version of configuration file /etc/clamav/clamd.conf is > >available, > >but your version has been locally modified. > > > >install the package maintainer''s version > >... > >... > >2) > >A new version of configuration file /etc/clamav/freshclam.conf is > >available, but your version has been locally modified. > > > >install the package maintainer''s version > > That''s not a Xen issue. > > > > >It was also noticing that > > > >On domU > ># xm list > > > >Name ID Mem VCPUs State Time(s) > >Domain-0 0 3417 2 r----- 10635.8 > >xen12.satimis.com 2 32 1 r----- 240.0 > > > > > >The number "240.0" corresponding to "xen12.satimis.com" changed > rapidly > >on next run of "xm list". The HD LED flashed. > > > > > >Please advise where to check the cause and how to fix the problem. > TIA > > > > > >Remark: > >Actually domU only starts. It is not doing any work. However the > mail > >server can work to send/receive mails. > > What happens if you connect to the console of the guest ? The > symptoms you describe are not Xen specific, but are general to a > class of problems where a program/process has ''gone wrong'' and is > doing something that consumes all resources. Diagnosis is the same as > > it would be on standalone machine.Hi, I have no problem to ssh-connect the guest on console. The mail server is working without problem. It seems to me a program continuously restarting. This is a headless server without gui packages. Which log file shall I check. Is there any program to check the cause of problem. TIA B.R. Stephen L> > Last time it happened to me was while I was installing MythTV. At > some point I got the config wrong and it continuously tried to start > a process which failed - consumed all cpu and lots of disk activity > as it logged each failed attempt. > > Log into your guest (either via SSH or the Xen console) and take a > look at what it''s doing - is there a process taking lots of CPU ? Is > there a log file growing quickly ? > > -- > Simon HobsonSend instant messages to your online friends http://uk.messenger.yahoo.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Stephen Liu wrote:>I have no problem to ssh-connect the guest on console. The mail server >is working without problem.Right, so the machine is running.>It seems to me a program continuously restarting.So you''ve worked out what the problem is likely to be.>This is a headless server without gui packages.That''s OK.>Which log file shall I check.I don''t know ! I don''t know what your system is. Try syslog and messages first. Try looking for a log file that''s growing quickly. Look at which log files have most recently been updated (ls -ltr).>Is there any program to check the cause of problem.Just the standard utilities and some knowledge of how to use them. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fillers. Some available as e-books. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
--- Simon Hobson <linux@thehobsons.co.uk> wrote:> Stephen Liu wrote:- snip -> >Which log file shall I check. > > I don''t know ! I don''t know what your system is. > > Try syslog and messages first. Try looking for a log file that''s > growing quickly. Look at which log files have most recently been > updated (ls -ltr).Started 2 consoles and ran (ls -ltr) alternatively. At the beginning auth.log, syslog, kern.log and mail.info kept on changing position. After a while all became stable. But HD LED flashed from time to time. I found; # ls -ltr /var/log/mysql total 584 -rw-r----- 1 mysql adm 70207 2008-12-05 06:19 mysql.log.1.gz -rw-rw---- 1 mysql adm 13823 2008-12-13 15:37 mysql-bin.000107 -rw-rw---- 1 mysql adm 13823 2008-12-18 16:27 mysql-bin.000108 -rw-rw---- 1 mysql adm 13823 2008-12-19 04:49 mysql-bin.000109 -rw-rw---- 1 mysql adm 13823 2008-12-19 05:00 mysql-bin.000110 -rw-rw---- 1 mysql adm 13823 2008-12-19 13:56 mysql-bin.000111 -rw-rw---- 1 mysql adm 13823 2008-12-19 14:14 mysql-bin.000112 -rw-rw---- 1 mysql adm 13804 2008-12-19 14:14 mysql-bin.000113 -rw-rw---- 1 mysql adm 98 2008-12-19 14:31 mysql-bin.000114 -rw-rw---- 1 mysql adm 98 2008-12-19 14:39 mysql-bin.000115 -rw-rw---- 1 mysql adm 117 2008-12-19 14:53 mysql-bin.000116 -rw-rw---- 1 mysql adm 13823 2008-12-19 15:08 mysql-bin.000117 -rw-rw---- 1 mysql adm 13804 2008-12-19 15:13 mysql-bin.000118 -rw-rw---- 1 mysql adm 98 2008-12-19 15:34 mysql-bin.000119 -rw-r----- 1 mysql adm 311577 2008-12-19 15:34 mysql.log -rw-rw---- 1 mysql adm 448 2008-12-19 15:34 mysql-bin.index -rw-rw---- 1 mysql adm 98 2008-12-19 15:34 mysql-bin.000120 mysql-bin increased up to .000120. What does it indicate? B.R. Stephen L Send instant messages to your online friends http://uk.messenger.yahoo.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Stephen Liu wrote:>Started 2 consoles and ran (ls -ltr) alternatively. At the beginning >auth.log, syslog, kern.log and mail.info kept on changing position. >After a while all became stable. But HD LED flashed from time to time.And did any one of those keep growing at a rapid rate ? Is any process using a lot of CPU ? (try ''top'')> >I found; > ># ls -ltr /var/log/mysql >total 584 >-rw-r----- 1 mysql adm 70207 2008-12-05 06:19 mysql.log.1.gz >-rw-rw---- 1 mysql adm 13823 2008-12-13 15:37 mysql-bin.000107 >-rw-rw---- 1 mysql adm 13823 2008-12-18 16:27 mysql-bin.000108 >-rw-rw---- 1 mysql adm 13823 2008-12-19 04:49 mysql-bin.000109 >-rw-rw---- 1 mysql adm 13823 2008-12-19 05:00 mysql-bin.000110 >-rw-rw---- 1 mysql adm 13823 2008-12-19 13:56 mysql-bin.000111 >-rw-rw---- 1 mysql adm 13823 2008-12-19 14:14 mysql-bin.000112 >-rw-rw---- 1 mysql adm 13804 2008-12-19 14:14 mysql-bin.000113 >-rw-rw---- 1 mysql adm 98 2008-12-19 14:31 mysql-bin.000114 >-rw-rw---- 1 mysql adm 98 2008-12-19 14:39 mysql-bin.000115 >-rw-rw---- 1 mysql adm 117 2008-12-19 14:53 mysql-bin.000116 >-rw-rw---- 1 mysql adm 13823 2008-12-19 15:08 mysql-bin.000117 >-rw-rw---- 1 mysql adm 13804 2008-12-19 15:13 mysql-bin.000118 >-rw-rw---- 1 mysql adm 98 2008-12-19 15:34 mysql-bin.000119 >-rw-r----- 1 mysql adm 311577 2008-12-19 15:34 mysql.log >-rw-rw---- 1 mysql adm 448 2008-12-19 15:34 mysql-bin.index >-rw-rw---- 1 mysql adm 98 2008-12-19 15:34 mysql-bin.000120 > >mysql-bin increased up to .000120. What does it indicate?Nothing really. the mysql-bin files are logs kept by Mysql. I don''t know the details, but they keep a history of all updates to the database and can be used in some recovery and replication situations. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fillers. Some available as e-books. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
--- Simon Hobson <linux@thehobsons.co.uk> wrote:> Stephen Liu wrote: > > >Started 2 consoles and ran (ls -ltr) alternatively. At the > beginning > >auth.log, syslog, kern.log and mail.info kept on changing position. > >After a while all became stable. But HD LED flashed from time to > time. > And did any one of those keep growing at a rapid rate ?At the beginning auth.log, syslog, kern.log and mail.info increase rapidly. But after a while they become stable.> Is any process using a lot of CPU ? (try ''top'')Yes "clamd" uses 99.6% cpu B.R. satimis> >I found; > > > ># ls -ltr /var/log/mysql > >total 584 > >-rw-r----- 1 mysql adm 70207 2008-12-05 06:19 mysql.log.1.gz > >-rw-rw---- 1 mysql adm 13823 2008-12-13 15:37 mysql-bin.000107 > >-rw-rw---- 1 mysql adm 13823 2008-12-18 16:27 mysql-bin.000108 > >-rw-rw---- 1 mysql adm 13823 2008-12-19 04:49 mysql-bin.000109 > >-rw-rw---- 1 mysql adm 13823 2008-12-19 05:00 mysql-bin.000110 > >-rw-rw---- 1 mysql adm 13823 2008-12-19 13:56 mysql-bin.000111 > >-rw-rw---- 1 mysql adm 13823 2008-12-19 14:14 mysql-bin.000112 > >-rw-rw---- 1 mysql adm 13804 2008-12-19 14:14 mysql-bin.000113 > >-rw-rw---- 1 mysql adm 98 2008-12-19 14:31 mysql-bin.000114 > >-rw-rw---- 1 mysql adm 98 2008-12-19 14:39 mysql-bin.000115 > >-rw-rw---- 1 mysql adm 117 2008-12-19 14:53 mysql-bin.000116 > >-rw-rw---- 1 mysql adm 13823 2008-12-19 15:08 mysql-bin.000117 > >-rw-rw---- 1 mysql adm 13804 2008-12-19 15:13 mysql-bin.000118 > >-rw-rw---- 1 mysql adm 98 2008-12-19 15:34 mysql-bin.000119 > >-rw-r----- 1 mysql adm 311577 2008-12-19 15:34 mysql.log > >-rw-rw---- 1 mysql adm 448 2008-12-19 15:34 mysql-bin.index > >-rw-rw---- 1 mysql adm 98 2008-12-19 15:34 mysql-bin.000120 > > > >mysql-bin increased up to .000120. What does it indicate? > > Nothing really. the mysql-bin files are logs kept by Mysql. I don''t > know the details, but they keep a history of all updates to the > database and can be used in some recovery and replication situations. > > -- > Simon Hobson > > Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed > author Gladys Hobson. Novels - poetry - short stories - ideal as > Christmas stocking fillers. Some available as e-books. > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >Send instant messages to your online friends http://uk.messenger.yahoo.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Stephen Liu wrote:> > Is any process using a lot of CPU ? (try ''top'') > >Yes "clamd" uses 99.6% cpuThen you need to figure out what is wrong with clamd ! Sorry, but I can''t help you there. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fillers. Some available as e-books. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
--- Simon Hobson <linux@thehobsons.co.uk> wrote:> Stephen Liu wrote: > > > > Is any process using a lot of CPU ? (try ''top'') > > > >Yes "clamd" uses 99.6% cpu > > Then you need to figure out what is wrong with clamd ! Sorry, but I > can''t help you there.Hi Simon, Problem solved as follow; # nano /etc/clamav/clamd.conf adding; PhishingScanURLs no # /etc/init.d/clamav-freshclam restart Stopping ClamAV virus database updater: freshclam. Starting ClamAV virus database updater: freshclam. # top clamd disappeared I think there is/are an email/emails on the server causing the phishing url check. I''ll delete all emails on this server later. I don''t have "clamscan" installed on this server Thanks again for your assistance. B.R. Stephen Send instant messages to your online friends http://uk.messenger.yahoo.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sat, Dec 20, 2008 at 09:57:02AM +0800, Stephen Liu wrote:> > Is any process using a lot of CPU ? (try ''top'') > Yes "clamd" uses 99.6% cpuYou use the clamd from Debian Etch? This version needs a lot of cpu time, several minutes, to read the current virus databases. No fix except using a newer version (either from Lenny or Etch/volatile). Bastian -- Sometimes a feeling is all we humans have to go on. -- Kirk, "A Taste of Armageddon", stardate 3193.9 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi Bastian, Thanks for your advice.> On Sat, Dec 20, 2008 at 09:57:02AM +0800, Stephen Liu wrote: > > > Is any process using a lot of CPU ? (try ''top'') > > Yes "clamd" uses 99.6% cpu > > You use the clamd from Debian Etch?# cat /etc/apt/sources.list # # /etc/apt/sources.list # etch # deb http://ftp.au.debian.org/debian/ etch main contrib non-free deb-src http://ftp.au.debian.org/debian/ etch main contrib non-free # Security updates # deb http://security.debian.org/ stable/updates main contrib non-free deb-src http://security.debian.org/ stable/updates main contrib non-free * end * Which package provides clamd? # which clamd /usr/sbin/clamd> This version needs a lot of cpu time, several minutes, to read the > current virus databases. No fix except using a newer version (either > from Lenny or Etch/volatile).Whether performing following steps to add volatile repo ? # ls /etc/apt/sources.list.d/ No printout # nano /etc/apt/sources.list.d/volatile.list adding following lines on the file; Volatile - http://www.debian.org/volatile/ deb http://ftp.uk.debian.org/debian-volatile etch/volatile main contrib non-free deb-src http://ftp.uk.debian.org/debian-volatile etch/volatile main contrib non-free Update the key for volatile repository by running; # wget -q http://www.debian.org/volatile/etch-volatile.asc -O- | apt-key add - Please advise. TIA B.R. satimis Send instant messages to your online friends http://uk.messenger.yahoo.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users