Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old September 11th, 2002, 02:30 PM
LogicMan LogicMan is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2001
Posts: 194 LogicMan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 40 m 55 sec
Reputation Power: 7
too many processes of the same class open...

hello.....I am runing a smtp filter server on port 25. When I start this server from the command line (java nameofserver), it starts......and when i do 'ps --aux' it shows me about 9 instances of this server with diff. PID's

Code:
root     12212  3.3  3.5 203644 8676 pts/0   S    15:47   0:00 java DSServer
root     12213  0.0  3.5 203644 8676 pts/0   S    15:47   0:00 java DSServer
root     12214  0.0  3.5 203644 8676 pts/0   S    15:47   0:00 java DSServer
root     12215  0.0  3.5 203644 8676 pts/0   S    15:47   0:00 java DSServer
root     12216  0.0  3.5 203644 8676 pts/0   S    15:47   0:00 java DSServer
root     12217  0.0  3.5 203644 8676 pts/0   S    15:47   0:00 java DSServer
root     12218  0.0  3.5 203644 8676 pts/0   S    15:47   0:00 java DSServer
root     12219  0.0  3.5 203644 8676 pts/0   S    15:47   0:00 java DSServer
root     12220  0.0  3.5 203644 8676 pts/0   S    15:47   0:00 java DSServer


this server is multithreaded and spawns of threads only when there is an incoming connection...so why does it show me 9 instances of it when it starts????
__________________
Web Development Studio | XML/ XSL/ PHP/ Flash/ Mysql | Digital Metamorphoses |
http://www.dimensionstudio.biz

Reply With Quote
  #2  
Old September 12th, 2002, 06:21 AM
Mirax's Avatar
Mirax Mirax is offline
Senior Member
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Jun 2000
Location: Enschede, The Netherlands
Posts: 1,527 Mirax User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 49 m 2 sec
Reputation Power: 10
<< Linux Newbie so I'm not sure, but...

Looks to me the server has 'X' instances running to be able to handle 'X' connections to it at the same time. If so, you can probably find some variable somewhere in the config-files stating how much there are on startup. I remember Apache having something like this as well

PS. If this is BS plz forget it.. Only trying to give a fast answer
__________________
There are 10 types of people in this world - those who understand binary and those who don't...

PHP | MySQL | DevShed Forum Search | Google Search

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > too many processes of the same class open...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway