Bug #353

smb processing gets runaway process

Added by Hammel over 3 years ago. Updated about 3 years ago.

Status:ClosedStart date:03 Jul 2014
Priority:ImmediateDue date:
Assignee:Hammel% Done:

100%

Category:-
Target version:PiBox - 0.9.0
Severity:02 - High

Description

There is something wrong with the smb configuration that causes piboxd's smb thread to spawn and fail to mount, causing shell zombies. This happens fairly fast so the process list fills up pretty fast.

Workaround is to disable the start/stop of smb thread in src/piboxd.c in the piboxd source tree.

Associated revisions

Revision f2bf3cc4
Added by Hammel about 3 years ago

RM #353: The two calls to popen() did not have associated calls to pclose(). That has been fixed and the runaway processes problem appear to be fixed.

History

#1 Updated by Hammel over 3 years ago

  • Description updated (diff)

#2 Updated by Hammel about 3 years ago

  • Severity changed from 01 - Critical to 02 - High

#3 Updated by Hammel about 3 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 50

The two calls to popen() did not have associated calls to pclose(). That has been fixed and the runaway processes problem appear to be fixed.

Will keep this open until I've verified that a video player can mount the video server.

#4 Updated by Hammel about 3 years ago

  • % Done changed from 50 to 70

Runaway process does seem to be gone but I need to change the default command to the following (with appropriate wildcards for IP addresses):

mount -t cifs //192.168.3.1/media /media/smb/192.168.3.1 -o username=guest,guest,sec=ntlm

Once this is tested on both the server and player and shown to be working I can close this issue.

#5 Updated by Hammel about 3 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 70 to 100

Verified working on both server and player.

Closing issue.

Also available in: Atom PDF