Donations
|
If you wish to make a donation you can by clicking the image below.
|
|
|
|
3rd March, 2005, 06:42 PM
|
Forum Newcomer
|
|
Join Date: Mar 2005
Posts: 3
|
|
2 ucc-bin processes for 1 server?
Hello,
i setup a linux-server with ut2004-dedicatedserver-3339.
When starting the server with ucc-bin server [game/type] the server starts normally and it spawns second instance of itself.
So i have 2 ucc-bin in processlist.
I wonder if this a normal behaviour.
11652 pts/2 S< 0:24 ucc-bin server DM-DE-Osiris2?...
11655 pts/2 S< 0:00 ucc-bin server DM-DE-Osiris2?...
TIA.
|
3rd March, 2005, 07:04 PM
|
|
Administrator
|
|
Join Date: Oct 2002
Location: Netherlands
Posts: 823
|
|
yes, the 2nd process hardly does anything. It's only use for non-blocking DNS lookups (needed to reslove hostnames for the masterserver and stuff.)
__________________
|
3rd March, 2005, 07:43 PM
|
Forum Newcomer
|
|
Join Date: Mar 2005
Posts: 3
|
|
thx for the response.
|
29th March, 2005, 11:46 AM
|
Forum Newcomer
|
|
Join Date: Mar 2005
Posts: 2
|
|
Code:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
11399 g1 15 0 173m 112m 6220 S 0.0 11.2 1:52.56 ucc-bin
11424 g1 16 0 173m 112m 6220 S 0.0 11.2 0:00.00 ucc-bin
11667 g3 15 0 152m 95m 5848 S 0.0 9.5 0:20.72 ucc-bin
11670 g3 16 0 152m 95m 5848 S 0.0 9.5 0:00.00 ucc-bin
11445 g2 15 0 140m 82m 5688 S 0.0 8.2 1:17.71 ucc-bin
11447 g2 16 0 140m 82m 5688 S 0.0 8.2 0:00.00 ucc-bin
Hardly does nothing and yet doubles the memory used. What a waste, that is really bad!
|
29th March, 2005, 11:54 AM
|
|
Holy Shit!!
|
|
Join Date: Jun 2003
Location: .gif
Posts: 584
|
|
Quote:
Originally Posted by dalfz
Hardly does nothing and yet doubles the memory used. What a waste, that is really bad!
|
It doesn't use double the memory, it's a CoW image so all static data and text segments are shared.
|
29th March, 2005, 12:05 PM
|
|
Administrator
|
|
Join Date: Oct 2002
Location: Netherlands
Posts: 823
|
|
It would be a waste if it was actually true.
Threads share memory space, processes don't. Threads only have their own process time. So in the `ps` listing you will always see the same ammouth of memory being used by all threads of a process.
__________________
|
31st March, 2005, 08:36 PM
|
|
Rampage
|
|
Join Date: Jul 2004
Location: Atlanta, GA
Posts: 69
|
|
Use the -m or -f switches to see a better representation of the processes. Particularly -f.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
All times are GMT +1. The time now is 07:11 PM.