public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [hurd,commited] hurd: Increase SOMAXCONN to 4096
@ 2022-09-27 21:39 Samuel Thibault
  2022-09-28  7:48 ` Andreas Schwab
  0 siblings, 1 reply; 3+ messages in thread
From: Samuel Thibault @ 2022-09-27 21:39 UTC (permalink / raw)
  To: libc-alpha; +Cc: Samuel Thibault, commit-hurd

Notably fakeroot-tcp may introduce a lot of parallel connections.
---
 sysdeps/mach/hurd/bits/socket.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sysdeps/mach/hurd/bits/socket.h b/sysdeps/mach/hurd/bits/socket.h
index 70fce4fb27..4ece37f1dd 100644
--- a/sysdeps/mach/hurd/bits/socket.h
+++ b/sysdeps/mach/hurd/bits/socket.h
@@ -147,7 +147,7 @@ enum __socket_type
 #define	AF_MAX		PF_MAX
 
 /* Maximum queue length specifiable by listen.  */
-#define SOMAXCONN	128	/* 5 on the origional 4.4 BSD.  */
+#define SOMAXCONN	4096	/* 5 on the origional 4.4 BSD.  */
 
 /* Get the definition of the macro to define the common sockaddr members.  */
 #include <bits/sockaddr.h>
-- 
2.35.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [hurd,commited] hurd: Increase SOMAXCONN to 4096
  2022-09-27 21:39 [hurd,commited] hurd: Increase SOMAXCONN to 4096 Samuel Thibault
@ 2022-09-28  7:48 ` Andreas Schwab
  2022-09-28 17:23   ` Samuel Thibault
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Schwab @ 2022-09-28  7:48 UTC (permalink / raw)
  To: Samuel Thibault; +Cc: libc-alpha, bug-hurd, commit-hurd

On Sep 27 2022, Samuel Thibault wrote:

> Notably fakeroot-tcp may introduce a lot of parallel connections.
> ---
>  sysdeps/mach/hurd/bits/socket.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/sysdeps/mach/hurd/bits/socket.h b/sysdeps/mach/hurd/bits/socket.h
> index 70fce4fb27..4ece37f1dd 100644
> --- a/sysdeps/mach/hurd/bits/socket.h
> +++ b/sysdeps/mach/hurd/bits/socket.h
> @@ -147,7 +147,7 @@ enum __socket_type
>  #define	AF_MAX		PF_MAX
>  
>  /* Maximum queue length specifiable by listen.  */
> -#define SOMAXCONN	128	/* 5 on the origional 4.4 BSD.  */
> +#define SOMAXCONN	4096	/* 5 on the origional 4.4 BSD.  */

Perhaps fix the comment as well.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [hurd,commited] hurd: Increase SOMAXCONN to 4096
  2022-09-28  7:48 ` Andreas Schwab
@ 2022-09-28 17:23   ` Samuel Thibault
  0 siblings, 0 replies; 3+ messages in thread
From: Samuel Thibault @ 2022-09-28 17:23 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: libc-alpha, bug-hurd, commit-hurd

Andreas Schwab, le mer. 28 sept. 2022 09:48:33 +0200, a ecrit:
> On Sep 27 2022, Samuel Thibault wrote:
> 
> > Notably fakeroot-tcp may introduce a lot of parallel connections.
> > ---
> >  sysdeps/mach/hurd/bits/socket.h | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/sysdeps/mach/hurd/bits/socket.h b/sysdeps/mach/hurd/bits/socket.h
> > index 70fce4fb27..4ece37f1dd 100644
> > --- a/sysdeps/mach/hurd/bits/socket.h
> > +++ b/sysdeps/mach/hurd/bits/socket.h
> > @@ -147,7 +147,7 @@ enum __socket_type
> >  #define	AF_MAX		PF_MAX
> >  
> >  /* Maximum queue length specifiable by listen.  */
> > -#define SOMAXCONN	128	/* 5 on the origional 4.4 BSD.  */
> > +#define SOMAXCONN	4096	/* 5 on the origional 4.4 BSD.  */
> 
> Perhaps fix the comment as well.

Right, done so :)

Samuel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-09-28 17:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-27 21:39 [hurd,commited] hurd: Increase SOMAXCONN to 4096 Samuel Thibault
2022-09-28  7:48 ` Andreas Schwab
2022-09-28 17:23   ` Samuel Thibault

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).