You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
2.0 KiB

  1. From b4fca5dbf0cfe887b88d6213b014e2f73e02a5e6 Mon Sep 17 00:00:00 2001
  2. From: Willy Tarreau <w@1wt.eu>
  3. Date: Tue, 8 Jul 2014 00:37:50 +0200
  4. Subject: [PATCH 19/21] DOC: explicitly mention the limits of abstract
  5. namespace sockets
  6. Listening to an abstract namespace socket is quite convenient but
  7. comes with some drawbacks that must be clearly understood when the
  8. socket is being listened to by multiple processes. The trouble is
  9. that the socket cannot be rebound if a new process attempts a soft
  10. restart and fails, so only one of the initially bound processes
  11. will still be bound to it, the other ones will fail to rebind. For
  12. most situations it's not an issue but it needs to be indicated.
  13. (cherry picked from commit 70f72e0c90691c72cb72306b718f785902270015)
  14. ---
  15. doc/configuration.txt | 8 +++++++-
  16. 1 file changed, 7 insertions(+), 1 deletion(-)
  17. diff --git a/doc/configuration.txt b/doc/configuration.txt
  18. index fcc6454..73195ba 100644
  19. --- a/doc/configuration.txt
  20. +++ b/doc/configuration.txt
  21. @@ -1791,7 +1791,13 @@ bind /<path> [, ...] [param*]
  22. - 'ipv4@' -> address is always IPv4
  23. - 'ipv6@' -> address is always IPv6
  24. - 'unix@' -> address is a path to a local unix socket
  25. - - 'abns@' -> address is in abstract namespace (Linux only)
  26. + - 'abns@' -> address is in abstract namespace (Linux only).
  27. + Note: since abstract sockets are not "rebindable", they
  28. + do not cope well with multi-process mode during
  29. + soft-restart, so it is better to avoid them if
  30. + nbproc is greater than 1. The effect is that if the
  31. + new process fails to start, only one of the old ones
  32. + will be able to rebind to the socket.
  33. - 'fd@<n>' -> use file descriptor <n> inherited from the
  34. parent. The fd must be bound and may or may not already
  35. be listening.
  36. --
  37. 1.8.5.5