The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Java application getting killed automatically in Solaris ashish.nijai SUN Solaris 3 06-02-2008 01:43 PM
ls is being killed darkrainbow UNIX for Advanced & Expert Users 7 02-20-2008 06:53 PM
Port used needs to be killed chrisanto_2000 SUN Solaris 2 07-04-2007 04:39 PM
I'm getting killed and I don't know why. tphyahoo UNIX for Dummies Questions & Answers 1 05-29-2006 04:42 AM
process not getting killed finster UNIX for Dummies Questions & Answers 5 03-26-2005 10:26 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 02-23-2005
Registered User
 

Join Date: Dec 2004
Location: India
Posts: 10
Exclamation Application getting killed after one day ??? Help !!!!

Hai ,

I am working on a system with unix and solaris 5.8 loaded.

The problem is when I leave an application open for more than one day .. it gets killed .. and my one day work goes waste and I have to start all over again .. ???


Is there any way I can find out the maximum number of hours that a process can run using some command ??


Thanks in advance


Regards,
ajphaj
Reply With Quote
Forum Sponsor
  #2  
Old 02-24-2005
Registered User
 

Join Date: May 2002
Posts: 12
What type of application is getting killed? What is the message you get when the application is killed? Are you using a terminal window or GUI?

Without more information I am guessing any of the following could potentially be your problem.

1/. The application is running out of available open files
2/. A firewall or network device is dropping the session
3/. You are exiting the shell and the process dies.

I would suggest you find out what the error message is and then we can start some trouble shooting...

blp001
Reply With Quote
  #3  
Old 02-24-2005
Registered User
 

Join Date: Dec 2004
Location: India
Posts: 10
Application getting killled

hai,

The application I am running is a simulator for a network switch. The GUI is built using TCL/TK and it executes C programs in the background .

The problem is the Gui works fine but the background C program is getting killed ..??

As for error message I am not getting any ???

Is there any way the admin/ root user can specify the maximum number of hrs a process can run . ??? If there is how can I see the specified limit set by the root / admin


ajphaj
Reply With Quote
  #4  
Old 02-24-2005
bhargav's Avatar
Registered User
 

Join Date: Sep 2004
Location: USA
Posts: 511
Is there any activity to the application when that "C" program is killed ??
Does it generate any "core" file ??
Reply With Quote
  #5  
Old 02-24-2005
Registered User
 

Join Date: Dec 2004
Location: India
Posts: 10
Hai,

No there is no core dump generated .
Reply With Quote
  #6  
Old 02-24-2005
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,609
Try "ulimit -a" to see all of your limits. This is usually a shell built-in and you may need to try various shells. bash is good. There is a cpu second limit that can be set. This should display it. Also read "man getrlimit".
Reply With Quote
  #7  
Old 02-24-2005
Registered User
 

Join Date: Dec 2004
Location: India
Posts: 10
Thanks for advise ulimit

hai,

thanks a lot Perderabo. I will try to change the CPU limit and see it my application is working more than a day .


ajphaj
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 11:28 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0