LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-03-2013, 02:30 AM   #1
suresh.k
Member
 
Registered: Aug 2011
Location: Hyderabad, AP, India
Distribution: centos, Ubuntu
Posts: 163
Blog Entries: 1

Rep: Reputation: Disabled
samba and svn checkout is very slow


Hi,

I configured samba and svn on centos,
samba share copying and svn check out was dead slow, on client machines.

whenever client {from another machine} trying to copy samba shared files and folders and check out svn repo's has very slow.

But in samba server internet browsing is fast, and copying files and folders from another samba shares is fast.

After restarting the server everything working fine, but after some time the server getting down to slow.

My Samba Configuration :
[soft]
comment = Harvest@Softwares
path = /soft
writable = yes
browseable = Yes
valid users = soft

My SVN Configuration:

<Location /EyeTouch>
DAV svn
SVNPath /var/www/svn/EyeTouch
AuthType Basic
AuthName 'Authorization Realm'
AuthUserFile /var/www/passwd/.htpasswd
Require valid-user
</Location>


Thanks
Suresh
 
Old 05-04-2013, 11:22 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,616

Rep: Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962
Quote:
Originally Posted by suresh.k View Post
Hi,
I configured samba and svn on centos, samba share copying and svn check out was dead slow, on client machines. whenever client {from another machine} trying to copy samba shared files and folders and check out svn repo's has very slow.

But in samba server internet browsing is fast, and copying files and folders from another samba shares is fast. After restarting the server everything working fine, but after some time the server getting down to slow.
That is not your full Samba and SVN configuration. And you (again) don't provide details...like what version of CentOS, SVN, Samba, what OS the client machines are running, the topology of the network you're using, and what SVN clients you're using.

But a brief Google search for this turns up lots, along with documentation on the Samba site, and many suggestions on how to handle this:
http://serverfault.com/questions/140...-box-very-slow
http://www.samba.org/samba/docs/man/...ion/speed.html
 
Old 05-06-2013, 02:02 AM   #3
suresh.k
Member
 
Registered: Aug 2011
Location: Hyderabad, AP, India
Distribution: centos, Ubuntu
Posts: 163

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
And you (again) don't provide details...like what version of CentOS, SVN, Samba, what OS the client machines are running, the topology of the network you're using, and what SVN clients you're using.
Server OS : CentOS release 5.5 (Final)
Samba version : 3.0.33-3.29.el5_5.1
svn version : 1.4.2 (r22196)
OS of clients : Windows8 and Ubuntu10.04.
The topology of the network : ISP modem > Router > switch > clients and servers.
SVN Clients
Windows : TortoiseSVN-1.6.12.20536
LInux : svn 1.6.6
 
Old 05-06-2013, 02:17 AM   #4
suresh.k
Member
 
Registered: Aug 2011
Location: Hyderabad, AP, India
Distribution: centos, Ubuntu
Posts: 163

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
That is not your full Samba and SVN configuration.
SAMBA CONFIG FILE :

[global]
workgroup = WORKGROUP
server string = Samba Server
netbios name = SVN
hosts allow = 127. 192.168.10. 192.168.0.
log file = /var/log/samba/%m.log
max log size = 50
security = user
passdb backend = tdbsam
os level = 33
load printers = no
cups options = raw
printcap name = /dev/null
printing = bsd

-----share definitions----
[homes]
comment = Home Directories
browseable = no
writable = yes

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes

[soft]
comment = Harvest@Softwares
path = /soft
writable = yes
browseable = Yes
valid users = soft

[dotnet]
comment = Harvest@Softwares
path = /opt
writable = yes
browseable = Yes
valid users = soft

[html]
comment = Harvest@Softwares
path = /var/www/html
writable = yes
browseable = Yes
valid users = soft


SVN CONFIG FILE :

LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so

Alias /svnaccessmanager /var/www/html/svnaccessmanager/svn_access_manager

<Location /svn/repos>
DAV svn
SVNParentPath /svn/repos
AuthType Basic
AuthName "Subversion Repository"
AuthUserFile /etc/svn/svn-passwd
AuthzSVNAccessFile /etc/svn/svn-access
Require valid-user
SVNIndexXSLT /svnstyle/svnindex.xsl
</Location>

CustomLog /var/log/httpd/svn.log "%t %u %{SVN-ACTION}e" env=SVN-ACTION


<Location /EyeTouch>
DAV svn
SVNPath /var/www/svn/EyeTouch
AuthType Basic
AuthName 'Authorization Realm'
AuthUserFile /var/www/passwd/.htpasswd
Require valid-user admin usha srinivas paramesh navin
</Location>


<Location /repos>
DAV svn
SVNParentPath /var/www/svn
AuthType Basic
AuthName "Authorization Realm"
AuthUserFile /var/www/passwd/.htpasswd
Require valid-user vamsi anji asiq pramesh rajesh
</Location>

<Location /political_iq>
DAV svn
SVNPath /var/www/svn/political_iq
AuthType Basic
AuthName "Repo for political_iq"
AuthUserFile /var/www/passwd/.htpasswd
Require valid-user
</Location>

<Location /SPML>
DAV svn
SVNPath /var/www/svn/SPML
AuthType Basic
AuthName "Repo for SPML"
AuthUserFile /var/www/passwd/.htpasswd
Require valid-user
</Location>

<Location /lincolnwest>
DAV svn
SVNPath /var/www/svn/lincolnwest
AuthType Basic
AuthName "Repo for Lincolnwest"
AuthUserFile /var/www/passwd/.htpasswd
Require valid-user
</Location>

