From: Dan Kegel <dank@kegel.com>
To: Pete Marvin King <pmking@ntsp.nec.co.jp>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: re: socket problem
Date: Thu, 23 Aug 2001 21:36:57 -0700 [thread overview]
Message-ID: <3B85D9E9.7BF8415C@kegel.com> (raw)
> Is it possible to increase the maximum sockets that can be opened
> simultaneously?
> I'd like it to reach 1024, is it possible?
>
> I'm currently doing a stress test on postgres. we created a dummy
> client that would connect to it 1024 times. But is just stops at 324,
> postgres reports : " postmaster: StreamConnection: accept: Too many open
> files in system".
>
> I don't think the problem is not with the file descriptors. Is it
> the max num of sockets?
> or maybe the maximum number of files that can be opened?
see http://www.kegel.com/c10k.html#limits.filehandles
You may need to raise ulimit, or perhaps /proc/sys/fs/file-max
- Dan
--
"I have seen the future, and it licks itself clean." -- Bucky Katt
next reply other threads:[~2001-08-24 4:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-24 4:36 Dan Kegel [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-08-24 11:59 socket problem Pete Marvin King
2001-08-24 4:23 ` Arnaldo Carvalho de Melo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3B85D9E9.7BF8415C@kegel.com \
--to=dank@kegel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=pmking@ntsp.nec.co.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox