Hi guys,
I'm trying to find a solution to identify a php process that is spawned
with pnctl_fork. I've tried to set a custom gid but this isn't viable
because I have to run the parent proc with administrative permissions. I
need to do this native without any pecl extensions.
Is there a way to do
Hi,
pcntl_fork will return the pid of the fork, what is wrong with using that
pid to identify the process?
- Matijn
On Tue, Apr 2, 2013 at 3:38 PM, Sorin Badea sorin.bade...@gmail.com wrote:
Hi guys,
I'm trying to find a solution to identify a php process that is spawned
with pnctl_fork.
I don't want to wait for it and surely I don't want to safe that pid in
same place. I just want to use `ps` with a pattern to return my forked
process.
On Tue, Apr 2, 2013 at 4:48 PM, Matijn Woudt tijn...@gmail.com wrote:
Hi,
pcntl_fork will return the pid of the fork, what is wrong with
On 2 Apr 2013, at 14:50, Sorin Badea sorin.bade...@gmail.com wrote:
I don't want to wait for it and surely I don't want to safe that pid in
same place. I just want to use `ps` with a pattern to return my forked
process.
Storing the PID of a process you need to monitor is the established
I'm trying to implement a standalone threading component, and in current
implementation I'm using `popen` to run a separate process with some
arguments that I'm using to identify them (for example `php
some_dummy_file.php -thread_id=some_hash`). This way when I'm trying to
see which are my threads
On 2 Apr 2013, at 15:11, Sorin Badea sorin.bade...@gmail.com wrote:
I'm trying to implement a standalone threading component, and in current
implementation I'm using `popen` to run a separate process with some
arguments that I'm using to identify them (for example `php
some_dummy_file.php
I'm not storing the hashes, just generate them when starting the thread. I
think that storing the thread pid in a local file (pids/threadx.pid) is the
only way but I don't think is the best.
Thanks anyway Stuard!
On Tue, Apr 2, 2013 at 5:18 PM, Stuart Dallas stu...@3ft9.com wrote:
On 2 Apr
7 matches
Mail list logo