• February 23, 2025, 01:03:25 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Suspect memory leak in smb code  (Read 3893 times)

dir505

  • Level 1 Member
  • *
  • Posts: 6
Suspect memory leak in smb code
« on: August 03, 2013, 06:21:25 PM »

Hi,

I have a 645.  HW: A1, FW: 1.01.  Every 2 weeks or so, I'm not really sure, the 645 will not alow mounting of the attached USB hard drive.

I'm running unix, so I can't use the sharing utility.  Don't really need it.  Unfortunately, I can't remember the exact error, but it is something like:

smb_mount: Cant allocate memory

When it happens again, I'll post the exact error.

The fix is to reboot the 645, which I did yesterday, and all is well.  There is no internet access for this 645, It's purely used as a sharing device.  My neighbour who uses windows, also gets a similar memory error when trying to mount the drive.

I haven't seen any fixes for this type of issue in FW 1.04, but I'm going to apply it at the next opportunity.

It should be fairly simple to reproduce.

Thankx.
Logged

dir505

  • Level 1 Member
  • *
  • Posts: 6
Re: Suspect memory leak in smb code
« Reply #1 on: August 30, 2013, 06:24:13 PM »

Well, it's offline again.  Took 26 days to become unavailable.  A reboot has fixed it.  The errors are as follows:

Windows:

T: is not accessible.

Insufficient system resources exist to complete the requested service.

For the share mapped as T: drive, of course.

Unix:

mount_smbfs: unable to open connection: syserr = Cannot allocate memory

The next time it happens, I'll upgrade the firmware, but I don't think that will help.  Reminds me of friends telling me that they have to reboot their ADSL modem every 2 months or so.  This sounds like the same issue.

Do you think I should open a case with D-Link ?

Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Suspect memory leak in smb code
« Reply #2 on: August 30, 2013, 06:32:11 PM »

Does it happen with a different USB drive?
Happens if you load v1.04 FW?
« Last Edit: September 02, 2013, 10:23:42 AM by FurryNutz »
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.