You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Harald Falkenberg <ha...@desy.de> on 2010/07/03 11:50:04 UTC

Re: [users@httpd] strange behaviour during httpd start: chown operation 1 pro second

Hello,

yes, I'm using NIS. - How can I find out, if NIS is really the problem? I 
studied the system calls via truss, but could not determine that NIS is a 
problem here. Maybe I have overseen something.

How did you worked around this problem?

regards
  	Harald


On Sat, 3 Jul 2010, Eric Covener wrote:

> On Fri, Jul 2, 2010 at 5:50 PM, Harald Falkenberg
> <ha...@desy.de> wrote:
>> Hello,
>>
>> I'm using apache server 1.3.41 on a solaris 10 system (x86). in httpd.conf I
>> set:
>>        ...
>>        MinSpareServers 10
>>        MaxSpareServers 90
>>        StartServers 90
>>        MaxClients 90
>>        ...
>>
>> When starting apache via 'apachectl start' I see that these 90 processes
>> were started quite immediately, but it took almost 1,5 minuts before each of
>> the child processes changed their owner from root to another  local user.
>>
>> it is also suspicous, that when studying the ps output, that between each
>> change of owner for a further child process, a period of 1 second seemed
>> always be used.
>
>
> Are you using NIS or LDAP on your system?  The only hang in this
> neighborhood I've ever seen was when LDAP was used for groups and
> getgroups() would take seconds.
>
> -- 
> Eric Covener
> covener@gmail.com
>