My Monday morning started with debugging a SuSE Linux Enterprise Server 10 SP3 (x86_64) server with Open Enterprise Server 2 and with several IP aliases (virtual IP’s). The NetStorage login was very slow, about 60 seconds! I started increasing the loglevel of apache and took a peak /var/log/apache/error_log and found:
[Mon Apr 26 10:46:04 2010] [debug] ssl_engine_io.c(1786): OpenSSL: I/O error, 5 bytes expected to read on BIO#555555889900 [mem: 5555558ac350]
[Mon Apr 26 10:46:04 2010] [info] [client 192.168.1.3] (70014)End of file found: SSL input filter read failed.
There was no service interruption, the websites were being served and the messages were only on the debug/info level. So this could not be an OpenSSL issue. All services had an IP based configuration, so the problem could not be DNS lookups. Then I remembered and checked that OpenSLP was also active and being used, so it was time to inspect /etc/slp.conf and I saw that net.slp.interfaces was not explicitly set. So I set net.slp.interfaces in /etc/slp.conf to the primary (real) IP address:
net.slp.interfaces = 192.168.1.5
That did the trick. Logging in now takes about 8 seconds, which is normal for NetStorage, since the login script needs to completely run prior to finishing the login sequence.