process won't die in OpenBSD!

nuttervm

Golden Member
Nov 13, 1999
1,818
0
0
I have a few processes that simply will not die on my openbsd machine and i can't figure out how to get rid of it (without rebooting).

kill -9 PID will not kill the process(es), what other options do i have?

what i was doing:
i had apache running and apache would list files on a windows machine on my internal network. I was using sharity-light to mount a smb share onto my openbsd machine. i tried to use this combination to allow access to some ISO files for example. it worked just fine on a dir without many entries, but when i tried to enter a dir with alot of files, the process froze. i've rebooted all of the windows machines, but cannot unmount the shared drives in openbsd. i also cannot kill two instances of httpd. ps shows three instances of me trying to unmount the share, and even one rm -rf sitting there in limbo. any reference to the mounted dir in general locks up my terminal (even a root terminal). by reference i mean if i start typing in the path of the share, then hit tab to complete the name, it will hang.

it seems that my machine is pretty f*cked up and that maybe i should give in and reboot, but i hate to do the windows admin solution.

i need a n0cmonkey batsignal thing to show distress. help help there is a p133 in dire need of an ass kicking.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
I havent ever had a problem like that. Ive had some rogue processes that wouldnt die, but if I ignored them they didnt bother me much... Rebooting sounds like a good answer to me. Sorry to disappoint, but I dont think huge uptimes are all that great :p
 

BlackOmen

Senior member
Aug 23, 2001
526
0
0
<< Ive had some rogue processes that wouldnt die, but if I ignored them they didnt bother me much >>

Hmm, you've never had mount die on you while mounting a cdrom and would not die. Needless to say the cdrom door was locked and my poor cdrom was trapped forever!!! (or at least until i rebooted). This was a cd burned by a publishing company, and they were a bunch of morons who kept burning the cd with hfs (mac) format despite my pleas for iso9660. Mount would only halt on that cd, iso discs were fine. I tried kill -9 mount and nothing. I'm done whining now............
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0


<< << Ive had some rogue processes that wouldnt die, but if I ignored them they didnt bother me much >>

Hmm, you've never had mount die on you while mounting a cdrom and would not die. Needless to say the cdrom door was locked and my poor cdrom was trapped forever!!! (or at least until i rebooted). This was a cd burned by a publishing company, and they were a bunch of morons who kept burning the cd with hfs (mac) format despite my pleas for iso9660. Mount would only halt on that cd, iso discs were fine. I tried kill -9 mount and nothing. I'm done whining now............
>>



I have had a mount or two die on me, but that was a while ago. Now that you mention it, that was annoying :p
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Sounds like sharity-light is buggy, it should eventually time out and clean up it's children and exit or retry. If a process is stuck in a kernel path (most commonly waiting on I/O like you seem to be here) it can't die until that kernel path returns.
 

nuttervm

Golden Member
Nov 13, 1999
1,818
0
0
yeah, i think it is buggy too. the concept of it is cool, it mounts the windows share in a kind of wrapper to make openbsd think its mounting a nfs share. i think in the long run its more complicated than it need be.

what i dont get is why noone has written a decent smbmount for the BSD camp yet. similar to what n0c has been saying in another thread, no environment is totally unix anymore. i can't believe that all these unix lovers would give such hearty support for running samba on your openbsd machine, but then have no good way to do just the opposite and mount remote smb shares. seems stupid to me, totally one-way traffic..

has anyone used the full sharity version? its not freeware, so i'm hesitant to even look at it. in an ideal world i'd have all unix boxes and not have to deal with smb. how do all those hardcore guys on deadly.org access windows shares from their openbsd/freebsd desktops? are they just that super-cool that they don't have any windows boxes on their network?

btw i already rebooted the firewall and it works just fine... it still pisses me off though.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
I Almost bought it for Mac OS X, but I went out drinking instead. Its nice, but no software is perfect.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
it mounts the windows share in a kind of wrapper to make openbsd think its mounting a nfs share. i think in the long run its more complicated than it need be.

Yea, why not just port smbfs?

how do all those hardcore guys on deadly.org access windows shares from their openbsd/freebsd desktops? are they just that super-cool that they don't have any windows boxes on their network?

If you don't do it often, just can use smbclient like an ftp client.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
A lot of the guys on deadly.org use Windows as their desktop, or Linux. The right tool for the right job. OpenBSD doesnt always fit the bill.
 

nuttervm

Golden Member
Nov 13, 1999
1,818
0
0
I'm just a permanent kind of guy, i'd rather mount the drives and forget about them. For example, i like the idea of being able to sftp into my firewall, and then have instant access to any of the shared drives on my network. I've never really had issues with sftping in and then going to the shared drives, and i've only had minimal problems with using scp to access the drives (sometimes i have to reload a directory a few times, or maybe unmount/mount again). The only time i've had these nasty fatal errors are when i try to make apache and sharity-light work together (and using a large dir structure at that). i'd love to submit a bug report, but there doesn't seem to be any active development for the software.

it sure would be nice to just say mount -t smbfs //bleh/share guest

i agree with n0c that obsd doesn't always fit the bill, and i can't imagine myself using it as a desktop OS for a long time to come, but it sure would be nice to have reliable access to smb shares :)
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0


<< it sure would be nice to just say mount -t smbfs //bleh/share guest

i agree with n0c that obsd doesn't always fit the bill, and i can't imagine myself using it as a desktop OS for a long time to come, but it sure would be nice to have reliable access to smb shares
>>



Get your keyboard warmed up, vi ready, and some coffee! Sounds like you want to write some code! ;)

Im just trying to find information on limits and OpenBSD. Not fun :p
 

miniMUNCH

Diamond Member
Nov 16, 2000
4,159
0
0
well...don't feel too bad. I was trying to setup a linux server (RH 7.2) at my church and smb froze a couple times...so my priest couldn't get to jack on the server without rebooting it every now and then. Well...a unix 'grand poo baa' I am not and so I couldn't figure it out...so I said the heck with that and put the network back to p2p...it's only like four or five computers anyhow.

I use RH 7.2 at home but I have aspirations to, one day, transcend to a higher level...debian or some such.;):p

Actually, once I set up my computer with a remove HD rack...I'm going to install Gentoo's distro and keep that as my main linux system...I really like it.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0


<< thats me! i'm famous! >>



Id ask for your autograph, but unless its on a blank check of yours, I dont really want it ;)