Miscellaneous ⇒ Server Chat ⇒ [solved] Numfile (corrupted backup) ⇒ Community Forums ⇒ CPG Dragonfly™ CMS
Forum IndexServer Chat

[solved] Numfile (corrupted backup) Reply to topic


I'm running Plesk 8.1.0 on my VPS and I'm having a problem with the numfile maxing out.

When it hits the hard limit of 8500 then the only way to resolve it is to restart the server.

From what I understand the numfile is the number of open files the server currently has. Its never been a problem before and as soon as I upgrade to DF 9.2 then its suddenly maxing out all the time.

Anyone have any ideas as to whats happening with it?

Mike

Forwards Ever, Backwards Never!

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux-CentOS 5. Apache 2.2.3. SQL 5.0.87. PHP 5.2.11. DF9.2.1


As root
$ cd ~ $ lsof > openfiles
now in your home you should have an "openfiles" document, open it an see what is in there.

If the problem is DragonflyCMS then you are only looking for files opened by MySQL and Apache.

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.7 / PHP 7.3 / head


Hi,
I dont see that many DF related files but I see the same files seems to repeate loads of times.

e.g

httpsd 19917 psaadm mem REG 0,35 7248 155910174 /usr/local/psa/admin/libexec/mod_env.so
httpsd 19917 psaadm mem REG 0,35 17328 155910186 /usr/local/psa/admin/libexec/mod_log_config.so
httpsd 19917 psaadm mem REG 0,35 15600 155910190 /usr/local/psa/admin/libexec/mod_mime.so
httpsd 19917 psaadm mem REG 0,35 26352 155910194 /usr/local/psa/admin/libexec/mod_negotiation.so
httpsd 19917 psaadm mem REG 0,35 19728 155910202 /usr/local/psa/admin/libexec/mod_status.so
httpsd 19917 psaadm mem REG 0,35 32080 155910182 /usr/local/psa/admin/libexec/mod_include.so
httpsd 19917 psaadm mem REG 0,35 28368 155910162 /usr/local/psa/admin/libexec/mod_autoindex.so
httpsd 19917 psaadm mem REG 0,35 7056 155910172 /usr/local/psa/admin/libexec/mod_dir.so
httpsd 19917 psaadm mem REG 0,35 13648 155910166 /usr/local/psa/admin/libexec/mod_cgi.so
httpsd 19917 psaadm mem REG 0,35 6800 155910156 /usr/local/psa/admin/libexec/mod_asis.so
httpsd 19917 psaadm mem REG 0,35 13872 155910180 /usr/local/psa/admin/libexec/mod_imap.so
httpsd 19917 psaadm mem REG 0,35 7760 155910152 /usr/local/psa/admin/libexec/mod_actions.so
httpsd 19917 psaadm mem REG 0,35 7792 155910206 /usr/local/psa/admin/libexec/mod_userdir.so
httpsd 19917 psaadm mem REG 0,35 11280 155910154 /usr/local/psa/admin/libexec/mod_alias.so
httpsd 19917 psaadm mem REG 0,35 9104 155910150 /usr/local/psa/admin/libexec/mod_access.so
httpsd 19917 psaadm mem REG 0,35 11120 155910158 /usr/local/psa/admin/libexec/mod_auth.so
httpsd 19917 psaadm mem REG 0,35 9520 155910198 /usr/local/psa/admin/libexec/mod_setenvif.so
httpsd 19917 psaadm mem REG 0,35 52912 155910196 /usr/local/psa/admin/libexec/mod_rewrite.so



