Issue Details (XML | Word | Printable)

Key: CORE-5503
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Alexander Peshkov
Reporter: Christian Pradelli
Votes: 0
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
Firebird Core

Classical server has a maximum of 64 connections when using systemd init scripts (ubuntu >= 16.04)

Created: 15/Mar/17 06:23 PM   Updated: 28/Mar/17 01:01 PM
Component/s: Installation
Affects Version/s: 3.0.1
Fix Version/s: 3.0.2, 4.0 Alpha 1

Environment: Ubuntu linux 16.04 64 bits

QA Status: Cannot be tested


 Description  « Hide
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 value for MaxConnections 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


 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
kdv added a comment - 15/Mar/17 06:56 PM
this is good info, useful for some FAQ, but this is definitely not a Firebird "bug".
Firebird does not (and should not) change system parameters by installer or itself.

Dmitry Yemanov added a comment - 15/Mar/17 07:00 PM
AFAIU, this is not about system parameters, but rather about parameters of the Firebird service. And they are created by the installer.

Christian Pradelli added a comment - 16/Mar/17 06:37 PM
Thank you Dmitry