Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Hi, I bought my DNS-323 Friday and spend the weekend hacking it --thanks to everybody for a very clear set of how-tos and some well-thought-out code. I got fun_plug, BackupPC and fanspeed control running in no time. However, while the DNS was working fine the first couple of days, yesterday it started giving me an amber LED on the right bay and the smbd process went away --and 'smb restart' doesn't bring them back. After turning off things one-by-one, the culprit seems to be the BackupPC daemon: as soon as that is deactivated, the DNS is fine; If I bring it back up it crashes smbd within an hour or two.
Any ideas on what may be going on and how to fix it? My own guess is that BackupPC takes up too much RAM (I have ~1M free with everything running and no big file transfers going on). Are there any tricks on how to bring down its memory usage?
I am running FW 1.05, the latest fun_plug and BackupPC; BackupPC is setup to use rsyncd, not samba (which makes me think it's the RAM) and FWIW, it seems to be working fine on its own. I turned on syslog but I don't see anything suspicious in the logs or in dmesg.
Offline
For Google: after a bit more monitoring, I've figured out the problem: during the configuration of BackupPC (i.e. running configure.pl) I set the backup directory as "/Backups", which actually points to the RAM disk. After installation I changed this to /ffp/Backups (i.e. hard drive), but the original choice seems to have been hard-coded into the BacupPC script by configure.pl, and althought BPC would use the correct backup directory, once an hour for whatever reason it started writing to the RAMdisk, filling it up which caused smbd to segfault. I re-run configure.pl and added a 'ln -s /ffp/Backups /Backups' to the top of the BackupPC /ffp/start script (I think either of these would fix it, but I am sick of this by now), and the problem has gone away. But it sounds to me like a BPC bug...
Offline