courierlo 17798 root rtd DIR 0,35 4096 30672116 /
courierlo 17798 root txt REG 0,35 13968 194838564 /usr/sbin/courierlogger
courierlo 17798 root mem REG 0,35 128760 30678666 /lib64/ld-2.3.6.so
courierlo 17798 root mem REG 0,35 237464 30678826 /lib64/libssl.so.0.9.7f
courierlo 17798 root mem REG 0,35 1212880 30678722 /lib64/libcrypto.so.0.9.7f
courierlo 17798 root mem REG 0,35 1548560 30678700 /lib64/libc-2.3.6.so
courierlo 17798 root mem REG 0,35 95872 30710660 /usr/lib64/libgssapi_krb5.so.2.2
courierlo 17798 root mem REG 0,35 474088 30710816 /usr/lib64/libkrb5.so.3.2
courierlo 17798 root mem REG 0,35 8072 30678714 /lib64/libcom_err.so.2.1
courierlo 17798 root mem REG 0,35 143328 30710774 /usr/lib64/libk5crypto.so.3.0
courierlo 17798 root mem REG 0,35 89800 30678808 /lib64/libresolv-2.3.6.so
courierlo 17798 root mem REG 0,35 20312 30678730 /lib64/libdl-2.3.6.so
courierlo 17798 root mem REG 0,35 83376 30711638 /usr/lib64/libz.so.1.2.2.2
courierlo 17798 root mem REG 0,35 11448 30710824 /usr/lib64/libkrb5support.so.0.0
courierlo 17798 root 0r FIFO 0,7 99935095 pipe
courierlo 17798 root 1w CHR 1,3 30676336 /dev/null
courierlo 17798 root 2w CHR 1,3 30676336 /dev/null
courierlo 17798 root 3u unix 0x000001007e3c7480 99935097 socket
couriertc 17806 root cwd DIR 0,35 4096 30672116 /
couriertc 17806 root rtd DIR 0,35 4096 30672116 /
couriertc 17806 root txt REG 0,35 54656 30699332 /usr/lib/courier-imap/couriertcpd
couriertc 17806 root mem REG 0,35 128760 30678666 /lib64/ld-2.3.6.so
couriertc 17806 root mem REG 0,35 24832 30710534 /usr/lib64/libgdbm.so.2.0.0
couriertc 17806 root mem REG 0,35 237464 30678826 /lib64/libssl.so.0.9.7f
couriertc 17806 root mem REG 0,35 1212880 30678722 /lib64/libcrypto.so.0.9.7f
couriertc 17806 root mem REG 0,35 20312 30678730 /lib64/libdl-2.3.6.so
couriertc 17806 root mem REG 0,35 1548560 30678700 /lib64/libc-2.3.6.so
couriertc 17806 root mem REG 0,35 95872 30710660 /usr/lib64/libgssapi_krb5.so.2.2
couriertc 17806 root mem REG 0,35 474088 30710816 /usr/lib64/libkrb5.so.3.2
couriertc 17806 root mem REG 0,35 8072 30678714 /lib64/libcom_err.so.2.1
couriertc 17806 root mem REG 0,35 143328 30710774 /usr/lib64/libk5crypto.so.3.0
couriertc 17806 root mem REG 0,35 89800 30678808 /lib64/libresolv-2.3.6.so
couriertc 17806 root mem REG 0,35 83376 30711638 /usr/lib64/libz.so.1.2.2.2
couriertc 17806 root mem REG 0,35 11448 30710824 /usr/lib64/libkrb5support.so.0.0
couriertc 17806 root mem REG 0,35 57888 30678762 /lib64/libnss_files-2.3.6.so
couriertc 17806 root 0r CHR 1,3 30676336 /dev/null
couriertc 17806 root 1w CHR 1,3 30676336 /dev/null
couriertc 17806 root 2w FIFO 0,7 99935107 pipe
couriertc 17806 root 3uW REG 0,35 0 32636964 /var/run/imapd-ssl.pid.lock
couriertc 17806 root 5u IPv4 99935105 TCP *:imaps (LISTEN)
courierlo 17808 root cwd DIR 0,35 4096 30672116 /
courierlo 17808 root rtd DIR 0,35 4096 30672116 /
courierlo 17808 root txt REG 0,35 13968 194838564 /usr/sbin/courierlogger
courierlo 17808 root mem REG 0,35 128760 30678666 /lib64/ld-2.3.6.so
courierlo 17808 root mem REG 0,35 237464 30678826 /lib64/libssl.so.0.9.7f
courierlo 17808 root mem REG 0,35 1212880 30678722 /lib64/libcrypto.so.0.9.7f
courierlo 17808 root mem REG 0,35 1548560 30678700 /lib64/libc-2.3.6.so
courierlo 17808 root mem REG 0,35 95872 30710660 /usr/lib64/libgssapi_krb5.so.2.2
courierlo 17808 root mem REG 0,35 474088 30710816 /usr/lib64/libkrb5.so.3.2
courierlo 17808 root mem REG 0,35 8072 30678714 /lib64/libcom_err.so.2.1
courierlo 17808 root mem REG 0,35 143328 30710774 /usr/lib64/libk5crypto.so.3.0
courierlo 17808 root mem REG 0,35 89800 30678808 /lib64/libresolv-2.3.6.so
courierlo 17808 root mem REG 0,35 20312 30678730 /lib64/libdl-2.3.6.so
courierlo 17808 root mem REG 0,35 83376 30711638 /usr/lib64/libz.so.1.2.2.2
courierlo 17808 root mem REG 0,35 11448 30710824 /usr/lib64/libkrb5support.so.0.0
courierlo 17808 root 0r FIFO 0,7 99935107 pipe
courierlo 17808 root 1w CHR 1,3 30676336 /dev/null
courierlo 17808 root 2w CHR 1,3 30676336 /dev/null
courierlo 17808 root 3u unix 0x00000100c0721180 99935112 socket
couriertc 17814 root cwd DIR 0,35 4096 30672116 /
couriertc 17814 root rtd DIR 0,35 4096 30672116 /
couriertc 17814 root txt REG 0,35 54656 30699332 /usr/lib/courier-imap/couriertcpd
couriertc 17814 root mem REG 0,35 128760 30678666 /lib64/ld-2.3.6.so
couriertc 17814 root mem REG 0,35 24832 30710534 /usr/lib64/libgdbm.so.2.0.0
couriertc 17814 root mem REG 0,35 237464 30678826 /lib64/libssl.so.0.9.7f
couriertc 17814 root mem REG 0,35 1212880 30678722 /lib64/libcrypto.so.0.9.7f
couriertc 17814 root mem REG 0,35 20312 30678730 /lib64/libdl-2.3.6.so
couriertc 17814 root mem REG 0,35 1548560 30678700 /lib64/libc-2.3.6.so
couriertc 17814 root mem REG 0,35 95872 30710660 /usr/lib64/libgssapi_krb5.so.2.2
couriertc 17814 root mem REG 0,35 474088 30710816 /usr/lib64/libkrb5.so.3.2
couriertc 17814 root mem REG 0,35 8072 30678714 /lib64/libcom_err.so.2.1
couriertc 17814 root mem REG 0,35 143328 30710774 /usr/lib64/libk5crypto.so.3.0
couriertc 17814 root mem REG 0,35 89800 30678808 /lib64/libresolv-2.3.6.so
couriertc 17814 root mem REG 0,35 83376 30711638 /usr/lib64/libz.so.1.2.2.2
couriertc 17814 root mem REG 0,35 11448 30710824 /usr/lib64/libkrb5support.so.0.0
couriertc 17814 root mem REG 0,35 57888 30678762 /lib64/libnss_files-2.3.6.so


Any idea?

Forwards Ever, Backwards Never!

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux-CentOS 5. Apache 2.2.3. SQL 5.0.87. PHP 5.2.11. DF9.2.1


Each child for each running daemon opens its own files.

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.7 / PHP 7.3 / head


Not sure if your PHP specs are updated ... if you are running PHP 5.2.x then this might be the issue bugs.php.net/bug.php?id=43105 (fixed in PHP 5.2.6

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.7 / PHP 7.3 / head


It turned out that during a routine backup the server crashed which corrupted the backup directory structure.

This caused the problem above.

When I restored the directory structure and gave them the correct permissions, it stopped the problems with numfile.

Forwards Ever, Backwards Never!

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux-CentOS 5. Apache 2.2.3. SQL 5.0.87. PHP 5.2.11. DF9.2.1

All times are UTC


Jump to: