[FB-Tracker] Created: (CORE-5503) Classical server has a maximum of 64 connections when using systemd scripts

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[FB-Tracker] Created: (CORE-5503) Classical server has a maximum of 64 connections when using systemd scripts

JIRA tracker@firebirdsql.org
Classical server has a maximum of 64 connections when using systemd scripts
---------------------------------------------------------------------------

                 Key: CORE-5503
                 URL: http://tracker.firebirdsql.org/browse/CORE-5503
             Project: Firebird Core
          Issue Type: Bug
          Components: Installation
    Affects Versions: 3.0.1
         Environment: Ubuntu linux 16.04 64 bits
            Reporter: Christian Pradelli


When using classic server with new systemd scripts there is a limit of 64 concurrent connections.

This is because systemd.socket has a default of 64 connections when Accept is true.

https://www.freedesktop.org/software/systemd/man/systemd.socket.html#MaxConnections=

To fix the problem a higher should be specified in /lib/systemd/system/firebird-classic.socket

[Unit]
Description=Firebird Classic Activation Socket
Conflicts=firebird-superserver.service

[Socket]
ListenStream=3050
Accept=true
MaxConnections=1024

[Install]
WantedBy=sockets.target


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Reply | Threaded
Open this post in threaded view
|

Re: [FB-Tracker] Created: (CORE-5503) Classical server has a maximum of 64 connections when using systemd scripts

susi
This is a problem of unix and not firbird, when I created a machine for the developer and not a server-side version, I had the same problems. There are two ways of solving - changing the settings of Unix or creating a Unix system specifically for server tasks, I solve tasks for Centos, but I believe there are similar presets in Ubuntu. I tested the classic server and reached 800 connections from one client's Windows.

----- Исходное сообщение -----
От: "Christian Pradelli (JIRA)" <[hidden email]>
Кому: [hidden email]
Отправленные: Среда, 15 Март 2017 г 23:24:15
Тема: [Firebird-devel] [FB-Tracker] Created: (CORE-5503) Classical server has a maximum of 64 connections when using systemd scripts

Classical server has a maximum of 64 connections when using systemd scripts
---------------------------------------------------------------------------

                 Key: CORE-5503
                 URL: http://tracker.firebirdsql.org/browse/CORE-5503
             Project: Firebird Core
          Issue Type: Bug
          Components: Installation
    Affects Versions: 3.0.1
         Environment: Ubuntu linux 16.04 64 bits
            Reporter: Christian Pradelli


When using classic server with new systemd scripts there is a limit of 64 concurrent connections.

This is because systemd.socket has a default of 64 connections when Accept is true.

https://www.freedesktop.org/software/systemd/man/systemd.socket.html#MaxConnections=

To fix the problem a higher should be specified in /lib/systemd/system/firebird-classic.socket

[Unit]
Description=Firebird Classic Activation Socket
Conflicts=firebird-superserver.service

[Socket]
ListenStream=3050
Accept=true
MaxConnections=1024

[Install]
WantedBy=sockets.target


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Reply | Threaded
Open this post in threaded view
|

Re: [FB-Tracker] Created: (CORE-5503) Classical server has a maximum of 64 connections when using systemd scripts

Mariuz
In reply to this post by JIRA tracker@firebirdsql.org

On Wed, Mar 15, 2017 at 8:24 PM, Christian Pradelli (JIRA) <[hidden email]> wrote:
Classical server has a maximum of 64 connections when using systemd scripts
---------------------------------------------------------------------------

                 Key: CORE-5503
                 URL: http://tracker.firebirdsql.org/browse/CORE-5503
             Project: Firebird Core
          Issue Type: Bug
          Components: Installation
    Affects Versions: 3.0.1
         Environment: Ubuntu linux 16.04 64 bits
            Reporter: Christian Pradelli


When using classic server with new systemd scripts there is a limit of 64 concurrent connections.

This is because systemd.socket has a default of 64 connections when Accept is true.

https://www.freedesktop.org/software/systemd/man/systemd.socket.html#MaxConnections=

To fix the problem a higher should be specified in /lib/systemd/system/firebird-classic.socket

[Unit]
Description=Firebird Classic Activation Socket
Conflicts=firebird-superserver.service

[Socket]
ListenStream=3050
Accept=true
MaxConnections=1024

[Install]
WantedBy=sockets.target


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel