smb processing gets runaway process
|Status:||Closed||Start date:||03 Jul 2014|
|Target version:||PiBox - 0.9.0|
|Severity:||02 - High|
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.
#3 Updated by Hammel about 5 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 almost 5 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.