Re: ORBIT-MT problem, clean-up process, CPU load 100 %
- From: Zulkarnaen Hatala <joe pinguind co id>
- To: Sebastian Wilhelmi <wilhelmi ira uka de>
- Cc: orbit-list gnome org
- Subject: Re: ORBIT-MT problem, clean-up process, CPU load 100 %
- Date: Mon, 26 Feb 2001 21:11:25 -0500 (EST)
On Mon, 26 Feb 2001, Sebastian Wilhelmi wrote:
> > And one more thing .. that .. after client exit.. my CPU load raise to
> > almost 100% used bye 'lt-server' process all the time,until i killed
>> the
> > server ..
>
> Hm, I have no idea, why that happens. Can you give further evidence, what
> going wrong. It works as expected here.
Hmm ... I found it happened also for simple
echo-server/echo- client in $ORBIT_PREFIX_DIR/test
may i show you some commands and the result ..on my box .
bash# pwd
/root/ORBit-mt-0.5.7/test
bash# ./echo-server > echo.ior &
[1] 8868
bash# ps ax | grep server
8868 pts/5 S 0:00 lt-echo-server
8883 pts/5 S 0:00 grep server
(then i execute echo-client ...)
bash# ./echo-client `cat echo.ior `
time elapsed:0.011061 seconds.
bash#
now i doing "top" in other window while echo-server still running
.the result of top below ..
PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME COMMAND
8868 root 18 0 1144 1144 940 R 0 99.4 0.4 2:32 lt-echo-server
786 root 9 0 36756 35M 1984 R 0 0.1 14.4 0:06 X
Did something wrong ...
can You see lt-echo-server still has "R" state,even client has
exited ..
Here what i got with sample in $ORBIT_PREFIX_DIR/multithread
bash# pwd
/root/ORBit-mt-0.5.7/test/multithread
bash# ./server > cal.ior &
[2] 8934
bash# ps ax | grep server
8868 pts/5 R 16:00 lt-echo-server
8934 pts/5 S 0:00 lt-server
8952 pts/5 S 0:00 lt-server
8953 pts/5 S 0:00 lt-server
bash# ./client `cat cal.ior `
now calculating 880 x 506 for 4 seconds.
now calculating 309 x 280 for 9 seconds.
now calculating 937 x 552 for 1 seconds.
now calculating 34 x 624 for 5 seconds.
now calculating 253 x 848 for 8 seconds.
now calculating 25 x 265 for 6 seconds.
now calculating 391 x 723 for 1 seconds.
...
...
(till exited)
in another window of top show this ..
PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME COMMAND
8868 root 16 0 1144 1144 940 R 0 49.3 0.4 18:03 lt-echo-server
8953 root 16 0 1216 1216 964 R 0 49.3 0.4 1:15 lt-server
Can You see .. two process is dominating the CPU ..
DO i Miss something ..
Hopely things clear soon ..
--note
I'M using glib version 1.2.8
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]