You are an unregistered user, you can register here
Navigation

Information

Site

Donations
If you wish to make a donation you can by clicking the image below.


 
Go Back   The Unreal Admins Page > Forums > Unreal Admins > Unreal Tournament 2003/2004 > UT2003/4 Server - Linux Specific

Reply
Thread Tools Display Modes
  #1  
Unread 3rd March, 2005, 06:42 PM
th0u th0u is offline
Forum Newcomer
 
Join Date: Mar 2005
Posts: 3
Default 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.
Reply With Quote
  #2  
Unread 3rd March, 2005, 07:04 PM
elmuerte's Avatar
elmuerte elmuerte is offline
Administrator
 
Join Date: Oct 2002
Location: Netherlands
Posts: 823
Default

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.)
__________________
Reply With Quote
  #3  
Unread 3rd March, 2005, 07:43 PM
th0u th0u is offline
Forum Newcomer
 
Join Date: Mar 2005
Posts: 3
Default

thx for the response.
Reply With Quote
  #4  
Unread 29th March, 2005, 11:46 AM
dalfz dalfz is offline
Forum Newcomer
 
Join Date: Mar 2005
Posts: 2
Default

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!
Reply With Quote
  #5  
Unread 29th March, 2005, 11:54 AM
Naked_Ape's Avatar
Naked_Ape Naked_Ape is offline
Holy Shit!!
 
Join Date: Jun 2003
Location: .gif
Posts: 584
Default

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.
Reply With Quote
  #6  
Unread 29th March, 2005, 12:05 PM
elmuerte's Avatar
elmuerte elmuerte is offline
Administrator
 
Join Date: Oct 2002
Location: Netherlands
Posts: 823
Default

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.
__________________
Reply With Quote
  #7  
Unread 31st March, 2005, 08:36 PM
jsumners's Avatar
jsumners jsumners is offline
Rampage
 
Join Date: Jul 2004
Location: Atlanta, GA
Posts: 69
Default

Use the -m or -f switches to see a better representation of the processes. Particularly -f.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:11 PM.


 

All pages are copyright The Unreal Admins Page.
You may not copy any pages without our express permission.