Zentyal Forum, Linux Small Business Server

Zentyal Server => Installation and Upgrades => Topic started by: rickyx on January 07, 2012, 05:52:41 pm

Title: [[Solved]] Samba slow if gateway
Post by: rickyx on January 07, 2012, 05:52:41 pm
Zentyal 2.2.4

If I setup ONLY one interface and Dhcp, clients read and write fast on samba shares: 11 Mb/s on a 10/100 network.
If I setup Zentyal as the attached image client use samba around 20 kb/s. Internet is fast as it should be.

Of course I exclude any kind of hardware failure, network connections and card, hard disk malfunctioning.
Checked logs but I can't see problems that can be related to this behavior.

I have tried all kind of voodoo but I can't solve the problem.

Thank you for any kind of suggestion that can help me to solve the problem.
Riccardo
Title: Re: Samba slow if gateway
Post by: J. A. Calvo on January 07, 2012, 08:14:03 pm
Are you using the Traffic Shaping module?
Title: Re: Samba slow if gateway
Post by: rickyx on January 08, 2012, 02:22:35 am
No, ...not yet!
Title: Re: Samba slow if gateway
Post by: vshaulsk on January 09, 2012, 03:11:10 pm
I have the same setup as you do (only difference is I run gigabit LAN)..... I get steady transfer speeds of about 65 to 75 MB/s.

The only time I have seen speeds slow down a lot is if I use the traffic shaping module.... this causes major slowdowns.

Also I run another instance of zentyal as a virtual machine (I use this one as my webserver + transmission for torrent files).  My virtual server also has samba installed..... when I try transfer files from the virtual server I get about 15 to 20 MB/s, but I think this is a problem with it being a virtual machine.

Is your instance of zentyal physical or virtual????
Title: Re: Samba slow if gateway
Post by: rickyx on January 12, 2012, 12:12:36 am
My istance is zentyal physical.

Anyway I solved the problem just inverting eth0 with eth1.

Maybe some configuration scripts, running not in the right order, may cause some incorrect value in some configuration files?

In sum, I disabled all interfaces, removed gateway, disabled dns and dhcp modules and started to reconfigure from the internal side using the same parameters as the image posted before.
Making all steps in the right order made:

Now I'll Qos.

I thank you for the help,
best regards,
Rickyx