![]() |
| | #1 |
| Registered User Join Date: Oct 2006
Posts: 338
| Processes in uninterruptible sleep I know it's customary to show source code that exhibits the problem, but since I can't reproduce the problem on command, I don't know if source code would really be useful in this case. |
| Elkvis is offline | |
| | #2 |
| Registered User Join Date: Mar 2003
Posts: 3,956
| Anything interesting in "dmesg"? gg |
| Codeplug is offline | |
| | #3 |
| dat is, vast staat Join Date: Jul 2008 Location: SE Queens
Posts: 6,612
| I think this is usually considered to be a hardware I/O issue. It will happen when the kernel is reading or writing to some hardware (eg, disk or the network card) and gets no reply. I guess that implies something could be broken -- you need to resolve what kind of hardware access is causing that to happen.
__________________ C programming resources: GNU C Function and Macro Index -- glibc reference manual The C Book -- nice online learner guide Current ISO draft standard CCAN -- new CPAN like open source library repository GDB tutorial #1 -- gnu debugger tutorials -- GDB tutorial #2 cpwiki -- our wiki on sourceforge |
| MK27 is offline | |
| | #4 |
| dat is, vast staat Join Date: Jul 2008 Location: SE Queens
Posts: 6,612
| Yeah, for sure check the logs, like /var/messages and /var/kern.log or whatever they are called. You may (probably) want to set the kernel and system logging level with klogd()/syslogd() if you are not getting any message about it.
__________________ C programming resources: GNU C Function and Macro Index -- glibc reference manual The C Book -- nice online learner guide Current ISO draft standard CCAN -- new CPAN like open source library repository GDB tutorial #1 -- gnu debugger tutorials -- GDB tutorial #2 cpwiki -- our wiki on sourceforge Last edited by MK27; 02-08-2010 at 12:04 PM. |
| MK27 is offline | |
| | #5 |
| Registered User Join Date: Oct 2006
Posts: 338
| |
| Elkvis is offline | |
| | #6 | |
| Registered User Join Date: Oct 2006
Posts: 338
| Quote:
so perhaps the firewall cuts off the connection but doesn't notify the kernel that the socket is being closed. is this even possible? is it possible to configure the firewall to handle port 80 as a raw port instead of expecting http (if it even enforces protocols at all)? | |
| Elkvis is offline | |
| | #7 |
| Staff software engineer Join Date: Mar 2007 Location: Portland, OR
Posts: 6,014
| Are you using semaphores?
__________________ "Congratulations on your purchase. To begin using your quantum computer, set the power switch to both off and on simultaneously." -- raftpeople@slashdot |
| brewbuck is offline | |
| | #8 |
| Registered User Join Date: Oct 2006
Posts: 338
| |
| Elkvis is offline | |
| | #9 |
| Registered User Join Date: Mar 2003
Posts: 3,956
| "Alt+SysRQ+t" may give a clue by dumping a stack trace of the D-state processes. If you only care about a solution (instead of "why"), then your time may be better spent trying to reproduce the issue in the latest stable kernel (2.6.32.7). gg |
| Codeplug is offline | |
| | #10 | |
| Registered User Join Date: Oct 2006
Posts: 338
| Quote:
also, opensuse 10.3 is not supported anymore, and I'd like to try using the kernel package from the 11.2 distribution (linux 2.6.31.5). can you see any problems I might face while doing this? is it even something I should consider doing? | |
| Elkvis is offline | |
| | #11 | |
| {Jaxom,Imriel,TBD}'s Dad Join Date: Aug 2006 Location: Alabama
Posts: 1,035
| Quote:
| |
| Kennedy is offline | |
| | #12 | |||
| Registered User Join Date: Oct 2006
Posts: 338
| Quote:
Quote:
Quote:
| |||
| Elkvis is offline | |
| | #13 | ||
| dat is, vast staat Join Date: Jul 2008 Location: SE Queens
Posts: 6,612
| Quote:
Quote:
If you think a new kernel will help maybe first try the newer distro package. If you already have a 2.6 kernel, though, you may as well stick with what you've got. One thing I would definitely do is get on the user mailing list for the firewall and present your case there, hopefully someone will have some more pertinent advice.
__________________ C programming resources: GNU C Function and Macro Index -- glibc reference manual The C Book -- nice online learner guide Current ISO draft standard CCAN -- new CPAN like open source library repository GDB tutorial #1 -- gnu debugger tutorials -- GDB tutorial #2 cpwiki -- our wiki on sourceforge Last edited by MK27; 02-08-2010 at 03:09 PM. | ||
| MK27 is offline | |
| | #14 | |
| Staff software engineer Join Date: Mar 2007 Location: Portland, OR
Posts: 6,014
| Quote:
__________________ "Congratulations on your purchase. To begin using your quantum computer, set the power switch to both off and on simultaneously." -- raftpeople@slashdot | |
| brewbuck is offline | |
| | #15 |
| Registered User Join Date: Dec 2009 Location: Henderson, NV
Posts: 887
| To turn it another way, if you did not have to recompile driver/app X to install it, you probably won't have to after another kernel upgrade. For example back in the day you had to rebuild nVidia drivers or Alsa drivers after a kernel update. Now when you have a repository as large as Debian/Ubuntu it is no longer necessary. This is not a guarantee or an absolute but it has been a LOOOONG time since I have had to rebuild a driver after a kernel update. Now before anyone jumps on my case I am not trying to start a distro war or anything but I do want to say this about kernel rebuilding: The Debian way is IMHO the safest and easiest for those who are new to it, unsure about kernel configuration etc. Many moons ago I submitted a Debian How-To to Linux Laptops that used kernel rebuilding to support some of the hardware on a Vaio. You can look here to see how easy it is...JBCobb.net » Post Topic » The difference between “Don’t wanna” and “Can’t”. Yeah I know its dated now but the process of building the kernel and the help that Debian gives you here is what I am referring to. Oh and I agree 1000% with MK: you really ought to rethink the wisdom of sticking non-HTTP services on a port universally recognized as HTTP. It's about the only thing Windows and UNIX agree on... |
| jeffcobb is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Zombie and Uninterruptable Sleep Processes | pomprocker | Linux Programming | 7 | 01-27-2010 10:53 AM |
| Doing my own shell, how to properly execute processes in background/foreground? | Nazgulled | C Programming | 34 | 05-27-2009 12:26 PM |
| Putting other processes to sleep | brett | C Programming | 12 | 12-12-2007 01:24 AM |
| binary tree of processes | gregulator | C Programming | 1 | 02-28-2005 12:59 AM |
| Sleep is overrated... | Polymorphic OOP | A Brief History of Cprogramming.com | 24 | 01-24-2003 12:40 PM |