Gentoo Archives: gentoo-server

From: Eduardo Tongson <propolice@×××××.com>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] Server lockups (still ping) (OT because not Gentoo-specific?)
Date: Sun, 24 Apr 2005 18:23:13
Message-Id: b18fbe3c0504241123fb182eb@mail.gmail.com
In Reply to: Re: [gentoo-server] Server lockups (still ping) (OT because not Gentoo-specific?) by Casey Allen Shobe - SeattleServer Mailing Lists
1 > Nothing. The logs simply stop when the machine does and are no longer written
2 > even though the kernel is operable enough to respond to pings and initiate
3 > TCP sessions.
4
5 You could certainly encounter this too when the machine's load shoots to the
6 roof or one of the running programs is vehemently leaking memory.
7 When trying to log in via ssh, wait for a few minutes for the prompt
8 or response to
9 come up. Most of the time it takes a while for the kernel to kill the
10 misbehaving
11 process.
12
13 BTW just in case its a load issue, this patch to kernel/fork.c could help
14
15 @@ -119,7 +119,7 @@ void __init fork_init(unsigned long memp
16 * value: the thread structures can take up at most half
17 * of memory.
18 */
19 - max_threads = mempages / (8 * THREAD_SIZE / PAGE_SIZE);
20 + max_threads = mempages / (16 * THREAD_SIZE / PAGE_SIZE);
21
22 /*
23 * we need to allow at least 20 threads to boot a system
24
25
26 > Linux 2.6.11-hardened-r1 #3 SMP Tue Apr 12 07:22:52 UTC 2005 i686 Intel(R)
27 > Xeon(TM) CPU 2.40GHz GenuineIntel GNU/Linux
28 > Portage 2.0.51.19 (hardened/x86/2.6, gcc-3.3.5-20050130,
29 > glibc-2.3.4.20041102-r1, 2.6.11-hardened-r1 i686)
30 >
31 > ......
32 >
33 > Linux 2.4.20-24.9smp #1 SMP Mon Dec 1 11:25:17 EST 2003 i686 i686 i386
34 > GNU/Linux
35 > glibc-2.3.2-4.80.8
36 > Red Hat Linux release 8.0 (Psyche)
37 >
38 > Linux 2.6.11-hardened #3 SMP Sat Apr 23 09:04:51 UTC 2005 x86_64 AMD
39 > Opteron(tm) Processor 250 AuthenticAMD GNU/Linux
40 > Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3,
41 > glibc-2.3.4.20041102-r1, 2.6.11-hardened x86_64)
42 >
43 > Linux 2.6.11-hardened-r1 #3 Tue Apr 12 07:26:56 UTC 2005 i686 Pentium III
44 > (Coppermine) GenuineIntel GNU/Linux
45 > Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
46 > glibc-2.3.4.20041102-r1, 2.6.11-hardened-r1 i686)
47
48 I would have speculated this being a probable issue with one of the
49 hardened-patches applied to the kernel but seeing redhat with linux
50 2.4 there hmmm
51 Are they by any chance all running the same programs/services?
52
53
54 --
55 Eduardo Tongson
56 <pornadmin.net/~tongson>
57
58 --
59 gentoo-server@g.o mailing list

Replies

Subject Author
Re: [gentoo-server] Server lockups (still ping) (OT because not Gentoo-specific?) Joby Walker <zorloc@××××××××.org>