• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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