For Programmers: Free Programming Magazines  


Home > Archive > Unix Programming > January 2005 > Is it possible to totally hang system from user process









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Is it possible to totally hang system from user process

2005-01-26, 8:57 pm

I have a situation where our program(s) completely hang the system.
OS is MontaVista Embedded Linux on a xscale big-endian cpu.
Our app starts and hangs, and also hangs the system, can't ctrl-brk the app;
can't use console, can't telnet (not a rejected connection, just hangs
during the connect). I can, however, ping the system (thanks for small
favors).

I tried using gdb to attach to the process, and gdb also hangs.
Further, while building the app, if I had a large no. of objects, it would
also hang during the link for the shared library - by breaking it up into
multiple .so files, it succeeded.

It's obviously a resource problem, but I thought most *IX systems would
start grumbling about running out before just dying.

I have a smaller app that tests the no. of threads, semaphores, and files
and it behaves normally - running out with about 500 thrds and 127
semaphores.

This is a very large app and is obviously way too big for the system (64mb),
but should it be able to hang totally. The apps is fairly stable and runs
fine on AIX, Linux RH, HP, Solaris.

Any insight before I start flooding it with printfs???

Thanks much,
--

Jim


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com