05-20-2002
When you increase the number of Postfix processes into the hundreds, the kernel will eventually run out of file handles; after that it is likely to run out of process slots.
The following information is kernel version dependent.
To set parameters at boot time on Linux systems that have /etc/sysctl.conf, add the following lines:
fs.file-max = 16384
kernel.threads-max = 2048
To set kernel parameters at run time, execute the following commands as root:
# echo 16384 > /proc/sys/fs/file-max
# echo 2048 > /proc/sys/kernel/threads-max
Hope this helps.
10 More Discussions You Might Find Interesting
1. Solaris
How to start Oracle database automatically when after SunSolaris is being re-booted?
TIA,
Greg (3 Replies)
Discussion started by: greg0320
3 Replies
2. Shell Programming and Scripting
hi all
How can I make a program start up automatically after the computer restart/startup in fedora?
something like:
... Establish a shell then run some of command code.
Thanks for Help!! (1 Reply)
Discussion started by: munna_dude
1 Replies
3. Solaris
Hi,
I have installed oracle 9i on solaris 10 sucessfully. I have configured listener & tnsname.ora file sucessfuly. Even i can start database manully by starting listener first and from sqlplus promt data base sucessfully. Now i want to start the database automatically after system reboots.
I... (2 Replies)
Discussion started by: Sachin Vaidya
2 Replies
4. Ubuntu
Hi masters,
I am still learning trades in kernel. I am trying to learn the basic of daemon programming. Can any one tell me how can I start a daemon automatically during boot up. I will be greatfull if anyone post some example code to the above task.
Also what are... (3 Replies)
Discussion started by: iamjayanth
3 Replies
5. Shell Programming and Scripting
I have created a script file named 'start-jboss'
-------------------------------------------------
#!/bin/sh
# For starting Jboss
JAVA_HOME=/home/argole/jdk/jdk1.6.0_10
export JAVA_HOME
cd /home/argole/server/jboss-4.2.0.GA/bin
echo "Starting JBOSS server"
nohup ./run.sh -c... (25 Replies)
Discussion started by: shiraz
25 Replies
6. UNIX and Linux Applications
Can any body give me the script to start postgre SQL 8.3.1 when boot linux? (2 Replies)
Discussion started by: shiraz
2 Replies
7. UNIX for Advanced & Expert Users
Hello All
i have a question related to some services,i want to start some services with server linux centos.
i make "chkconfig httpd on" and "chkconfig asterisk on",but when i verify with chkconfig --list i found
httpd 0: off 1: off 2: on 3: on 4: on 5: on 6:... (6 Replies)
Discussion started by: bernard12
6 Replies
8. Ubuntu
Hi all http://ubuntuforums.org/images/smilies/smiley-faces-80.gif,
I am customizing the LIVE CD of Xubuntu 12.04.. I removed the ubiquity package and changed the live username and hostname using uck-gui.. I am almost done with the customization. Now after the splash screen , the text in motd... (1 Reply)
Discussion started by: selvarajvss
1 Replies
9. Linux
Can anyone tell me how to start pc automatically when power comes,
here I just want to start server automatically, on boot, my server starts automatically because I have written some startup commands in rc.local file but if power fails, then how can I boot automatically (2 Replies)
Discussion started by: Akshay Hegde
2 Replies
10. Red Hat
Hello,
I am in the process of learning Linux OS.
How do I run the below lines of code automatically as root on server startup.
cd /opt/program_folder/ServiceManager/bin
nohup ./servce_manager DEV &
Currently, as soon as the server is up and running I log in as root (as this... (6 Replies)
Discussion started by: rparavastu
6 Replies
LEARN ABOUT REDHAT
postqueue
POSTQUEUE(1) General Commands Manual POSTQUEUE(1)
NAME
postqueue - Postfix queue control
SYNOPSIS
postqueue [-c config_dir] -f
postqueue [-c config_dir] -p
postqueue [-c config_dir] -s site
DESCRIPTION
The postqueue program implements the Postfix user interface for queue management. It implements all the operations that are traditionally
available via the sendmail(1) command.
The following options are recognized:
-c config_dir
The main.cf configuration file is in the named directory instead of the default configuration directory. See also the MAIL_CONFIG
environment setting below.
-f Flush the queue: attempt to deliver all queued mail.
This option implements the traditional sendmail -q command, by contacting the Postfix qmgr(8) daemon.
-p Produce a traditional sendmail-style queue listing.
This option implements the traditional mailq command, by contacting the Postfix showq(8) daemon.
-s site
Schedule immediate delivery of all mail that is queued for the named site. The site must be eligible for the "fast flush" service.
See flush(8) for more information about the "fast flush" service.
This option implements the traditional sendmail -qRsite command, by contacting the Postfix flush(8) daemon.
-v Enable verbose logging for debugging purposes. Multiple -v options make the software increasingly verbose.
SECURITY
This program is designed to run with set-group ID privileges, so that it can connect to Postfix daemon processes.
DIAGNOSTICS
Problems are logged to syslogd(8) and to the standard error stream.
ENVIRONMENT
MAIL_CONFIG
Directory with the main.cf file.
In order to avoid exploitation of set-group ID privileges, it is not possible to specify arbitrary directory names.
A non-standard directory is allowed only if the name is listed in the standard main.cf file, in the alternate_config_directories
configuration parameter value.
Only the super-user is allowed to specify arbitrary directory names.
FILES
/var/spool/postfix, mail queue
/etc/postfix, configuration files
CONFIGURATION PARAMETERS
import_environment
List of names of environment parameters that can be imported from non-Postfix processes.
queue_directory
Top-level directory of the Postfix queue. This is also the root directory of Postfix daemons that run chrooted.
fast_flush_domains
List of domains that will receive "fast flush" service (default: all domains that this system is willing to relay mail to). This
list specifies the domains that Postfix accepts in the SMTP ETRN request and in the sendmail -qR command.
SEE ALSO
sendmail(8) sendmail-compatible user interface
qmgr(8) queue manager
showq(8) list mail queue
flush(8) fast flush service
LICENSE
The Secure Mailer license must be distributed with this software.
AUTHOR(S)
Wietse Venema
IBM T.J. Watson Research
P.O. Box 704
Yorktown Heights, NY 10598, USA
POSTQUEUE(1)