RE: CPU utilization problem with 0.5.7-mt



Hi Sebastian,

Here is the output from the gdb :

(gdb) info threads
* 4 Thread 7729  0x400b68fe in sigsuspend () from /lib/libc.so.6
  3 Thread 7722  0x4014fd90 in poll () from /lib/libc.so.6
  2 Thread 7719 (initial thread)  0x400b68fe in sigsuspend ()
   from /lib/libc.so.6
  1 Thread 7721 (manager thread)  0x4014fd90 in poll () from
/lib/libc.so.6

/******* The thread# 3 (7722) is consuming almost 100% of CPU. *****/

(gdb) thread 3
[Switching to thread 3 (Thread 7722)]
#0  0x4014fd90 in poll () from /lib/libc.so.6
(gdb) bt
#0  0x4014fd90 in poll () from /lib/libc.so.6
#1  0x401b1cf9 in g_main_is_running () from /usr/lib/libglib-1.2.so.0
#2  0x401b16ad in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#3  0x401b1a5c in g_main_run () from /usr/lib/libglib-1.2.so.0
#4  0x4007b9ce in giop_main () at giop-connection.c:381
#5  0x4005b804 in CORBA_ORB_run (orb=0x804c830, ev=0xbf7ffaf0) at
server.c:59
#6  0x4004e540 in CORBA_ORB_run_proxy (orb_data=0x804c830) at orb.c:276
#7  0x40069ed5 in g_thread_create_proxy (data=0x804eef8)
    at orbit_thread_support.c:66
#8  0x401ca065 in pthread_start_thread () from /lib/libpthread.so.0


Any clues ?

Thanks,
Saket.


-----Original Message-----
From: orbit-list-admin gnome org [mailto:orbit-list-admin gnome org]On
Behalf Of Sebastian Wilhelmi
Sent: Monday, April 09, 2001 7:16 AM
To: orbit-list gnome org; Bagade, Saket
Subject: Re: CPU utilization problem with 0.5.7-mt


Hi Saket,

> I tried the calculator program in ORBit-mt-0.5.7/test/multithread.
> There is no problem when the server is started. The client also
> gets the proper calculated numbers from the server. But as soon as
> the client exits, the CPU utilization of the machine becomes almost
> 100% (which is because of the calculator-server).
> 
> I have seen a similar problem in the mailing list earlier. But that
> was because of old C-library (libc5), I guess.
> 
> I am using libc6, libglib1.2 and libgthread1.2.
> 
> Your help will be really appreciated.

Could you try to run the server in gdb and tell me, where it spends all
the
time. I can not reproduce this behaviour here.

Thanks,
Sebastian
-- 
Sebastian Wilhelmi
mailto:wilhelmi ira uka de
http://goethe.ira.uka.de/~wilhelmi

_______________________________________________
orbit-list mailing list
orbit-list gnome org
http://mail.gnome.org/mailman/listinfo/orbit-list




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