![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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 |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
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 |
|
#3
|
|||
|
|||
|
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 |
|
#4
|
||||
|
||||
|
Is there any activity to the application when that "C" program is killed ??
Does it generate any "core" file ?? |
|
#5
|
|||
|
|||
|
Hai,
No there is no core dump generated . |
|
#6
|
||||
|
||||
|
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".
|
|
#7
|
|||
|
|||
|
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 |
|||
| Google The UNIX and Linux Forums |
| Thread Tools | |
| Display Modes | |
|
|