https://issues.apache.org/bugzilla/show_bug.cgi?id=50261

--- Comment #12 from Charles Jardine <[email protected]> 2012-03-28 07:49:03 UTC 
---
(In reply to comment #11)
> Hi,
> 
> Has anyone found a fix for this, the Graceful being stuck in G in 
> server-status
> please?  I really want to start upgrading my apache and we only do graceful
> restarts.
> 
> thanks

There is a workaround which I have found satisfactory. I have
the following lines in my configuration file:


  # The default setting of AcceptMutex is dependent on both
  # platform and version. For Solaris on 2.0 it was 'fcntl'.
  # In versions 2.2.16 and 17 the default is 'pthread', which
  # promises better performance. However, it doesn't work if there
  # is more than one Listen directive. See CJJ's bug at
  # https://issues.apache.org/bugzilla/show_bug.cgi?id=50261.
  # The following directive makes no change for 2.0 and
  # circumvents the bug for 2.2.

  AcceptMutex fcntl

  # LockFile is needed - /var/run is a good place. Docs say
  # 'The PID of the main server process is automatically
  # appended to the filename', so we can use the same name for
  # all instances. Note, the lock files are invisible when
  # the server is running - presumably unlinked.

  LockFile /var/run/httpd.lock

I have not noticed any performance problems caused by this. I would
like to suggest that, if the bug is not to be fixed, the default for
AcceptMutex for Solaris should be changed back to 'fnctl'.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to