Process segfault causing sys resource block

From: Gianluca Alberici
Date: Sat Mar 08 2008 - 05:18:02 EST


Hello,

I want to submit this case which in my understanding is quite abnormal. I have found on a production server (2.6.20)
three segfaulted apache child that are marked as 'D'efunct.
Stopping apache caused init to adopt them. But they dont respond (i think because being segfaulted they're probably not in a good mood)
and they (one of them) keep locked:

- TCP port 80 (Got open/freezed socket)
- The nfs mount over which they read files

Result: i have three 'defunct' processes that are basically locking main system resources. Cant restart apache, cant restart NFS.
Only solution (for me): rebooting (and thats what i did).

Is there any other way to wipe these processes and/or freeing sys resources without rebooting ?
If not, wouldnt it be a good thing to avoid userspace crashes like this to cause deadlocks/DOS ?

Thanks for any help/opinion,

Gianluca


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/