[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Frequent system crash -- with gcc3.2 (?)



On Mon, Mar 10, 2003 at 06:17:32PM +0000, Oliver Elphick wrote:
[snip]
> I notice that the process is marked as running.  However I believe that
> this is false, because there are 2 other processes running (on a 2
> processor system) and I believe that there cannot be more than one per
> processor.  (Is that correct?):

No, when STAT is marked "R", it just means that the process is on the
ready-to-run queue in the process scheduler. Also keep in mind that top or
ps may be task-switched between retrieving the info for one process and
the info for the next, depending on whether it's making multiple syscalls.
So what you see may not be a true, instantaneous process snapshot.

> F   UID   PID  PPID PRI  NI   VSZ  RSS WCHAN  STAT TTY        TIME COMMAND
> 0  1000 10112  1671  14   0  3272 1380 -      R    pts/2      0:00  |   \_ ps axfl
> 0  1000 10113  1671  13   0  1284  416 pipe_w S    pts/2      0:00  |   \_ grep  R
> 0  1000  9913     1   9   0 15988 14456 -     R    ?          0:02 /usr/lib/gcc-lib/i386-linux/3.2.3/cc1 -lang-c -I../../../src/interfaces/libpq -I../../../src/include -I/usr/include/tcl8.4 -D__GNUC__=3 -D__GNUC_MINOR__=2 -D__GNUC_PATCHLEVEL__=3 -D__GXX_ABI_VERSION=102 -D__ELF__ -Dunix -D__gnu_linux__ -Dlinux -D__ELF__ -D__unix__ -D__gnu_linux__ -D__linux__ -D__unix -D__linux -Asystem=posix -D__OPTIMIZE__ -D__STDC_HOSTED__=1 -Acpu=i386 -Amachine=i386 -Di386 -D__i386 -D__i386__ -D__tune_i386__ -DBINDIR="/usr/lib/postgresql/bin" pg_dump.c -quiet -dumpbase pg_dump.c -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -o /tmp/ccsCFqfh.s
[snip]


T

-- 
That's not a bug; that's a feature!



Reply to: