Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-28-2007, 02:51 PM   #1
Registered: Aug 2003
Posts: 36

Rep: Reputation: 15
ps -ef strange behaviour ??

Folks this is puzzling me a lot.

I have two linux servers running caching proxy with similar configurations. We basically start the
caching proxy deamon by using a custom config file. I start the process with the following command
"/usr/sbin/ibmproxy -r ibmproxy_customfile.conf"

Now when I do a ps -ef, everything is normal on server1

server1-p:/opt/ibm/edge/cp/server_root/logs/customfile # ps -ef |grep proxy
nobody 31708 1 0 Nov20 ? 00:00:11 /usr/sbin/ibmproxy -r ibmproxy_customfile.conf

Now when I do the EXACT same steps, ie start the process on server2

I see a bunch of spawened processses in ps -ef

server2-p:/opt/ibm/edge/cp/server_root/logs/customfile # ps -ef |grep proxy
nobody 4196 1 0 14:55 ? 00:00:00 /usr/sbin/ibmproxy -r ibmproxy_customfile.conf
root 4197 4196 0 14:55 ? 00:00:00 /usr/sbin/ibmproxy -r ibmproxy_customfile.conf
nobody 4198 4197 0 14:55 ? 00:00:00 /usr/sbin/ibmproxy -r ibmproxy_customfile.conf
nobody 4199 4197 0 14:55 ? 00:00:00 /usr/sbin/ibmproxy -r ibmproxy_customfile.conf
truncated here to shorten message,

server2-p:/opt/ibm/edge/cp/server_root/logs/customfile # ps -ef |grep proxy |wc -l


So this returns 127 spawned processes ? Why is this difference between the two server ? Should it not
just start the one process as requested by
/usr/sbin/ibmproxy -r ibmproxy_customfile.conf

Thanks for you assistance
Old 11-28-2007, 05:22 PM   #2
Registered: Nov 2006
Location: USA, CA
Distribution: RedHat, Debian
Posts: 202

Rep: Reputation: 31
It looks like that on the second server original process forks a child of itself according to PID and PPID. Hard to tell why without knowing 'ibmproxy' and '*.conf' files. Is there a source code for 'ibmproxy'?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
strange behaviour marsques Slackware 11 02-15-2006 06:05 PM
Strange Behaviour! joshuarowley LQ Suggestions & Feedback 1 12-08-2005 03:36 PM
Strange root behaviour wardjame Linux - Newbie 7 11-10-2005 09:25 AM
Strange behaviour Anmol SUSE / openSUSE 2 10-27-2005 11:05 PM
Strange Behaviour mikeyt_3333 Linux - General 4 08-06-2001 03:07 PM

All times are GMT -5. The time now is 12:00 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration