UNIX Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsUNIX 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:
  #1  
Old June 14th, 2006, 06:40 AM
zen00 zen00 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2006
Posts: 3 zen00 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 21 m 41 sec
Reputation Power: 0
Help needed on pts/36

Hi,

can anyone tell me why do I get pts/36 or pts/31 for some processes?

Thanks in advance.

Reply With Quote
  #2  
Old June 14th, 2006, 09:03 AM
SimonJM SimonJM is offline
Contributing User
Dev Shed Novice (500 - 999 posts) Click here for more information
 
Join Date: Mar 2006
Posts: 767 SimonJM User rank is Major (30000 - 40000 Reputation Level)SimonJM User rank is Major (30000 - 40000 Reputation Level)SimonJM User rank is Major (30000 - 40000 Reputation Level)SimonJM User rank is Major (30000 - 40000 Reputation Level)SimonJM User rank is Major (30000 - 40000 Reputation Level)SimonJM User rank is Major (30000 - 40000 Reputation Level)SimonJM User rank is Major (30000 - 40000 Reputation Level)SimonJM User rank is Major (30000 - 40000 Reputation Level)SimonJM User rank is Major (30000 - 40000 Reputation Level)SimonJM User rank is Major (30000 - 40000 Reputation Level) 
Time spent in forums: 2 Weeks 1 Day 23 h 25 m 34 sec
Reputation Power: 336
That is the pseudo terminal that is being used at the time - if you have diffferent ones (at the same time) I would think that you have two concurrent logins. If you are seeing that being displayed in the output froma ps command, that is the terminal that process is running 'on' - try a w or just ps (no other parameters) command.

Reply With Quote
  #3  
Old June 14th, 2006, 10:15 AM
zen00 zen00 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2006
Posts: 3 zen00 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 21 m 41 sec
Reputation Power: 0
now here's the exact problem that I'm facing

When my program runs with less data, it runs fine.
When there's lots of data, it suddenly shows pts/36 and it does not run any more.
Any idea what might be the cause of it and any pointer to a solutoin?
Thanks in advance.

Reply With Quote
  #4  
Old June 14th, 2006, 02:18 PM
Ehlanna's Avatar
Ehlanna Ehlanna is offline
Not a clue what to put ...
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jan 2006
Location: in front of this keyboard
Posts: 815 Ehlanna User rank is Captain (20000 - 30000 Reputation Level)Ehlanna User rank is Captain (20000 - 30000 Reputation Level)Ehlanna User rank is Captain (20000 - 30000 Reputation Level)Ehlanna User rank is Captain (20000 - 30000 Reputation Level)Ehlanna User rank is Captain (20000 - 30000 Reputation Level)Ehlanna User rank is Captain (20000 - 30000 Reputation Level)Ehlanna User rank is Captain (20000 - 30000 Reputation Level)Ehlanna User rank is Captain (20000 - 30000 Reputation Level)Ehlanna User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 2 Weeks 2 Days 5 h 43 m 48 sec
Reputation Power: 243
One would have to ask: what program and what is it (supposed to be) doing?
__________________
According to Sod's Law, buttered toast lands butter side down, when dropped.
Per nature, cats always land on their feet.
So, what happens when you strap buttered toast to the back of a cat and throw it out a window?
.

Reply With Quote
  #5  
Old June 15th, 2006, 01:55 AM
zen00 zen00 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2006
Posts: 3 zen00 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 21 m 41 sec
Reputation Power: 0
The problem is ..

I have a program that keeps requests in a JMS queue.
It takes request objects from the queue and processes it.
It can process only 10 requests at once because the next system can take only 10 at one go.
Now, if the number of requests is more than 10, then my program goes for a toss.. dunno why, but the thread simply stops, and it does not restart. I need to kill it manually and restart.
If the number of requests is not more than 10, then it just goes to sleep and wakes up as expected.
Only at the time when it 'stops', I get to see pts/31 or pts/36 against it when I do a pf java.

Reply With Quote
  #6  
Old June 15th, 2006, 10:36 AM
Ehlanna's Avatar
Ehlanna Ehlanna is offline
Not a clue what to put ...
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jan 2006
Location: in front of this keyboard
Posts: 815 Ehlanna User rank is Captain (20000 - 30000 Reputation Level)Ehlanna User rank is Captain (20000 - 30000 Reputation Level)Ehlanna User rank is Captain (20000 - 30000 Reputation Level)Ehlanna User rank is Captain (20000 - 30000 Reputation Level)Ehlanna User rank is Captain (20000 - 30000 Reputation Level)Ehlanna User rank is Captain (20000 - 30000 Reputation Level)Ehlanna User rank is Captain (20000 - 30000 Reputation Level)Ehlanna User rank is Captain (20000 - 30000 Reputation Level)Ehlanna User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 2 Weeks 2 Days 5 h 43 m 48 sec
Reputation Power: 243
pf java? What does that do/show? If you meant doins a ps to check for java processes then what you are seeing is just what 'terminal' the program is running on.
I would suspect your program, I hate to say, is not managing to properly deal with > 10 messages on the queue - it may be worth looking to see how you are storing them for processing. Are you, for example, loading then into an array and then going through the array? Not stopping correctly at the end of an array is a fairly common problem - normally down to a mis-understood test and value of subscript: should it be sub > value or sub >= value to terminate the loop?

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsUNIX Help > Help needed on pts/36


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 1 hosted by Hostway
Stay green...Green IT