RT-AX92U USB smb seems fragile, crashes router

  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

fancellu

New Around Here
Firmware: 3.0.0.4.386_43084-g728dd24

Copying 37gb to router usb 3.0 port via SMB with a nice Samsung 850 evo (NTFS) using an ORICO USB 3.1 enclosure, 30MB/s over wifi

Starts off fine, then gets slower and slower, then stops, 0 bytes per second, then v slow, then 0 and so on.

To the extent that eventually the internet stops, i.e. router hangs or spammed to death

If I stop it, wait a bit, then try again, it is fast once more

In case it was an NTFS issue I attached a 16gb usbkey, formatted to ext4, copied across 2gb video, router did the same.

May 5 06:05:04 crashlog: <4>smbd triggered out of memory codition (oom killer not called): gfp_mask=0x10200da, order=0, oom_score_adj=0
May 5 06:05:04 crashlog: <4>

Interestingly, FTP is fine, even to the NTFS disk. So it looks like writing via samba is the issue

Is this a known issue?
 

leerees

Senior Member
I use windows networking. We have a dedicated server that is connected to the main router via ethernet. It works perfectly and we frequently transfer huge files. However, that on it's own can ramp CPU usage up to 40% on the AX92u.

If you are plugging your drive into the router via the USB, you are also asking your router to be a file server. The AX92u has 512MB of RAM and no storage, I'd say your demands are too taxing for this little box.

Buy one of those dedicated "hard drive servers" / NAS storage boxes and plug that into the AX92u via ethernet.
 
Last edited:

fancellu

New Around Here
Well, it has 2 usb sockets, so I'm just using it as advertised.

its not being used like some office file server, just copying some videos across, one at a time, and it dies.

I had ZERO trouble doing just this, with a 5TB HD, on my old Archer vr900 or Fritzbox 7530, so can't see
why this shiny new router can't handle a nice 2TB SSD. As I said, is has zero problem with FTP dying, just SMB

I'll use FTP to copy across now, if I didn't have that I'd have simply plopped one of the above routers on the network, that don't cry
when you try to copy a file

Just disappointing that its SMB is so broken

Is this is known issue with these routers? You'd think they might want this new router to be more stable than old my routers
 

ColinTaylor

Part of the Furniture
Report it to Asus via the router's GUI at Administration > Feedback
 

Tech9

Very Senior Member
To the extent that eventually the internet stops, i.e. router hangs or spammed to death

The same happens with AC86U router. Runs low on memory and other services suffer. This is a router - use it as a router. Some Asuswrt options are marketing and usable under specific conditions only. That includes USB storage and dual WAN.
 

bbunge

Part of the Furniture
Using SMB on a router can be a problem. Merlin's firmware seems to do well with file transfers. But it is well known that drives with many files can stress RAM usage.
One fix is to add a swap file or partition to a USB drive. With Asus firmware the problem is mounting the swap. This is how I do it:

Enable SSH in Administration/System
Access the /jffs directory and create a file called post-mount. I use WinSCP and Putty.
In the post-mount file:
Code:
#!/bin/sh
swapon /tmp/mnt/(USB Name)/myswap.swp
Give the post-mount file 755 permissions.
Create a swap file on the USB drive:
Code:
dd if=/dev/zero of=/tmp/mnt/(USB Name)/myswap.swp bs=1k count=524288
mkswap /tmp/mnt/(USB Name)/myswap.swp
swapon /tmp/mnt/(USB Name)/myswap.swp
The above will create a 512 MB swap file. Adjust count= to suit your needs. Generally a swap equal to the router RAM is sufficient.
Note: Replace (USB Name) with the name of your USB device. You should use a thumb/SSD drive for this as a conventional hard drive could spin down.

Lastly, make changes to allow the script to run when the USB is mounted:
Code:
nvram set script_usbmount="/jffs/post-mount"

nvram commit
 

leerees

Senior Member
Well, it has 2 usb sockets, so I'm just using it as advertised.

its not being used like some office file server, just copying some videos across, one at a time, and it dies.

I had ZERO trouble doing just this, with a 5TB HD, on my old Archer vr900 or Fritzbox 7530, so can't see
why this shiny new router can't handle a nice 2TB SSD. As I said, is has zero problem with FTP dying, just SMB

I'll use FTP to copy across now, if I didn't have that I'd have simply plopped one of the above routers on the network, that don't cry
when you try to copy a file

Just disappointing that its SMB is so broken

Is this is known issue with these routers? You'd think they might want this new router to be more stable than old my routers
I can't answer that, but one thing I have noticed is all Asus routers seem to have the same admin interface with the same features. Asus do make great products but they overestimate their capabilities.

I was going to say maybe the AX86u could do it as it has more memory but tech9's post says otherwise

Bottom line is it's a router, not a file server. The routing and WiFi 6 performance on the AX92u is the best I've ever seen. I wouldn't ever want Asus to compromise that for the sake of file sharing.

