How to recompile Apache,PHP and IMAP with increased value of file descriptors larger than FD_SETSIZE (1024) on RedHat-like systems.
* Plesk for Linux/Unix
SYMPTOMS
RPM packages are compiled by vendors with too small (1024) number of file descriptors and it might cause the following messages to appear in /var/log/httpd/error_log:
Segmentation fault (11)
[warn] make_sock: problem listening on port 443, file descriptor (1068) larger than FD_SETSIZE (1024)
Unable to open logs
Too many open files
This is common Apache issue on the servers with many Virtual Hosts configured, see …
http://www.debianadmin.com/delete-qmail-server-messages-queue.html
Qmail-Remove
This is definitely my first choice.Qmail-Remove will remove messages containing a particular string from your Qmail queue.
Mails are *not* deleted from the queue! They are only stored, temporarily, in $qmail-queue/yanked/, where you can view
them individually and restore them back to the queue manually. There is currently no support for restoring them automatically.
By default, Qmail-Remove assumes that your Qmail queue is stored in /var/qmail/queue, but this can be changed with a
command line option. Similarly, Qmail-Remove assumes that your queue .split. is …
Reconfiguring a domain
/usr/local/psa/admin/sbin/websrvmng –reconfigure-vhost –vhost-name=domain.com
/usr/local/psa/admin/sbin/statistics –calculate-one –domain-name=yourdomain.comCommands for removing mail queue on plesk
==================================
Run this :
#qmailctl stop
#find /var/qmail/queue/mess -type f -exec rm {} \;
#find /var/qmail/queue/info -type f -exec rm {} \;
#find /var/qmail/queue/local -type f -exec rm {} \;
#find /var/qmail/queue/intd -type f -exec rm {} \;
#find /var/qmail/queue/todo -type f -exec rm {} \;
#find /var/qmail/queue/remote -type f -exec rm {} \;
#qmailctl start
qmailctl stop
find /var/qmail/queue/mess -type f -exec rm {} \;
find /var/qmail/queue/info -type f -exec rm {} \;
find /var/qmail/queue/local -type f -exec rm {} …
mail client software: 553
If POP3 authorization is enabled in Plesk, then you may authorize with POP3 (simply check for new mail) to the server first, then you will be able to send mail within “POP3 lock time” that is set at Server > Mail page in Plesk CP.
If you get the bounce message with such error when send mail to a domain hosted on the Plesk server, then make sure that the Mail service for this domain is enabled and …