2 problems: Max connections and connection lost
Hi all - first of all could you please reply to this email address as well since I'm not subscribed on this list: jjans@bio.vu.nl current setup: Syslog-ng compiled and running on one machine as a syslog master server and syslog-ng running on several other machines that forward their messages to the master machine. problem 1: Sep 26 11:41:13 umbriel syslog-ng[65195]: Error accepting AF_INET connection from: 10.100.2.100:1049, opened connections: 10, max: 10 The master server (umbriel) states it is out of connections? Is this a configuration option that can be set, do I need to hack the source code and recompile - or is it not doable at all over one connection and is all I can do fire off a second syslog-ng process on a different port and use that for 10 more hosts (in total I'm looking into supporting about 80 hosts). problem 2: Sep 26 06:37:04 umbriel syslog-ng[65195]: AF_INET client connected from 10.4.129.8, port 36539 Sep 26 08:35:04 ariel syslog-ng[27849]: io.c: do_write: write() failed (errno 32), Broken pipe Sep 26 08:35:04 ariel syslog-ng[27849]: pkt_buffer::do_flush(): Error flushing data Sep 26 08:35:04 ariel syslog-ng[27849]: Connection broken, reopening in 60 seconds I'm seeing *a lot* of these kinda of messages in the log file. Is there something that can be done about this? Like timeout settings that can be increased etc, etc? Thanks, Jasper
On Wed, Sep 26, 2001 at 02:01:43PM +0200, Jasper Jans wrote:
Hi all - first of all could you please reply to this email address as well since I'm not subscribed on this list: jjans@bio.vu.nl
current setup: Syslog-ng compiled and running on one machine as a syslog master server and syslog-ng running on several other machines that forward their messages to the master machine.
problem 1: Sep 26 11:41:13 umbriel syslog-ng[65195]: Error accepting AF_INET connection from: 10.100.2.100:1049, opened connections: 10, max: 10
destination d_tcp { tcp("desthost" max-connections(100)); }; NOTE: a single process under Linux can open at most 256 fds. -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1
On Wed, 26 Sep 2001, Balazs Scheidler wrote:
NOTE: a single process under Linux can open at most 256 fds.
Where does this restriction come from? Under linux 2.2 1024 fds/process is the default limit but that can be raised. -m-
On Wed, Sep 26, 2001 at 02:47:56PM +0200, Hirling Endre wrote:
On Wed, 26 Sep 2001, Balazs Scheidler wrote:
NOTE: a single process under Linux can open at most 256 fds.
Where does this restriction come from? Under linux 2.2 1024 fds/process is the default limit but that can be raised.
sorry, 256 is the number of processes a single user can run concurrently. 1024 is the fd limit, and it can be increased only by patching the kernel. -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1
participants (3)
-
Balazs Scheidler
-
Hirling Endre
-
Jasper Jans