I get your desire to have one box that does all. But even if your idea worked, the bottle neck would probably be the USB port as the AX92u can transfer files at 2gbps+ real world performance over it's WiFi 6 channel.
 
Last edited:

Going_Strong

Regular Contributor
Well, it has 2 usb sockets, so I'm just using it as advertised.

its not being used like some office file server, just copying some videos across, one at a time, and it dies.

I had ZERO trouble doing just this, with a 5TB HD, on my old Archer vr900 or Fritzbox 7530, so can't see
why this shiny new router can't handle a nice 2TB SSD. As I said, is has zero problem with FTP dying, just SMB

I'll use FTP to copy across now, if I didn't have that I'd have simply plopped one of the above routers on the network, that don't cry
when you try to copy a file

Just disappointing that its SMB is so broken

Is this is known issue with these routers? You'd think they might want this new router to be more stable than old my routers

Being blunt, I'll just stay that Asus routers don't seem to be much good at the pseudo-NAS function.
For example, my RT-AC86U, when I had it a couple of years back, was atrocious - I'd get slow downs, just like you, and the router would also create weird additional partitions on the HDD/SSD.
Since then, I've been using TP-Links -the C4000, C5400X and AX11000 - and I must same I'm quite satisfied overall, with USB HDDs/SSDs being handled beautifully. Sure, if you're looking for non-stop sending of enormous files, you'll get faster service from a NAS, but for casual use I can't fault the Archers (specifically, since March last year, I've been using the AX11000 with a 1 TB SSD and a 5 TB HDD).
And I agree with the sentence highlighted - if a manufacturer says that a function is there and can be used, I feel that it has to work, weakly but stably.
 

fancellu

New Around Here
I can't answer that, but one thing I have noticed is all Asus routers seem to have the same admin interface with the same features. Asus do make great products but they overestimate their capabilities.

I was going to say maybe the AX86u could do it as it has more memory but tech9's post says otherwise

Bottom line is it's a router, not a file server. The routing and WiFi 6 performance on the AX92u is the best I've ever seen. I wouldn't ever want Asus to compromise that for the sake of file sharing.

I get your desire to have one box that does all. But even if your idea worked, the bottle neck would probably be the USB port as the AX92u can transfer files at 2gbps+ real world performance over it's WiFi 6 channel.

I don't care about speed being slower than something else. I just want it stable, which is how it was on my cheap old routers.

FTP is working fine. Over ethernet to my 2tb ssd, I can transfer via ftp at about 40MB/s

Could it be faster? No doubt, but its just fine for me. It is not going to 0mb/s, and not hanging the router, shows the data pathway is good enough,
and that SMB is causing the biggest issue. I deliberately chose a router with USB SMB, as that is what I used, very successfully for many years with other routers

Frankly I'll probably stick with FTP to get files on the share, whilst consuming via SMB. Its just a pity when a shiny new router is worse than 6 year old tech. It is a read mostly drive, for movies and instructional videos for the family.
 

leerees

Senior Member
I have been trying to get WiFi calling working reliably for over 5 years. Eventually, I just gave up and presumed that modern power saving techniques make it impossible. My solution was to buy specialist hardware.

Throughout my years of reading forums searching for a fix, I noticed people have always had problems with USB file sharing. Whilst USB file sharing has nothing to do with WiFi calling, it seems to have suffered the same fate, something in modern Asus routers makes it unreliable. If it can be fixed, it would have been fixed years ago.

Although I don't use NAS devices myself (I prefer to repurpose old tech into servers), it's clear that there is a whole consumer market based on them, so they must work really well. I still don't get why you don't just buy one, it would solve all your problems. I just did a quick Google and they have loads of great features including RAID and cloud services.
 
Last edited:

fancellu

New Around Here
Just an update, got fed up with RT-AX92u smb+ftp server being terrible, so took the usb drive off and put it on my previous Fritz.Box 7530, connecting the 7530 to the RT-AX92u, turning of the 7530 wifi etc.

Now my network share is solid as a rock, as the entire 7530 is dedicated to usb+smb, and the ASUS can do what it does best, which is serve internet

Zero extra cost, silent running, and more than enough file sharing on the local network.

When I was just using the 7530 before (free from my ISP), it served smb just fine, whereas ASUS router chokes big time.

Would be nice if they could try writing a better smb implementation
 

leerees

Senior Member
Just an update, got fed up with RT-AX92u smb+ftp server being terrible, so took the usb drive off and put it on my previous Fritz.Box 7530, connecting the 7530 to the RT-AX92u, turning of the 7530 wifi etc.

Now my network share is solid as a rock, as the entire 7530 is dedicated to usb+smb, and the ASUS can do what it does best, which is serve internet

Zero extra cost, silent running, and more than enough file sharing on the local network.

When I was just using the 7530 before (free from my ISP), it served smb just fine, whereas ASUS router chokes big time.

Would be nice if they could try writing a better smb implementation
Glad you found a solution, this was a smart move and like you say, it will allow your router to do what it does best.
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top