The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
SWAT your Samba problems iBot UNIX and Linux RSS News 0 01-31-2008 01:40 AM
SAMBA Help kjbaumann UNIX for Dummies Questions & Answers 3 09-28-2007 06:33 AM
SAMBA - where? nEuRoMaNcEr SUN Solaris 3 10-31-2003 01:29 AM
Need Samba Help lewy33 UNIX for Dummies Questions & Answers 4 10-02-2002 04:16 AM
'make' problems (compliation problems?) xyyz UNIX for Advanced & Expert Users 5 11-05-2001 06:47 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-03-2002
Registered User
 

Join Date: Jul 2002
Location: new york
Posts: 1,025
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Exclamation samba PROBLEMS

i am run SUSE 6.4 with apache that i built and maintain to serve my dads website, (www.farragutmarine.com for anyone who cares) anyway i am running samba and i have a huge problem, throughout the day, everything goes fine, but then my server will come to a grinding halt, if i try to telnet in or ftp to it, or get my email, i get NO responce, if i am lucky and do get a response it will take about 20 minutes for the prompt to come up after i log in, when i do a netstat -a i get a load of smb connections, and when i do a ps aux i get a whole list of
root 16249 1.0 1.6 3420 2120 ? S 18:17 0:00 /usr/sbin/smbd -D

root 16250 1.0 1.6 3420 2120 ? S 18:17 0:00 /usr/sbin/smbd -D

root 16251 1.0 1.6 3420 2120 ? S 18:17 0:00 /usr/sbin/smbd -D

root 16252 1.0 1.6 3420 2120 ? S 18:17 0:00 /usr/sbin/smbd -D

root 16253 0.0 1.6 3420 2120 ? S 18:17 0:00 /usr/sbin/smbd -D

root 16254 0.0 1.6 3420 2120 ? S 18:17 0:00 /usr/sbin/smbd -D

joe 16255 0.0 0.6 2452 884 pts/0 R 18:17 0:00 ps aux
root 16256 0.0 1.6 3420 2108 ? S 18:17 0:00 /usr/sbin/smbd -D

root 16257 0.0 1.6 3420 2108 ? S 18:17 0:00 /usr/sbin/smbd -D

root 16258 0.0 1.5 3284 1924 ? S 18:17 0:00 /usr/sbin/smbd -D

root 16259 0.0 1.4 3148 1900 ? R 18:17 0:00 /usr/sbin/smbd -D




theres WAY more then that, to solve this temporarely (sp) i set up a CRON job to restart the samba servers 5 times a day, it works but it should not have to be that way, i did search for this problem on the boards, but if i overloooked another thread addressing this i apologize, any help with this will be very much appreaciated as this problem has kept me from installing samba on my nice new cleanly installed netbsd server. thank you.
Forum Sponsor
  #2 (permalink)  
Old 07-08-2002
Registered User
 

Join Date: Jul 2002
Location: new york
Posts: 1,025
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
any one at all? please?
  #3 (permalink)  
Old 07-08-2002
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Have you set your debug level to see if there is anything going on?

Answer the following:
Version of Samba:
How long have you been using it:
Upgrade or changes recently:
Did it always have this problem:
(If not, what changed?)

Have you looked at the man pages for it at Samba -

The following might help but you should check your log files first to try to figure out what is wrong (maybe set the debug level to 3 as recommended by the docs found at their web site)

deadtime (G)
The value of the parameter (a decimal integer) represents the number of minutes of inactivity before a connection is considered dead, and it is disconnected. The deadtime only takes effect if the number of open files is zero.

This is useful to stop a server's resources being exhausted by a large number of inactive connections.

Most clients have an auto-reconnect feature when a connection is broken so in most cases this parameter should be transparent to users.

Using this parameter with a timeout of a few minutes is recommended for most systems.

A deadtime of zero indicates that no auto-disconnection should be performed.

Default: deadtime = 0

Example: deadtime = 15
  #4 (permalink)  
Old 07-08-2002
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Found other folks with same problem (different OS) - looks like it has to do with problems between Samba and client software - the deadtime value may help

http://lists.samba.org/pipermail/sam...read.html#1101
  #5 (permalink)  
Old 07-08-2002
Registered User
 

Join Date: Jul 2002
Location: new york
Posts: 1,025
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
thanks for the help, i set the dead time (idle time before disconnect?) to 2 min, and disabled my rediculous cron job, hopefully all will go well. i read the post on the samba website that rtm provided, it is very interesting that samba will react that way, and also does that mean that the way windows handles the smb prot. is wrong? anyway thats for the help.
Google UNIX.COM
Closed Thread

Thread Tools
Display Modes


The 50 most popular UNIX and Linux searches.
Google Search Cloud for The UNIX and Linux Forums
421 service not available, remote server has closed connection ^m automate ftp autosys awk trim bash eval bash for loop boot: cannot open kernel/sparcv9/unix command copy/move folder in unix couldn't set locale correctly curses.h cut command in unix export command in unix find grep find mtime find null character in a unix file grep multiple lines grep or grep recursive inaddr_any inappropriate ioctl for device lynx javascript mailx attachment mget mtime ping port remove first character from string in k shell replace space by comma , perl script rsync ftp scp recursive segmentation fault(coredump) sftp script snoop unix solaris change ip address stale nfs file handle syn_sent tar exclude tar extract to folder test: argument expected unix unix .profile unix forum unix forums unix internals unix interview questions unix mtime unix simulator unix.com vi substitute while loop within while loop shell script


All times are GMT -7. The time now is 02:52 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101