• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Error trying to open Horde. Blank page shown

SalvadorS

Regular Pleskian
Hello,

This morning when somebody tries to open a mailbox with Horde blank page is shown. URL is webmail.xxx.com/imp/redirect.php.

I read http://kb.odin.com/en/6230 but this is not my problem:

I went to /var/log/apache2/ to see error log and found this:

[Mon Dec 21 11:30:24 2009] [warn-phpd] mmap cache can't open /usr/share/psa-horde/lib/Horde/Notification/Listener/status.php - Too many open files (pid 1919)
[Mon Dec 21 11:30:24 2009] [warn-phpd] mmap cache can't open /usr/share/psa-horde/lib/Horde/Notification/Listener/audio.php - Too many open files (pid 1919)
[Mon Dec 21 11:30:24 2009] [warn-phpd] mmap cache can't open /usr/share/psa-horde/imp/lib/IMP.php - Too many open files (pid 1919)
[Mon Dec 21 11:30:24 2009] [warn-phpd] mmap cache can't open /usr/share/psa-horde/lib/Horde/Help.php - Too many open files (pid 1919)
[Mon Dec 21 11:30:24 2009] [warn-phpd] mmap cache can't open /usr/share/psa-horde/lib/Horde/Auth/composite.php - Too many open files (pid 1919)
[Mon Dec 21 11:30:24 2009] [warn-phpd] mmap cache can't open /usr/share/psa-horde/lib/Horde/Prefs/session.php - Too many open files (pid 1919)
[Mon Dec 21 11:30:24 2009] [warn-phpd] mmap cache can't open /usr/share/psa-horde/lib/Horde/Notification/Event.php - Too many open files (pid 1919)
[Mon Dec 21 11:30:24 2009] [warn-phpd] mmap cache can't open /usr/share/psa-horde/lib/Horde/Menu.php - Too many open files (pid 1919)
[Mon Dec 21 11:30:30 2009] [warn-phpd] mmap cache can't open /etc/psa/webmail/horde/horde/registry.d/turba.php - Too many open files (pid 1919)
[Mon Dec 21 11:30:30 2009] [warn-phpd] mmap cache can't open /etc/psa/webmail/horde/horde/registry.d/horde.php - Too many open files (pid 1919)
[Mon Dec 21 11:30:30 2009] [warn-phpd] mmap cache can't open /etc/psa/webmail/horde/horde/registry.d/kronolith.php - Too many open files (pid 1919)
[Mon Dec 21 11:30:30 2009] [warn-phpd] mmap cache can't open /etc/psa/webmail/horde/horde/registry.d/mimp.php - Too many open files (pid 1919)
[Mon Dec 21 11:30:30 2009] [warn-phpd] mmap cache can't open /etc/psa/webmail/horde/horde/registry.d/imp.php - Too many open files (pid 1919)
[Mon Dec 21 11:30:30 2009] [warn-phpd] mmap cache can't open /etc/psa/webmail/horde/horde/registry.d/passwd.php - Too many open files (pid 1919)
[Mon Dec 21 11:30:30 2009] [warn-phpd] mmap cache can't open /etc/psa/webmail/horde/horde/registry.d/ingo.php - Too many open files (pid 1919)
[Mon Dec 21 11:30:30 2009] [warn-phpd] mmap cache can't open /etc/psa/webmail/horde/horde/registry.d/mnemo.php - Too many open files (pid 1919)
[Mon Dec 21 11:30:30 2009] [warn-phpd] mmap cache can't open /usr/share/psa-horde/lib/Horde/Notification/Listener/javascript.php - Too many open files (pid 1919)
[Mon Dec 21 11:30:30 2009] [warn-phpd] mmap cache can't open /usr/share/psa-horde/lib/Horde/Notification/Listener.php - Too many open files (pid 1919)
[Mon Dec 21 11:30:30 2009] [warn-phpd] mmap cache can't open /usr/share/psa-horde/lib/Horde/Prefs.php - Too many open files (pid 1919)
[Mon Dec 21 11:30:30 2009] [warn-phpd] mmap cache can't open /usr/share/psa-horde/lib/Horde/Prefs/session.php - Too many open files (pid 1919)
[Mon Dec 21 11:30:30 2009] [warn-phpd] mmap cache can't open /usr/share/psa-horde/lib/Horde/Auth/composite.php - Too many open files (pid 1919)
[Mon Dec 21 11:30:30 2009] [warn-phpd] mmap cache can't open /usr/share/psa-horde/imp/lib/IMP.php - Too many open files (pid 1919)
[Mon Dec 21 11:30:30 2009] [warn-phpd] mmap cache can't open /usr/share/psa-horde/imp/lib/Notification/Listener/status.php - Too many open files (pid 1919)
[Mon Dec 21 11:30:30 2009] [warn-phpd] mmap cache can't open /usr/share/psa-horde/lib/Horde/Notification/Listener/status.php - Too many open files (pid 1919)
[Mon Dec 21 11:30:30 2009] [warn-phpd] mmap cache can't open /usr/share/psa-horde/lib/Horde/Notification/Listener/audio.php - Too many open files (pid 1919)
[Mon Dec 21 11:30:30 2009] [warn-phpd] mmap cache can't open /usr/share/psa-horde/lib/Horde/Auth/application.php - Too many open files (pid 1919)
[Mon Dec 21 11:30:30 2009] [warn-phpd] mmap cache can't open /usr/share/psa-horde/lib/Horde/Secret.php - Too many open files (pid 1919)
[Mon Dec 21 11:30:30 2009] [warn-phpd] mmap cache can't open /usr/share/psa-horde/lib/Horde/Help.php - Too many open files (pid 1919)

