Find the answer to your Linux question:
Results 1 to 2 of 2
We run a number of applications in individual xterms (xterm -e <whatever>). Seemingly related to the level of debug information coming to stdout, the xterm will periodically "freeze" the running ...
  1. #1
    Just Joined!
    Join Date
    Aug 2009
    Posts
    1

    Xterm freezes while running process

    We run a number of applications in individual xterms (xterm -e <whatever>). Seemingly related to the level of debug information coming to stdout, the xterm will periodically "freeze" the running program (the more output coming to the xterm buffer, the faster the freeze will occur). A simple movement of the mouse back into the xterm unfreezes the application.

    Has anyone see this before? Are there options I can put in the .XResources file that will prevent this hangup? Of course running these programs with nohup masks the issues but the nohup.out file grows dramatically.

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    My best guess is that the xterm freezes temporarily in order to deal with the memory issues caused by the application output overflowing the scroll-back buffer. It could be that because the xterm wasn't in focus that it was swapped to disc as well, resulting in the perceived behavior. So, check your memory and swap utilization. As for the use of nohup, you can redirect the output of the nohup'd application to /dev/null to keep nohup.out from growing, though at the cost of losing possibly important debug information.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...