• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 312
  • Last Modified:

How to keep my process running when connection is lost?

Hi

I login to the AIX server using Exceed HostExplorer. I have root access but no access to the physical machine.

Today I lost the connection while doing a long time restore. How do I know if the restore process is still running or not? How can I keep the process running when losing the connection? Thanks.

Another un-related question. We have performance problem on the server. How can I convince the admin that the server is overload, not our application issue? Please give some commands to list some data, thanks.

Jirong
0
hujirong
Asked:
hujirong
  • 4
  • 2
2 Solutions
 
sjm_eeCommented:
Q How do I know if the restore process is still running or not?
A Try "ps -aef | grep <restore command>"

Q How can I keep the process running when losing the connection?
A Run your restore as "nohup <restore command> >/tmp/restore.out 2>&1 &"

Q How can I convince the admin that the server is overload, not our application issue?
A Please refer to other answers to questions of bottleneck finding
0
 
gheistCommented:
1) or BSD way - ps auxww
2) ask admin to install GNU screen utility
3)
run "uptime" , rightmost three should not be above 10
run vmstat 1 5 , rightmost one should not be around 100 (percent of CPU spent for waiting for IO)
ask admin to install "monitor" from bullfreeware and "topas" from IBM
ask admin to explore WLM - workload management facility
ask admin to assess memory allocation pattern of your application and use vmtune to adjust to match

post output of mentioned uptime and vmstat commands along with oslevel -r
most likely your admin should install AIX patch set known as "Maintenance Level" before commencing to determining performance problems

What is application that suffers - if this is standard application like apache, java or some database - there is more before tuning system as such
0
 
hujirongAuthor Commented:
Here is the data. I don't really know how to read this. Thanks.

/home/jihu $ uptime
  09:23AM   up 2 days,   6:42,  2 users,  load average: 0.04, 0.12, 0.14
/home/jihu $ vmstat 15
System Configuration: lcpu=2 mem=4096MB
kthr     memory             page              faults        cpu
----- ----------- ------------------------ ------------ -----------
 r  b   avm   fre  re  pi  po  fr   sr  cy  in   sy  cs us sy id wa
 1  1 263598 535790   0   0   0  23   60   0 432 5651 628  2  2 94  2
 0  0 263580 535808   0   0   0   0    0   0 283  481 243  0  0 99  0
 0  0 263580 535808   0   0   0   0    0   0 284  282 246  0  0 99  0
 2  0 263581 535787   0   0   0   0    0   0 291  791 270  1  0 98  1
 1  0 263581 535787   0   0   0   0    0   0 289  669 250  0  3 97  0
 1  0 271209 527765   0   0   0   0    0   0 455 75446 559  3  6 89  1
^C/home/jihu $ oslevel -r
5200-03
/home/jihu $
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
gheistCommented:
uptime says taht another process waited .04 of time for another to free processor - all os fine
wa is 2% at maxmum - it is fine
id is 90+% - at disposal of your app - it is fine
no swapping, lots of free RAM - everything seems bright.

Admin can upgrade, but all after all it seems more like application program , sorry for disapointment.
http://www-912.ibm.com/eserver/support/fixes/maintpkg.jsp?system=2&release=52

Is your application something you wrote, something off the shelf (name it then) or something written by someone unknown to world ???
0
 
hujirongAuthor Commented:
Thanks a lot for your help.

The application is IBM Rational ClearCase. We are still OK, but I have to monitor its performance. I am glad to hear that the server is in a quite good condition, for we have many new users joined recently.

Jirong
0
 
gheistCommented:
Suggestion for your admin - disable Nagle's algorithm fo network adapters:
ifconfig en0 tcp_nodelay 1
ifconfig lo0 tcp_nodelay 1

Problem can be extra traffic, no problem if you do not use 9600bps lines.
It fixes apps that do not disable that on sockets, and makes at least one database system very speedy.

0
 
gheistCommented:
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.
I will leave the following recommendation for this question in the Cleanup topic area:

Split between sjm_ee http:#16240731 and gheist http:#16252884

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

gheist
EE Cleanup Volunteer
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now