It’s not the point of this distribution list to discuss Perl, but fork will
return the process id for both processes. A simple pattern for the source
code looks like:
pid = fork();
if (pid==0){print "do the child things";}
else {print "do parent things"}
You want to aim your script semantics acco
It might be interesting to know how "fork" works...
On Fri, 29 Sept 2023, 19:56 Sreenivasulu Alapaka, <
sreenivasulu.alapaka...@gmail.com> wrote:
> Yes, Deepak
> the parent and child process are derived from same Base class.
> i defined a function name main in base class with empty implememationa
Yes, Deepak
the parent and child process are derived from same Base class.
i defined a function name main in base class with empty implememationa and
same got implemented for both parent and child in their own module.
Below is a skeleton of code. the parent process is spawned while
bootstrapping th
Obviously there is a common function which is being called by your server,
client threads.
You will have to share your code for us to find out what's going on.
On Fri, 29 Sept 2023, 17:08 Sreenivasulu Alapaka, <
sreenivasulu.alapaka...@gmail.com> wrote:
> Hi Deepak,
>
>
> *Client Monitor Workers
Hi Deepak,
*Client Monitor Workers is application specific log. This message will be
logged by the parent process in my application but not the child process.
In the issue state, I am seeing the *
*Client Monitor Workers in both parent and child logs as the child is
executing the tasks of
On Fri, Sep 29, 2023 at 4:35 PM Sreenivasulu Alapaka <
sreenivasulu.alapaka...@gmail.com> wrote:
> Hi Deepak,
>
> Please find the logs below.
> Parent task is to monitor the workers(childs) and then
> remove/start additional workers based on the load.
>
Hi Deepak,
Please find the logs below.
Parent task is to monitor the workers(childs) and then
remove/start additional workers based on the load.
its performing its task.
Parent process logs
=
Wed Sep 27 20
On Fri, Sep 29, 2023 at 4:15 PM Sreenivasulu Alapaka <
sreenivasulu.alapaka...@gmail.com> wrote:
> Hi Deepak,
>
> I have specific logs for parent and child process and am able
> to see the logs of parent process dumped in child process log with child
> process id.
>
>
Please share the
Hi Deepak,
I have specific logs for parent and child process and am able
to see the logs of parent process dumped in child process log with child
process id.
On Fri, Sep 29, 2023 at 3:58 PM Deepak Goel wrote:
>
>
> On Fri, Sep 29, 2023 at 3:52 PM Sreenivasulu Alapaka <
> sreenivasul
On Fri, Sep 29, 2023 at 3:52 PM Sreenivasulu Alapaka <
sreenivasulu.alapaka...@gmail.com> wrote:
> Hi Team,
>
> I am using httpd and mod_perl libraries to spawn the process to
> execute the tasks. httpd will spawn a process which is parent and it will
> spawn the other child process to per
Hi Team,
I am using httpd and mod_perl libraries to spawn the process to
execute the tasks. httpd will spawn a process which is parent and it will
spawn the other child process to perform the tasks.
The parent process job is to monitor the child process and the
child process has
11 matches
Mail list logo