public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: "Sergey S. Kostyliov" <rathamahata@php4.ru>
Cc: linux-kernel@vger.kernel.org, anton@megashop.ru
Subject: Re: 2.6.1 IO lockup on SMP systems
Date: Sat, 21 Feb 2004 11:30:44 -0800	[thread overview]
Message-ID: <20040221113044.7deb60b9.akpm@osdl.org> (raw)
In-Reply-To: <200402211945.21837.rathamahata@php4.ru>

"Sergey S. Kostyliov" <rathamahata@php4.ru> wrote:
>
> Hello Andrew,
> 
> On Sunday 01 February 2004 03:17, Andrew Morton wrote:
> > "Sergey S. Kostyliov" <rathamahata@php4.ru> wrote:
> > >
> > > I had experienced a lockups on three of my servers with 2.6.1. It doesn't
> > >  look like a deadlock, the box is still pingable and all tcp ports which were
> > >   in listen state before a lockup are remains in listen state, but I can't get
> > >  any data from this ports. According to sar(1) systems had not been overloaded
> > >  right before a lockup. And there is no log entries in all user services logs
> > >  for almost 10 hours after lockup.
> > 
> > Please ensure that CONFIG_KALLSYMS is enabled, then generate an all-tasks
> > backtrace or a locked machine with sysrq-T or `echo t >
> > /proc/sysrq-trigger'.  Then send us the resulting trace.
> 
> I've just reproduced this lockup with 2.6.3.
> 
> > 
> > You may need a serial console to be able to capture all the output.
> > 
> > Also, it would be useful to know what sort of load the machines are under,
> > and what filesystems are in use.
> 
> The machine is a http server. The main applications are:
> 1) apache 1.3 which serves php pages (mod_php):
> 	 15.3 requests/sec - 111.9 kB/second - 7.3 kB/request
> 	 54 requests currently being processed, 19 idle servers
> 2) mysql:
> 	Threads: 19  Questions: 26922012  Slow queries: 9799  Opens: 64980
> 	Flush tables: 1  Open tables: 630  Queries per second avg: 143.547
> 
> This is an IO bound machine in general. All filesystems are reiserfs.
> 
> Here is a sysrq-T output obtained from a locked box via serail console:

OK, so everything is stuck trying to allocate memory.  Perhaps you ran out
of swapspace, or some process has gone berzerk allocating memory.

How much memory does the machine have, and how much swap space?

I suggest that you run a `vmstat 30' trace on a terminal somewhere, see what
it says prior to the hangs.  Also capture the sysrq-M output after it has
hung.

It would be useful to monitor the contents of /proc/vmstat also.

And perhaps keep top running in `sort by memory usage' mode.

  reply	other threads:[~2004-02-21 19:30 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-31 16:40 2.6.1 IO lockup on SMP systems Sergey S. Kostyliov
2004-02-01  0:17 ` Andrew Morton
2004-02-21 16:45   ` Sergey S. Kostyliov
2004-02-21 19:30     ` Andrew Morton [this message]
2004-02-22 17:39       ` Alexander Y. Fomichev
2004-02-23 17:27         ` Sergey S. Kostyliov
2004-02-23 21:30           ` Mike Fedyk
2004-02-24 11:56             ` Sergey S. Kostyliov
2004-02-23 22:26           ` Andrew Morton
2004-02-24  7:23             ` Marcelo Tosatti
2004-02-24  6:53               ` Andrew Morton
2004-02-24 11:54             ` Sergey S. Kostyliov
2004-02-26 12:19               ` Sergey S. Kostyliov
2004-02-26 12:53                 ` Andrew Morton
2004-02-26 13:11                   ` Andrew Morton
2004-02-26 14:37                     ` Dave Jones
2004-02-26 15:37                       ` Arjan van de Ven
2004-02-26 14:30                   ` Sergey S. Kostyliov
2004-02-26 20:03                     ` Andrew Morton
2004-02-28 14:56                       ` Sergey S. Kostyliov
2004-04-08  9:08                         ` 2.6.X kernel memory leak? (was: Re: 2.6.1 IO lockup on SMP systems) Sergey S. Kostyliov
2004-04-09  7:17                           ` 2.6.X kernel memory leak? Sergey S. Kostyliov
2004-04-09  9:09                             ` Andrew Morton
2004-04-09 12:15                               ` Sergey S. Kostyliov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040221113044.7deb60b9.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=anton@megashop.ru \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rathamahata@php4.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox