lkml.org 
[lkml]   [1999]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectISSUE: High disk activity when starting gdb on a C++ program
From
Date
[1.]
High disk activity when starting gdb on a C++ program

[2.] Full description of the problem/report:

I have a C++ program, which when run normally causes no
abnormality. However, upon trying to debug it, incredible high disk
activity occurs, and the kernel reports the following through syslogd:

[..cut..]
Jan 11 10:50:53 agnesi kernel: Process: FCM (stack=c5c45ef0, task=c5c44000)
Jan 11 10:50:53 agnesi kernel: [<c0108545>] [<c011b21c>] [<c010e3a4>] [<c011b2db>] [<c010e532>] [<c010e72d>] [<c0108d5b>] [<c01088b5>] [<c01087f8>]
Jan 11 10:50:53 agnesi kernel: [<c0108545>] [<c011b21c>] [<c010e3a4>] [<c011b2db>] [<c010e532>] [<c010e72d>] [<c0108d5b>] [<c01088b5>] [<c01087f8>]
Jan 11 10:50:53 agnesi kernel: Process: FCM (stack=c5c45ef0, task=c5c44000)
Jan 11 10:50:53 agnesi kernel: Process: FCM (stack=c5c45ef0,
task=c5c44000)
[..cut...]

A LOT of it.

This disk activity comes when gdb is started, and stops after
awhile. After that gdb runs normally and everythings seems ok.

Xosview reports paging activity during the happening.

[3.] Keywords (i.e., modules, networking, kernel):

gdb, disk activity, paging, "ticking" harddrive

[4.] Kernel version (from /proc/version):

Linux version 2.2.0-pre6 (root@agnesi.nasl.t.u-tokyo.ac.jp) (gcc version egcs-2.
91.60 19981201 (egcs-1.1.1 release)) #1 Sat Jan 9 15:42:43 JST 1999

[6.] A small shell script or example program which triggers the
problem (if possible)

Starting gdb to debug a (mine) C++ program


[7.] Environment

I am running a Pentium II 400, with 128 MB RAM and a 6G HD (IDE) (from
Gateway 2000). Lot's of applications running under KDE. The memory is
farily full, but this kind of "swapping" never occured on 2.0.x
kernels, even with the otherwise same setup.

[7.1.] Software (add the output of the ver_linux script here)

Linux agnesi.nasl.t.u-tokyo.ac.jp 2.2.0-pre6 #1 Sat Jan 9 15:42:43 JST 1999 i686 unknown
Kernel modules found
Gnu C egcs-2.91.60
Binutils 2.9.1.0.15
Linux C Library 2.0.7
Dynamic linker ldd (GNU libc) 2.0.7
Linux C++ Library 2.9.0
Procps 1.2.9
Mount 2.7l
Net-tools 1.33
Kbd 0.94
Sh-utils 1.16

[7.2.] Processor information (from /proc/cpuinfo):

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 5
model name : Pentium II (Deschutes)
stepping : 1
cpu MHz : 398.276917
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
sep_bug : no
f00f_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat p
se36 mmx osfxsr
bogomips : 397.31



[7.3.] Module information (from /proc/modules):

[nothing from 'more /proc/modules']

[7.4.] SCSI information (from /proc/scsi/scsi)

Attached devices:
Host: scsi0 Channel: 00 Id: 03 Lun: 00
Vendor: HP Model: HP35480A Rev: T603
Type: Sequential-Access ANSI SCSI revision: 02



Hope this can help the forthcoming Linux 2.2.0 to stabalize. Fell free
to email me for more info.

My apologize if this is a known problem that has been resolved
allready.

Kind regards,

~ Hav.
____________________________________________________________________________
o
Havard Bell
Dept. of Environmental & Ocean Engineering
The University of Tokyo
7-3-1 Hongo, Bunkyo-ku, Phone: +81-3-3812 2111 ext. 6553
113-8654 TOKYO Fax : +81-3-3815 8360
JAPAN email: HBell@glacialis.no
____________________________________________________________________________


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.094 / U:0.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site