LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 11-28-2007, 02:51 PM   #1
lionking_x
Member
 
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

127


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
rsashok
Member
 
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'?
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:26 AM.

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