LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 03-27-2008, 11:40 AM   #1
mrkow
LQ Newbie
 
Registered: Nov 2006
Location: US
Distribution: Debian, Ubuntu, FreeBSD, Solaris
Posts: 2

Rep: Reputation: 0
Samba issues


I encounter two issues which I believe are seperate and only loosely related. Ubuntu Server 7.10. Samba 3.0.26a. Here's the two issues.

1. When copying files from the server to a Windows box the server doesn't free up its memory after the transfer. Using top it's plain that the memory usage is maxed out. The memory frees up when you unmount and remount the drive.

2. When copying files from a Windows box to the server all requests bring a "Path too deep" error.

I checked the installed packages to be sure the packages installed

Code:
~$ dpkg --get-selections | grep '[[:space:]]install$' | awk '{print $1}' | grep "samba"
samba
samba-common
samba-doc
Samba configuration is stock minus the configuration for the share:

Code:
[files]
comment = Files
guest ok = no
browseable = yes
writable = yes
create mask = 0775
directory mask = 0775
path = /media/drive2/
valid users = billybob
Here's the mount:
Code:
~$ mount -l | grep hdb1
/dev/hdb1 on /media/drive2 type ext2 (rw) []
Yes, there really is a drive:
Code:
[   25.009402]     ide0: BM-DMA at 0xcb00-0xcb07, BIOS settings: hda:DMA, hdb:DMA
[   25.700910] hdb: WDC WD5000AAJB-00YRA0, ATA DISK drive
[   27.561597] hdb: max request size: 512KiB
[   27.579454] hdb: 976773168 sectors (500107 MB) w/8192KiB Cache, CHS=60801/255/63, UDMA(66)
[   27.579603] hdb: cache flushes supported
[   27.579717]  hdb: hdb1
Last attempt to copy up to the server from Windows prompted these errors in the log.smbd, though I'm not sure if this is related...:
Code:
[2008/03/27 11:47:03, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2008/03/27 11:47:03, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!


Any ideas?

Last edited by mrkow; 03-27-2008 at 11:57 AM. Reason: More information; aug
 
Old 03-30-2008, 07:54 AM   #2
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 2,127

Rep: Reputation: 174Reputation: 174
I wonder if this might be related to a Gnome bug I reported? http://bugzilla.gnome.org/show_bug.cgi?id=518250 Any time I copied a LOT of files using Nautilus the process would complete then Nautilus would eat all available memory and swap. The good news is that this has been fixed in Gnome 2.22 which is available on the Ubuntu 8.0.4 beta.

I had not tried to copy the files with Samba, simply from a CD to the hard drive and from one drive to another. If you have some spare hardware available you might want to try the 8.0.4 beta and see if your problem goes away.

Regards,

Ken
 
Old 04-02-2008, 11:48 AM   #3
mrkow
LQ Newbie
 
Registered: Nov 2006
Location: US
Distribution: Debian, Ubuntu, FreeBSD, Solaris
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by taylorkh
I wonder if this might be related to a Gnome bug I reported?
Quote:
Originally Posted by mrkow
Ubuntu Server 7.10. Samba 3.0.26a.
No xorg. No gnome.

Since this problem was a collegues in the first place he's moving on to another distro...so there's no problem anymore for me. Thanks for your input, taylorkh.
 
  


Reply

Tags
samba, ubuntu


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
samba issues bloodyscript Linux - Server 10 07-23-2007 06:24 PM
Samba Issues Need Help Scyphon Linux - Networking 6 11-27-2005 05:50 PM
samba issues cham0169 Linux - Software 1 04-11-2005 08:37 AM
Samba Issues lflores Linux - Networking 20 09-25-2003 09:29 PM
Samba issues chris Linux - General 4 11-22-2001 04:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 11:58 PM.

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