Stream_select() errors

stream_select() error (reported by @jgjimenezs)

Jul 17 11:30:30 intranet httpd: [2] stream_select(): unable to select [4]: Interrupted system call (max_fd=16) - File /usr/share/nethesis/Symfony/Component/Process/ProcessPipes.php, line 319

@davidep, you may have already looked there, but just in case some discussions took place on symfony and reactphp github pages. Maybe some new version or pull request can give more clues on this little infrequent annoyance.

1 Like

Just uploaded a new package to nethserver-testing:
nethserver-httpd-admin-2.0.0-1.3.gf979ef6.ns7.noarch.rpm

It ships Symfony/Process 2.8.8, I hope it fixes the error!

1 Like

with nethserver-httpd-admin-2.0.0-1.3.gf979ef6.ns7.noarch.rpm the stream_select() error hits a different file:

Jul 23 11:49:42 intranet systemd: Started Graceful restart of httpd-admin.
Jul 23 11:49:42 intranet httpd: [2] stream_select(): unable to select [4]: Interrupted system call (max_fd=17) - File /usr/share/nethesis/Symfony/Component/Process/Pipes/UnixPipes.php, line 105

It’s not a surprise to see a similar message during httpd-admin restart.

What is puzzling me is the httpd process name in the second log line you pasted above… I’d rather expect httpd-admin

Could you describe what was happening on your system? Did you see the usual dialog box on the server-manager with the “stream_select” error message?

After editing the server certificate sometimes the error message is shown in a white page, before having to accept the security exception triggered by the browser.

To try to force the error you can reload the page multiple times after submitting the server certificate form (even when no change has been made).

Today I got the same stream_select error, but within the neth-gui:

Aug 6 16:18:33 intranet systemd: Started Graceful restart of httpd-admin.
Aug 6 16:18:33 intranet httpd: [2] stream_select(): unable to select [4]: Interrupted system call (max_fd=17) - File /usr/share/nethesis/Symfony/Component/Process/Pipes/UnixPipes.php, line 105

Did you fix this? Do you need further help?

It is not fixed. Don’t need help, just reporting it as a minor annoyance that does not prevent any functionality.

1 Like

New attempt here.

On error FALSE is returned and a warning raised (this can happen if the system call is interrupted by an incoming signal).

http://php.net/manual/en/function.stream-select.php

Let’s silence WARNING messages!

Try out the package from nethserver-testing:

yum localinstall http://packages.nethserver.org/nethserver/7.2.1511/testing/x86_64/Packages/nethserver-httpd-admin-2.0.3-1.1.ga1e60a6.ns7.noarch.rpm
1 Like

ATM the fix seems to work. The error is logged but does not show on nethgui.

2 Likes

3 Likes