|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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. ![]() |
|
#2
|
|||
|
|||
|
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.
|
|
#3
|
|||
|
|||
|
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. ![]() |
|
#4
|
||||
|
||||
|
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?. |
|
#5
|
|||
|
|||
|
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. |
|
#6
|
||||
|
||||
|
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? |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > Help needed on pts/36 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|