How can I fix this?
 
Check with

# ulimit -a | grep open

how many open files allowed on your system. By default it is 1024 on RedHat based OS. Try to increase it with

# ulimit -n 8192

And add it as fs.file-max = 8192 to /etc/sysctl.conf permanently if it help.
 
Hi dear IgorG
This solution is temporary. I've used this solution, but when restart the server , with the same error again and again faced the problem.
Please tell how to solve this problem constantly
 
Last edited by a moderator:
Did you add fs.file-max = 8192 to /etc/sysctl.conf ?
It should fix problem permanently.
 
hi
yes
this is my /etc/sysctl.conf
# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
# sysctl.conf(5) for more details.

# Controls IP packet forwarding
net.ipv4.ip_forward = 0

# Controls source route verification
# net.ipv4.conf.default.rp_filter = 1

# Do not accept source routing
# net.ipv4.conf.default.accept_source_route = 0

# Controls the System Request debugging functionality of the kernel
# kernel.sysrq = 0

# Controls whether core dumps will append the PID to the core filename
# Useful for debugging multi-threaded applications
# kernel.core_uses_pid = 1

# Controls the use of TCP syncookies
net.ipv4.tcp_syncookies = 1

# Controls the maximum size of a message, in bytes
# kernel.msgmnb = 65536

# Controls the default maxmimum size of a mesage queue
# kernel.msgmax = 65536

# Controls the maximum shared segment size, in bytes
# kernel.shmmax = 4294967295

# Controls the maximum number of shared memory segments, in pages
# kernel.shmall = 268435456


#added by ahmad haeri
fs.file-max = 8192

after re booting the server i run
ulimit -a | grep open

and the result is
open files (-n) 1024
 
It is not Plesk but common Linux related question. Try to google how to set ulimit permanently on Linux.
 
Hi IgorG I've a similar issue with Horde.At login a blank page is shown and I must reload page for displaying items.Also logs look like this :

PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/psa-horde/lib/Horde/Notification.php
PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/psa-horde/lib/Horde/Perms.php
PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/psa-horde/lib/Horde/Auth.php

Any suggestion?Thanks.
 
Back
Top