06-09-2006
25 is the upper limit
Jim
Once again, thanks for your script. I tested it out and found out that there is a upper limit of 25. Contrary to what I thought, it looks like 25 is not the limit of "wait" but apparantly it is the limit on number of background job I can submit.
If I want to run the archive script for even 26 times, it gives me following error:
bg.ksh[6]: cannot fork - try again
I guess this is some sort of limit set by sysadmin??
Anyways, for the time being, i guess that would serve my purpose.
Thanks again
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
two programs A and B writting in c++
I am using A to B and I want to know the return code of B.
in B
------------------------
int main()
{
return 11;
}
------------------------
in A
------------------------
int main()
{
system(A);
}
------------------------
Is it the right way... (1 Reply)
Discussion started by: filedeliver
1 Replies
2. Programming
two programs A and B writting in c++
I am using A to B and I want to know the return code of B.
in B
------------------------
int main()
{
return 11;
}
------------------------
in A
------------------------
int main()
{
system(A);
}
------------------------
Is it the right way... (1 Reply)
Discussion started by: filedeliver
1 Replies
3. Shell Programming and Scripting
Hello All,
I am a newbie in Shell script programming, and maybe you can help me with my query.
I need to write a shell script (mntServer.ksh) that will start a background process and also to be able to run another script.
The mntServer.ksh script contains:
#!/bin/ksh... (1 Reply)
Discussion started by: racbern
1 Replies
4. Shell Programming and Scripting
Hi,
I have a process that I run in the background that looks like this
${BASEDIR}/ksh/sqler.ksh ${compnames003} &
and I would like to get the return code of the sqler.ksh script.
so my code is like this
${BASEDIR}/ksh/sqler.ksh ${compnames003} &
retcode=$? (3 Replies)
Discussion started by: c19h28O2
3 Replies
5. Shell Programming and Scripting
Hi,
I have a unix shell script which is launching multiple java processes by calling a java class in a loop, but each time with a different set of parameters.
Now I have to use the return code from each process in the script later.
but how do i obtain the return code from each process... (1 Reply)
Discussion started by: rama354
1 Replies
6. Shell Programming and Scripting
Hey all,
Okay, this one is tricky and I'm not sure there is a niec way to do it, or indeed anyway to do it. The main issue revolves around timing out a hung ssh. I am doing this by creating a wrapper script for the ssh with the following requirements.
My requirements are:
Defineable... (5 Replies)
Discussion started by: RECrerar
5 Replies
7. Shell Programming and Scripting
Hi all, i hava a specific backgroud process. I have de PID of this process. At some time, the process finish his job, is there any way to catch the exit code? I use "echo $?" normally for commands.
Thanks! (2 Replies)
Discussion started by: Xedrox
2 Replies
8. Shell Programming and Scripting
Hi All,
I was out not working on unix from quite sometime and came back recently. I would really appreciate a help on one of the issue I am facing....
I am trying to kick off the CodeNameProcess.sh in PARALLEL for all the available codes. The script runs fine in parallel.
Let say there are... (1 Reply)
Discussion started by: rkumar28
1 Replies
9. Shell Programming and Scripting
Hi,
I have created a function f1 defined in script A.sh .I have called this function in background . But I want to use its return value for another function f2 in script A.sh.
I tried declaring it as a global variable, yet it always returns the status as 0. Is there any way with which I can get... (7 Replies)
Discussion started by: ashima jain
7 Replies
10. Shell Programming and Scripting
Hi Team,
i am executing 3 scripts in background from 1 script and i want to send a message once the script gets completed.these scripts usually takes 1 hr to complete.
My sample script is below,
Vi abc.sh
sh /opt/data/Split_1.sh &
sh /opt/data/Split_2.sh &
sh /opt/data/Split_3.sh &
... (3 Replies)
Discussion started by: raju2016
3 Replies
LEARN ABOUT DEBIAN
qpsmtpd-forkserver
qpsmtpd-forkserver(8) System Manager's Manual qpsmtpd-forkserver(8)
NAME
qpsmtpd-forkserver - Fork-on-demand server for qpsmtpd
SYNOPSIS
qpsmtpd-forkserver [options]
DESCRIPTION
qpsmtpd-forkserver is the qpsmtpd frontend script which binds to the SMTP TCP socket and forks as clients connect.
OPTIONS
--port port, -p port
Binds to a specific port, instead of the default 2525.
--user user, -u user
On startup, switch to run as user instead of the starting user. Applies only when started as root (as is normal when listening on
port 25).
--limit-connections limit, -c limit
Accept at most limit simultaneous connections. Inbound connections beyondthis limit will be deferred or refused.
--max-from-ip limit, -m limit
Accept at most limit simultaneous connections from any given IP address; does not override --limit-connections, if set.
--listen-address addr, -l addr
Bind to the local address addr, instead of the default behavior of binding to all interfaces. Can be specified multiple times to
bind to more than one interface or local address.
--detach, -d
Detach from the controlling terminal at startup, to run as a standalone daemon. See also --pid-file.
--pid-file filename
Upon startup, and after daemonizing if applicable, write the process ID to filename, for use by sysvinit control scripts or similar
utilities.
AUTHOR
Ask Bjorn Hansen <ask@develooper.com>
http://smtpd.develooper.com/
qpsmtpd-forkserver(8)