LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Debian Quadcore with 150 mount.cifs going extremely slow on commands like 'ls' (https://www.linuxquestions.org/questions/linux-server-73/debian-quadcore-with-150-mount-cifs-going-extremely-slow-on-commands-like-ls-818889/)

permalac 07-09-2010 06:32 AM

Debian Quadcore with 150 mount.cifs going extremely slow on commands like 'ls'
 
Hello,

I've mounted a kind of proxy to map some cifs folders, 150 aprox. It umounts and mounts everything each hour, to check on changes on a configfile managed by a secretary, she just edits a file with names and I prepared a cron to notice the new mountpoints.

It's a debian, no desktop , no nothing else. Just mount.cifs and apache2 to let the master webpage access to some files on each user samba home.

The server has 4 cores and 2Gb of RAM. It's brand new, but it goes very slow.

Code:

fbmpersonal01:/home/admmarc# uptime
 13:29:15 up 20 days, 23:09,  1 user,  load average: 0.77, 0.46, 0.62
fbmpersonal01:/home/admmarc# free
            total      used      free    shared    buffers    cached
Mem:      2076312    1915804    160508          0    279440    1329256
-/+ buffers/cache:    307108    1769204
Swap:      489940        580    489360
fbmpersonal01:/home/admmarc#


Does anyone have an idea why is that working so slow? The apache is working well, it's the shell which is working extremelly slow.


Many thanks

micxz 07-09-2010 11:01 PM

How about using NFS instead?

permalac 07-12-2010 02:40 AM

Quote:

Originally Posted by micxz (Post 4028865)
How about using NFS instead?


The files must be opened from windows-desktop and from this linux machine. Without a NAS only one of them can work on native mode. ^_^



There is any metrics which I can use to get a conclusion?


All times are GMT -5. The time now is 05:43 PM.