Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
Acpid on machines with large numbers of event interfaces causes problems connecting to it's socket.
Better description in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=719659
Version-Release number of selected component (if applicable):
Fixed in upstream 2.0.20
CentOS7 supplies 2.0.19 in base repo
How reproducible:
Always (on machines with large number of event interfaces in /dev/input).
Steps to Reproduce:
From: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=719659
Xorg is the main user of the acpid socket on my system, and it reopens the socket each time the console is changed (including a wake from suspend). After the 10th wake or console switch back to X, the X server will block on the connect() to /var/run/acpid.socket and render the system completely unusable from the console. (It is possible to recover by restarting acpid over an ssh session, though.)
Actual results:
Blocks connecting to acpid socket
Expected results:
Will always conect fine to socket
Additional info:
I am currently packaging a higher version of acpid to avoid this issue
Comment 2Jaroslav Škarvada
2016-07-01 15:52:13 UTC
Hmm, I tried to verify it with this script:
#!/bin/bash
set -x
for i in `seq 1 200`; do
mknod /dev/input/event${i} c 13 63
done
then i run `kacpimon` and it gave me this warning:
/dev/input/event99 (Unknown) opened successfully
add_connection(): Too many connections.
Netlink ACPI Family ID: 22
Netlink ACPI Multicast Group ID: 2
netlink opened successfully
add_connection(): Too many connections.
Press Escape to exit, or Ctrl-C if that doesn't work.
Shouldn't this patch remove this warning? Or I'm doing something wrong?
acpid version:
acpid-2.0.19-8.el7.x86_64
Comment 7Jaroslav Škarvada
2017-05-15 11:48:28 UTC
(In reply to Andrej Manduch from comment #6)
> Hmm, I tried to verify it with this script:
>
> #!/bin/bash
>
> set -x
> for i in `seq 1 200`; do
> mknod /dev/input/event${i} c 13 63
> done
>
>
> then i run `kacpimon` and it gave me this warning:
>
> /dev/input/event99 (Unknown) opened successfully
> add_connection(): Too many connections.
> Netlink ACPI Family ID: 22
> Netlink ACPI Multicast Group ID: 2
> netlink opened successfully
> add_connection(): Too many connections.
> Press Escape to exit, or Ctrl-C if that doesn't work.
>
>
> Shouldn't this patch remove this warning? Or I'm doing something wrong?
>
> acpid version:
> acpid-2.0.19-8.el7.x86_64
It's error from the kacpimon not from the acpid. The kacpimon also needs patching to support more than 20 connections, but it's minor problem and it wasn't mentioned in the backport request. Please create new bugzilla for it. It's easy to backport and I could respin, but I am afraid it doesn't qualify as a blocker.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2017:2183