• June 15, 2024, 06:22:52 PM
  • 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.

Pages: 1 2 [3]

Author Topic: NAS gets very slow and unresponsive  (Read 22644 times)

sholland

  • Level 1 Member
  • *
  • Posts: 17
Re: NAS gets very slow and unresponsive
« Reply #30 on: December 29, 2009, 12:04:12 PM »

I am surprised at the number of smbds on there - the only thing that ought to have been transferring files was one program on one machine.

Whyintheheck was one smbd eating the whole CPU? And more importantly, how can I prevent it?
Logged

TheWitness

  • Level 2 Member
  • **
  • Posts: 56
Re: NAS gets very slow and unresponsive
« Reply #31 on: December 29, 2009, 12:31:14 PM »

By default, there are two smbd's running as the root process.  Then, for every connection to the file system (someone doing something), there will be another smpd "forked" running as the connected user.  If you want to see who is connected, you can run the following command (I hope anyway).

netstat

That will show all the IP address of people connected to the box.

TheWitness
Logged

gunrunnerjohn

  • Level 11 Member
  • *
  • Posts: 2717
Re: NAS gets very slow and unresponsive
« Reply #32 on: December 29, 2009, 12:42:12 PM »

Actually, I have four of them running with no access currently going on.

Code: [Select]
Mem: 59868K used, 1944K free, 0K shrd, 14800K buff, 29008K cached
CPU:   0% usr   0% sys   0% nice  99% idle   0% io   0% irq   0% softirq
Load average: 0.00 0.00 0.02
  PID  PPID USER     STAT   VSZ %MEM %CPU COMMAND
 3083  3082 root     R     1360   2%   0% top
 1607     1 root     S     6656  11%   0% /web/webs
 2309  2302 root     S     5140   8%   0% /usr/sbin/samba/smbd -D
 2302     1 root     S     4836   8%   0% /usr/sbin/samba/smbd -D
 2308  2302 root     S     4836   8%   0% /usr/sbin/samba/smbd -D
 2306     1 root     S     2968   5%   0% /usr/sbin/samba/nmbd -D
 1788     1 root     S     2964   5%   0% pure-ftpd (SERVER)
 1753     1 root     S     1600   3%   0% crond
    1     0 root     S     1596   3%   0% init
Logged
Microsoft MVP - Windows Desktop Experience
Remember: Data you don't have two copies of is data you don't care about!
PS: RAID of any level is NOT a second copy.

TheWitness

  • Level 2 Member
  • **
  • Posts: 56
Re: NAS gets very slow and unresponsive
« Reply #33 on: December 29, 2009, 01:03:48 PM »

everything is idle at the moment.  So, no one is accessing anything.  You are going to see them running.  Again, if you run netstat or netstat -a you will see active and idled connections.  When the last connection is fully down, I imagine one or more "smbd" will exit.

TheWitness
Logged

JoeSchmuck

  • Level 3 Member
  • ***
  • Posts: 231
  • Retired Rocket Scientist
Re: NAS gets very slow and unresponsive
« Reply #34 on: December 29, 2009, 01:20:44 PM »

While this info looks interesting, the only thing I can take from this is what programs were running and eating up CPU time.  Is there any way to tell the actual user (computer) performing the file transfer?  Maybe there is one of the three causing an issue with some kind of scanning of the NAS?
Logged

gunrunnerjohn

  • Level 11 Member
  • *
  • Posts: 2717
Re: NAS gets very slow and unresponsive
« Reply #35 on: December 29, 2009, 01:21:29 PM »

Well, there are a couple of machines sleeping that keep their My Documents folders over there, that's probably a couple of them. :)
Logged
Microsoft MVP - Windows Desktop Experience
Remember: Data you don't have two copies of is data you don't care about!
PS: RAID of any level is NOT a second copy.

TheWitness

  • Level 2 Member
  • **
  • Posts: 56
Re: NAS gets very slow and unresponsive
« Reply #36 on: December 29, 2009, 04:36:05 PM »

There is a "feature", if you want to call it that, in Windows, where Explorer will scan all files in a directory for their file type and attempt to show an appropriate "preview" of the file.  This was a "nasty" feature, especially for a large organization with thousands of users hitting the shares a the same time.  I don't know how to turn down the "preview" mode.  You might want to investigate that.  It's been too long for me now.  I know that it can be adjusted from the registery, but I don't know about explorer.

TheWitness
Logged
Pages: 1 2 [3]