View previous topic :: View next topic |
Author |
Message |
Qubax Guru
Joined: 19 Jul 2002 Posts: 451 Location: Tirol, Austria
|
Posted: Tue Apr 08, 2003 7:49 pm Post subject: [unsolved] having [named] 5 times at ps |
|
|
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 |
|
|
kashani Advocate
Joined: 02 Sep 2002 Posts: 2032 Location: San Francisco
|
Posted: Tue Apr 08, 2003 10:38 pm Post subject: |
|
|
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 |
|
|
Qubax Guru
Joined: 19 Jul 2002 Posts: 451 Location: Tirol, Austria
|
Posted: Wed Apr 09, 2003 8:53 am Post subject: |
|
|
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 |
|
|
de4d Apprentice
Joined: 12 Sep 2002 Posts: 181 Location: fr. i. br. (ger)
|
Posted: Wed Apr 09, 2003 9:35 am Post subject: |
|
|
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 |
|
|
kashani Advocate
Joined: 02 Sep 2002 Posts: 2032 Location: San Francisco
|
Posted: Wed Apr 09, 2003 8:41 pm Post subject: number of processes |
|
|
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 |
|
|
Qubax Guru
Joined: 19 Jul 2002 Posts: 451 Location: Tirol, Austria
|
Posted: Thu Apr 10, 2003 6:37 am Post subject: |
|
|
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 |
|
|
|