Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[unsolved] having [named] 5 times at ps
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Qubax
Guru
Guru


Joined: 19 Jul 2002
Posts: 451
Location: Tirol, Austria

PostPosted: Tue Apr 08, 2003 7:49 pm    Post subject: [unsolved] having [named] 5 times at ps Reply with quote

can someone explain to me,why i see 5 named processes named in ps, because there should be only one started.
i recognized it today, few days ago, i alsways saw just one process running and haven't changed any configs


Last edited by Qubax on Mon May 12, 2003 8:20 pm; edited 1 time in total
Back to top
View user's profile Send private message
kashani
Advocate
Advocate


Joined: 02 Sep 2002
Posts: 2032
Location: San Francisco

PostPosted: Tue Apr 08, 2003 10:38 pm    Post subject: Reply with quote

This is because BIND 9 is multi-threaded and should start mutiple processes if it detects more than one CPU.

I too noticed that the usual single process is now the 5. I did change the config to use 2 CPU's which it wasn't picking up automatically. There was also a bind ebuild update recently which may have turned on the multi threading. Does you box have mutiple CPU's?

kashani
_________________
Will personally fix your server in exchange for motorcycle related shop tools in good shape.
Back to top
View user's profile Send private message
Qubax
Guru
Guru


Joined: 19 Jul 2002
Posts: 451
Location: Tirol, Austria

PostPosted: Wed Apr 09, 2003 8:53 am    Post subject: Reply with quote

no, just one cpu, and this is configured in /etc/conf.d/named (if i remember right).
did you change to number there, or somewhere else?
Back to top
View user's profile Send private message
de4d
Apprentice
Apprentice


Joined: 12 Sep 2002
Posts: 181
Location: fr. i. br. (ger)

PostPosted: Wed Apr 09, 2003 9:35 am    Post subject: Reply with quote

IIRC several (default? 5) bind processes are intended to speed up things. each request is handled by a seperate process (security, whatever) and spawned *before* the request is being made, so its already in memory.

this # of processes has nothing to do with en/disabled multiCPU support...
_________________
void main(){fork();main();}
Back to top
View user's profile Send private message
kashani
Advocate
Advocate


Joined: 02 Sep 2002
Posts: 2032
Location: San Francisco

PostPosted: Wed Apr 09, 2003 8:41 pm    Post subject: number of processes Reply with quote

Odd. I have one machine running 5 processes and one running a single process, both using the same bind ebuild.

kashani
_________________
Will personally fix your server in exchange for motorcycle related shop tools in good shape.
Back to top
View user's profile Send private message
Qubax
Guru
Guru


Joined: 19 Jul 2002
Posts: 451
Location: Tirol, Austria

PostPosted: Thu Apr 10, 2003 6:37 am    Post subject: Reply with quote

i don't find a reason, why he should start 5 processes,
Quote:
IIRC several (default? 5)
and i can't find a way to change it
are there some suggestions?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum