HP-Unix; .net application creates processes


 
Thread Tools Search this Thread
Operating Systems HP-UX HP-Unix; .net application creates processes
# 1  
Old 02-24-2009
HP-Unix; .net application creates processes

I have a .net application that works with an Oracle database in HP-Unix.

Problem: .net application creates Oracle processes that don't close. By default Oracle can work with 200 active processes and after that crashes. I doubled this number and I don't have to many problems.

I want: to close this processes.

Obs: the programmer tell me that he closes the .net connection after he sends an update/delete/insert to the Oracle however not all of this processes close by themself.

Any idea?

Thank you!
# 2  
Old 02-25-2009
Im old and half stupid... so forgive my silly question:

What is running where? I dont know what .net application is and havent seen such thing installed on HPUX ( Its Microsoft stuff no for MS OS no?).
I understand you have a win server with a .net application accessing a HPUX server being a rdbms server is that right?
# 3  
Old 02-25-2009
.net

You are correct, I have a .net application on a Windows machine that is accessing the Oracle under HP-Unix.
# 4  
Old 02-25-2009
.net

By the way, sometimes HP-Unix closes the processes, sometimes it doesn't (take a look below - last line):

root:/ ps -eaf|grep oracleTRLV |wc
36 324 3178
root:/ ps -eaf|grep oracleTRLV |wc
36 324 3178
root:/ ps -eaf|grep oracleTRLV |wc
36 324 3178
root:/ ps -eaf|grep oracleTRLV |wc
37 333 3248
root:/ ps -eaf|grep oracleTRLV |wc
38 342 3357
root:/ ps -eaf|grep oracleTRLV |wc
38 342 3357
root:/ ps -eaf|grep oracleTRLV |wc
38 342 3357
root:/ ps -eaf|grep oracleTRLV |wc
39 351 3426
root:/ ps -eaf|grep oracleTRLV |wc
24 216 2220
root:/
# 5  
Old 02-25-2009
Now it makes a little more sense to me...
The issues I see can happen on your HP will be
Users ( oracle ) cant connect anymore, and in worst case you loose also the connection...
Only a reboot can solve at this point (very rare...).

I will go and look if I can find you a ( live) sample...
# 6  
Old 02-25-2009
.net

The problem is that Oracle can work with X (by default X = 200) number of processes and after that it crashes.

The question that I have is this: how is it possible for HP-Unix sometimes to close the processes (see below) and sometimes not to?

root:/ ps -eaf | grep oracleTRLV | wc
38 342 3239
root:/ ps -eaf | grep oracleTRLV | wc
19 171 1909
# 7  
Old 02-25-2009
No...
But here is things I would look at:
My experience with MS servers accessing UNIX boxes is MS parameter equivalent to Novell's Watchdog is a potential culprit:
The windows server has a connection timeout far too low and so believes it has lost a connection, closes certainly on his side and opens a new one on the poor UNIX which now has 2 opened connection with only one active the timeout on unix side is quite some time and if the windows server goes bezerk, then it will exaust all your connection resource (sockets).
You will therefore have to check with netstat command:
Code:
oke2:/home/vbe $ netstat -a|grep WAIT|wc -l                                           
119

The ones that are your concern are high FIN_WAIT_2 and maybe some TIME_WAIT

my 2 cents...

All the best

What OS version and plateform?

Last edited by vbe; 02-25-2009 at 12:42 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Web Development

ASP.NET 5 Application on Centos OS7 Web Hosting Server

Hi All, Frankly I'm new to Linux Environment. While we are trying to Host an ASP.NET 5 Web Application on Centos OS7 Web hosting Server. There were couple of steps which we are supposed to go through, please see this link - We are stuck at Create a Container & then Running the Container,... (1 Reply)
Discussion started by: John Fredric
1 Replies

2. Programming

Switch Technology from .NET to UNIX Shell

Hello friends, I started my career with VB.6.0 in 2007, In 2008 moved in VB.NET window application programming and then for web application programming with C#,ASP.NET with different databse like Oracle,MySQL and SQL Server.Currently I have 4.7 years experience in .NET application and worked... (8 Replies)
Discussion started by: Amit Verma
8 Replies

3. UNIX for Dummies Questions & Answers

Run C# .NET Application in Unix

I have an application I wrote that is designed to run on a windows system but now starting to think I would rather be using Unix. Would the application have to be 100% rewritten to work on unix, or is there something I could install that would allow me to run my .NET application inside unix? (2 Replies)
Discussion started by: redbrad0
2 Replies

4. Windows & DOS: Issues & Discussions

Controlling AIX processes remotely using a NET app on a Windows server?

I have a .NET application that remotely starts, stops, and gets status of Windows services and scheduled tasks. I would like to add the capability of starting, stopping, and getting status of remote AIX applications also. Based on some preliminary research, one option may be to use 3rd party .NET... (0 Replies)
Discussion started by: auser1
0 Replies

5. Shell Programming and Scripting

Finding the age of a unix process, killing old processes, killing zombie processes

I had issues with processes locking up. This script checks for processes and kills them if they are older than a certain time. Its uses some functions you'll need to define or remove, like slog() which I use for logging, and is_running() which checks if this script is already running so you can... (0 Replies)
Discussion started by: sukerman
0 Replies

6. Windows & DOS: Issues & Discussions

.NET on unix ?

hi, this is probably a terrible question: can I program using .NET on Unix Servers ? thanks Patrick (2 Replies)
Discussion started by: aneuryzma
2 Replies

7. AIX

From ASP.NET to Oracle on unix

Dear all , I have a serious question and i need an answer before i go throught a new project. I have an oracle DB is on remote UNIX box.How can I connect through ASP.net on a windows server machine to the oracle db and do all the jobs i need (insert ,update delete) ? is their is a way ?? please... (2 Replies)
Discussion started by: hoshakhs
2 Replies

8. Windows & DOS: Issues & Discussions

ASP.net in unix based system. Someone Help Me

Hi Guys, i am new to the fourms.. i have one doubt related to unix.. i was developed one application in asp.net under windows platfrom. i want to run this application in sun one web server under unix environment.. Its possible or not .. please calrify my doubt. Thanks and Regards... (4 Replies)
Discussion started by: ksathiya76
4 Replies
Login or Register to Ask a Question