<Location /newseagle360>
DAV svn
SVNPath /var/www/svn/newseagle360
AuthType Basic
AuthName "Repo for newseagle360"
AuthUserFile /var/www/passwd/.htpasswd
Require valid-user
</Location>

<Location /SMP>
DAV svn
SVNPath /var/www/svn/SMP
AuthType Basic
AuthName "Repo for SMP"
AuthUserFile /var/www/passwd/.htpasswd
Require valid-user
</Location>

<Location /PHI>
DAV svn
SVNPath /var/www/svn/PHI
AuthType Basic
AuthName "Repo for PHI"
AuthUserFile /var/www/passwd/.htpasswd
Require valid-user
</Location>

<Location /bizdoc_dev>
DAV svn
SVNPath /var/www/svn/bizdoc_dev
AuthType Basic
AuthName "Repo for BizDoc"
AuthUserFile /var/www/passwd/.htpasswd
Require valid-user
</Location>


Thanks
Suresh
 
Old 05-06-2013, 09:49 AM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,616

Rep: Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962
Quote:
Originally Posted by suresh.k View Post
Server OS : CentOS release 5.5 (Final)
Samba version : 3.0.33-3.29.el5_5.1
svn version : 1.4.2 (r22196)
OS of clients : Windows8 and Ubuntu10.04.
The topology of the network : ISP modem > Router > switch > clients and servers.
SVN Clients
Windows : TortoiseSVN-1.6.12.20536
LInux : svn 1.6.6
First, you do realize that your Ubuntu server is several versions out of date, right? And based on the network description, you don't say how MANY clients are concurrently using that one, SINGLE line from your ISP, or what the speed of that line is, and what else is shared over it. If you've got everyone plugged into a single port on a cheap router at 100MBs, that will affect your speed too. Again, details are good.

And did you read the first like I gave you?? The one that specifically mentions Tortoise SVN, slow speeds, and a suggested fix?? Did you try/understand it?
 
Old 05-07-2013, 02:14 AM   #6
suresh.k
Member
 
Registered: Aug 2011
Location: Hyderabad, AP, India
Distribution: centos, Ubuntu
Posts: 163

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
First, you do realize that your Ubuntu server is several versions out of date, right?
I am using CentOS5.5, it is also out of date, u r right.

Quote:
And based on the network description, you don't say how MANY clients are concurrently using that one, SINGLE line from your ISP, or what the speed of that line is, and what else is shared over it. If you've got everyone plugged into a single port on a cheap router at 100MBs, that will affect your speed too. Again, details are good.
I don't think that the problem has in network, why because, internet speed and copying shared files from another samba server are working fine, on both server as well as client's. on whole network computer's.

FYI
We have one single ISP Line,
Overall 25 clients are using this,
30Mbps speed,
We are using NETGEAR WNDR3800 Router,
And Dlink DES1024D switch.

Quote:
And did you read the first like I gave you?? The one that specifically mentions Tortoise SVN, slow speeds, and a suggested fix?? Did you try/understand it?
Yes, i add suggested things on that link to my samba configuration,
As i told before, after restarting the server, the problem doesn't appear for some time,
So i kept it under consideration.

Thanks
Suresh
 
Old 05-07-2013, 09:16 AM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,616

Rep: Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962
Quote:
Originally Posted by suresh.k View Post
I am using CentOS5.5, it is also out of date, u r right.
Spell out your words.
Quote:
I don't think that the problem has in network, why because, internet speed and copying shared files from another samba server are working fine, on both server as well as client's. on whole network computer's.

FYI
We have one single ISP Line, Overall 25 clients are using this, 30Mbps speed, We are using NETGEAR WNDR3800 Router, And Dlink DES1024D switch.
Again, if ALL the clients are running through ONE PORT on ONE SWITCH, it *COULD* cause a problem. Have you tried to look at traffic statistics on those devices???
Quote:
Yes, i add suggested things on that link to my samba configuration, As i told before, after restarting the server, the problem doesn't appear for some time
No, you DIDN'T tell us that before...look in what you posted above, look at your Samba configuration. You don't have those updated options in it anywhere, and have NEVER said you applied them and restarted.

Again, there are almost 1 MILLION hits for "Tortoise SVN client is slow" on Google, with lots of suggested fixes.
http://stackoverflow.com/questions/4...isesvn-so-slow
https://netbeans.org/bugzilla/show_bug.cgi?id=210975
http://www.svnforum.org/threads/4179...1-7-w-Tortoise

...and you say you're using Tortoise 1.6.12...when the latest version is 1.7.12, and there are bug reports of slow speed with the 1.6 version. Again, have you done any basic diagnostics? Tried different SVN clients? CLI clients? Updated the version? Tried moving the repository off of a Samba share to local disk, to see if it makes a difference?? Without doing basic diagnostics to narrow down the problem, you can't really say that it's Samba causing the problem in any way.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
MPlayer svn checkout anti_user Slackware 19 06-13-2011 02:41 AM
svn checkout by revision number prayag_pjs Linux - Newbie 2 11-03-2009 07:44 AM
SVN Checkout Error? your_shadow03 Linux - Server 2 02-13-2009 04:29 AM
svn checkout -bash svn command not found Anauj0101 Linux - Newbie 6 04-20-2008 05:50 PM
svn checkout keith2045 Linux - General 3 11-15-2007 09:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration