Subject Re: Time out network after 436 connections on data base employee
Author Danguelle Mickael
error

Erreur de connexion à la base de données :
I/O error for file "/opt/firebird/examples/empbuild/employee.fdb"
Error while trying to open file
Too many open files

--- In firebird-support@yahoogroups.com, "Danguelle Mickael" <mickael.danguelle@...> wrote:
>
> my sysctl.conf for tcp_max_syn_backlog and somaxconn
>
> net.core.somaxconn = 262144
> net.ipv4.tcp_max_syn_backlog = 262144
>
>
>
> --- In firebird-support@yahoogroups.com, "Danguelle Mickael" <mickael.danguelle@> wrote:
> >
> > value for the linux firebird user
> > su - firebird
> > ulimit -Ha
> > core file size (blocks, -c) unlimited
> > data seg size (kbytes, -d) unlimited
> > scheduling priority (-e) unlimited
> > file size (blocks, -f) unlimited
> > pending signals (-i) unlimited
> > max locked memory (kbytes, -l) unlimited
> > max memory size (kbytes, -m) unlimited
> > open files (-n) 999999
> > pipe size (512 bytes, -p) 8
> > POSIX message queues (bytes, -q) unlimited
> > real-time priority (-r) 0
> > stack size (kbytes, -s) unlimited
> > cpu time (seconds, -t) unlimited
> > max user processes (-u) unlimited
> > virtual memory (kbytes, -v) unlimited
> > file locks (-x) unlimited
> >
> > I have the linux debian 64 bits.
> >
> >
> >
> >
> > --- In firebird-support@yahoogroups.com, Philippe Makowski <makowski@> wrote:
> > >
> > > 2010/10/19 mick_dang <mickael.danguelle@>
> > >
> > > > mode classsic process server, I have a number of connections élévés.mais, my server starts up in RAM and has completed the swap.
> > > add more ram
> > > and be sure using a x86_64 kernel and Firebird
> > >
> > > > mode thread, I have 510 connections on the database employee.fdb and I end up with an error message connection refused
> > > > My ulimit-Ha
> > > your's ?
> > > or the values for the linux firebird user ?
> > >
> > > and again, check your tcp stack, look for SOMAXCONN (google can help)
> > > for example : http://www.sysarchitects.com/files/VanDyk_Des_Moines_Web_Geeks_09.pdf
> > >
> > > netdev_max_backlog: http://www.google.com/linux?&q=netdev_max_backlog
> > > somaxconn: http://www.google.com/linux?&q=somaxconn
> > >
> >
>