Application getting killed after one day ??? Help !!!!


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Application getting killed after one day ??? Help !!!!
# 1  
Old 02-24-2005
Error 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
# 2  
Old 02-24-2005
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  
Old 02-24-2005
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  
Old 02-24-2005
Is there any activity to the application when that "C" program is killed ??
Does it generate any "core" file ??
# 5  
Old 02-24-2005
Hai,

No there is no core dump generated .
# 6  
Old 02-25-2005
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  
Old 02-25-2005
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
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Julian day to dates in YEAR-MONTH-DAY

hello, I have many files called day001, day002, day003 and I want to rename them by day20070101, day20070102, etc. I need to do it for several years and leap years as well. What is the best way to do it ? Thank you. (1 Reply)
Discussion started by: Ggg
1 Replies

2. UNIX for Dummies Questions & Answers

Move the files between Current day & a previous day

Hi All, I have a requirement where I need to first capture the current day & move all the files from a particular directory based on a previous day. i.e move all the files from one directory to another based on current day & a previous day. Here is what I am trying, but it gives me errors.... (2 Replies)
Discussion started by: dsfreddie
2 Replies

3. Shell Programming and Scripting

Script to check if last modified day is previous day

Hi, I would like to write a script that checks if a file ('counter') was modified the previous day, if so erase its contents and write 00000000 into it. For e.g. if the file 'counter' was last modified at 11.30pm on 24th May and the script runs at 12.15am of 25th May, it should erase it's... (1 Reply)
Discussion started by: hegdepras
1 Replies

4. Shell Programming and Scripting

Code creates day 32 instead of 1st day of next month.

I am using the code below modified from a post I saw here regarding having the script write out future dates. The problem is that instead of making 8/1 it makes 7/32! Please help! yy=`date +%Y` mm=`date +%m` dd=`date +%d` echo "Today is : $yy $mm $dd" #!/usr/bin/ksh date '+%m... (5 Replies)
Discussion started by: libertyforall
5 Replies

5. Solaris

May i know the day to day activities of a Solaris system administrator?

Recently i have attended a telephonic interview. As i dont have work experience in solaris i was not able to deliver correct answer for this question. Your answer will help for the people like me who is looking to become Solaris System administrator. (4 Replies)
Discussion started by: Sesha
4 Replies

6. Shell Programming and Scripting

Script to find previous month last day minus one day timestamp

Hi All, I need to find the previous month last day minus one day, using shell script. Can you guys help me to do this. My Requirment is as below: Input for me will be 2000909(YYYYMM) I need the previous months last day minus 1 day timestamp. That is i need 2000908 months last day minus ... (3 Replies)
Discussion started by: girish.raos
3 Replies

7. Solaris

Java application getting killed automatically in Solaris

Hi to all, I have developed a Java application for Solaris 10. I am uing JDK 5. But it is getting killed after some time. And at the terminal, I got message as Killed. I am new to Solaris. Can anybody help me? (3 Replies)
Discussion started by: ashish.nijai
3 Replies

8. Solaris

/var size is increasing day by day

Hi experts, I am facing a big problem. i use solaris 9. i found size of /var is increasing day by. snapshot of a yester moring- /dev/vx/dsk/var 15G 14G 1.1G 94% /var snapshot of a yesterday everning- /dev/vx/dsk/var 15G 14G 824M 95% /var I am... (11 Replies)
Discussion started by: thepurple
11 Replies

9. Shell Programming and Scripting

Write a shell script to find whether the first day of the month is a working day

Hi , I am relatively new to unix... Can u pls help me out to find out if the first day of the month is a working day ie from (Monday to Friday)...using Date and If clause in Korn shell.. This is very urgent. Thanks for ur help... (7 Replies)
Discussion started by: phani
7 Replies
Login or Register to Ask a Question