Process tracking with mod_fcgid is not the same as with suPHP
Forum
  1. Forums
  2. General
  3. General Discussion
  1. Pete
  2. Friday, 08 November 2013
  3.  Subscribe via email
Full path to the process is not shown when using mod_fcgid
Rate this post:
  1. 08.11.2013 06:11:55
  2. # 1
Pete Accepted Answer
Posts: 11
Joined: 08.11.2013
0
Votes
Undo
Hello all,

Does someone know is it possible to see the full process path when using mod_fcgid?
When running suPHP and run: top -c the processes are shown similar to this:

/usr/bin/php /home/username/public_html/script.php

meaning: the full path to the process is shown.

When running mod_fcgid I only get this:

/usr/bin/php

Is there something I can do to see the processes in suPHP style?

Regards.
  1. 08.11.2013 08:11:49
  2. # 2
Igor Seletskiy Accepted Answer
Posts: 1200
Joined: 09.02.2010
0
Votes
Undo
ps auxww will get you full path
but it is /usr/bin/php that is running for the customer, it just that for each customer /usr/bin/php might be different php binary (either 5.3 or 5.4, etc...)
  1. 08.11.2013 09:11:19
  2. # 3
Pete Accepted Answer
Posts: 11
Joined: 08.11.2013
0
Votes
Undo
Thank you Igor,

The /usr/bin/php path was just an example.

I\'ll try if ps auxww will get me the full process path.

Thanks.
  1. 08.11.2013 10:11:58
  2. # 4
Pete Accepted Answer
Posts: 11
Joined: 08.11.2013
0
Votes
Undo
I have made some tests and find out that the:

ps auxww

command does not display the full path to a php process like suPHP does.
  1. 08.11.2013 11:11:29
  2. # 5
Igor Seletskiy Accepted Answer
Posts: 1200
Joined: 09.02.2010
0
Votes
Undo
NM, I see what you mean, you can see script name being executed when using mod_fcgid, as same binary is executed for multiple scripts.
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.