• 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.

Issue Too many open files

tkalfaoglu

Silver Pleskian
Hello. Yesterday postfix log was showing lots of too many files cannot open bla bla..
I had to reboot with a hard reset.. I had modified limits and increased it before..
Currently:
# lsof | wc -l
^C
# sysctl fs.file-nr
fs.file-nr = 687904 0 1000000

that's an awful lot of files open, no?
PS: I timed out waiting for lsof output and had to kill it.
Any ideas if the recent changes to Obsidian are leaving some files open?
 
Followup.. here is my current summary.. wrote the prog myself. sorted by the number of files open

#of files open process name
20 /usr/bin/python2
21 /usr/bin/sw-engine
21 /usr/sbin/libvirtd
24 /bin/bash
25 /usr/lib/systemd/systemd-logind
26 dovecot/auth
27 anvil
27 /usr/bin/memcached
27 /usr/local/psa/admin/sbin/modules/magicspam/magicspam-milter
28 /usr/sbin/CROND
29 trivial-rewrite
32 sw-cp-server:
36 sshd:
42 dovecot/log
50 /usr/lib/systemd/systemd-journald
51 cleanup
53 smtp
54 /usr/lib64/plesk-9.0/postfix-srs
59 sw-engine-fpm:
60 /usr/sbin/named
62 dovecot/pop3
69 /usr/lib/systemd/systemd
82 /usr/bin/python
85 dovecot/pop3-login
90 pipe
93 dovecot/config
98 dovecot/anvil
107 spamd
158 /usr/libexec/postfix/master
183 dovecot/stats
234 java
244 /usr/sbin/dovecot
246 spawn
287 /usr/sbin/rsyslogd
326 php-fpm:
465 smtpd
1275 dovecot/imap-login
1378 dovecot/imap
3132 /usr/sbin/httpd
15062 nginx:
17972 /usr/sbin/mysqld



does anything look wrong here?
 
PS - I have since reduced the mysqld and nginx open files.. haven't had the same problem since but I am still suspicious as to why we have so many open files..
 
Back
Top