From: Daniel Stekloff <dsteklof@us.ibm.com>
To: Bill Davidsen <davidsen@tmr.com>, aathan-linux-kernel-1542@cloakmail.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: Consistent kernel hang during heavy TCP connection handling load
Date: Thu, 30 Sep 2004 11:18:14 -0700 [thread overview]
Message-ID: <1096568294.2515.47.camel@DYN319619.beaverton.ibm.com> (raw)
In-Reply-To: <cjhc2d$5na$1@gatekeeper.tmr.com>
On Thu, 2004-09-30 at 09:34, Bill Davidsen wrote:
> Andrew A. wrote:
> > Jan,
> >
> > Thanks for responding. When I got no responses, I searched for ways to get more data out of the kernel--I must say that it has been
> > quite a journey to identify what is working, where to get it, and how to install it when it comes to kernel
> > debugging/crash-data-gathering tools. LKCD for example, is not available at the location you'll eventually arrive at if you search
> > for it in google ... it's not obvious what it's state is (current/defunct/superceded), there's KDB, KGDB, netdump, netconsol,
> > netlog, diskdump (conusingly known as lkdump) etc. etc. And then, even if you do figure out what tools are current, you then have
> > to match the tool to the particular kernel version you are running -- which can be a task and a half unto itself.
> >
> > Is diskdump available for 2.4? Can anyone comment on the choice of tools below?
> >
> > Anyway, I have also done all of the following:
> >
> > (1) Enabled netdump/netconsole on 2.6.8.1-521 Fedora Core kernel, after first fixing the startup scripts. Fixes can be found at
> > www.memeplex.com/Linux.html Note that after I also fixed crash.c to be a 2.6 compliant kernel module, and loading it to test
> > netdump, I always end up with a vmcore-incomplete image approx 45k in size, on the netdump-server. Can anyone tell me if this is
> > absurdly small, and if so, what might be the solution? The client box always reboots so I suspect too-small timeouts are the issue.
>
> My experience is 100% with RH kernels, but the dump should be about
> memory size, in my case 2.5G or 4G and it is. But I did see hangs which
> resulted in the size you mention, a few k and hang.
Yep, the vmcore should be around the size of the memory on the dumping
system. The size is too small and vmcore-incomplete wasn't made into
vmcore, so it's incomplete.
Do you have access to making a new kernel? Here's a fix that I think
will help. This will speed things up and help with the timeout issues.
drivers/net/netdump.c :
1) Initialize jiffy_cyles to 1000 * (1000000/HZ) -
-static unsigned long long t0, jiffy_cycles;
+static unsigned long long t0, jiffy_cycles = 1000 * (1000000/HZ);
2) Change prev_jiffies from an "int" to an "unsigned long" in
print_status() function -
- static int prev_jiffies = 0;
+ static unsigned long prev_jiffies = 0;
Let me know if this helps,
Thanks,
Dan
prev parent reply other threads:[~2004-09-30 18:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-22 19:17 Consisten " Andrew A.
2004-09-24 0:05 ` Consistent " Andrew A.
2004-09-26 17:42 ` Jan Kara
2004-09-26 21:33 ` Andrew A.
2004-09-27 8:24 ` Jan Kara
2004-09-27 13:15 ` Andrew A.
2004-09-27 13:33 ` Jan Kara
2004-09-30 16:34 ` Bill Davidsen
2004-09-30 18:18 ` Daniel Stekloff [this message]
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=1096568294.2515.47.camel@DYN319619.beaverton.ibm.com \
--to=dsteklof@us.ibm.com \
--cc=aathan-linux-kernel-1542@cloakmail.com \
--cc=davidsen@tmr.com \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®