Solaris 10, Samba 3.0.25a - Server dies copying big files to ZFS volume

Hope someone can help me with this problem, cos I am at my wits end.
We have Solaris 10 Update 2 running on a Sunfire V215 Sparc Server with 2 large storage arrays running ZFS
When copying a large file via samba, after about say 200-300megs... the copy just stops... and the samba server becomes unresponsive for quite a while.
When we first noticed the problem, we had the original Samba 3.0.11 which shiped with SOL 10 Up2, so we hoped the upgrade to Samba 3.0.25a would fix the problem. No such luck.
I have tested with FTP (the same 2.6 GB file) and that transfers completely and very fast, so I am pretty damn sure its not a hardware issue.
I have tested with varios samba configurations. Vanilla configs, tweaked configs, configs which people claim solve some issues... again no luck.
I have looked around these forums and seen that some people have experience samba issues when upgrading from Sol 9 to Sol 10.
Please if ANYONE has any ideas what could be causing this and how to solve it, I would be extremely greatful
Thanks
//Steve
Edited by: reyortsed on Sep 23, 2008 12:29 PM

Update 2 is pretty old, especially if you are talking about ZFS. There's been a variety of problems fixed in ZFS since U2. Were I to just guess out of the blue, you might be running into the ZFS eats all of RAM bug.
http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6505658
If this is the case, it won't be just the samba server that's slow on the server. You should check this by doing the FTP after your samba server slows down and see if you get fast throughputs.
-r

Similar Messages

  • SMB problems with Vista and Samba 3.0.25a

    I've got a huge problem with my network setup here. I've read the previous posts about non working samba shares, but I did not found any working tips. I have done some additional tests, and I would like to share them with you, maybe anyone finds the solution based on them.
    So the problem is that I cannot access smb based shares. Not on my Windows (Vista) workstation, and not on my freebsd server (samba 3.0.25a). Login seems to be successful. When I enter a wrong username, or a wrong password, the finder tells me that this credentials are wrong. So as far as I can see the problem must be behind the login step.
    My samba logfile does not report anything, same for the firewall logs from Leopard. When I try to list the shares from the terminal (with smbclient) it works fine. I even can mount this shares, but the goal was to have it available in the finder.
    When I use +K to mount the share the manual way, I can enter the username and password (if they are wrong, I get the right error message), but after that I get only the connecting dialog.
    Thank you very much to everyone who might have any idea how that could be fixed.
    Have a nice day.

    FYI: This issue was fixed in 10.5.2, and there is a workaround for previous versions: Remote % signs from the password.

  • Solaris 9 & Samba

    I'm new to Solaris but have a fresh install of Solaris 9 4/04 release. I did the full plus OEM install. I thought from what I read that this would install samba too. But, the only reference I can find to samba on this system is the smb.conf-example file. I can't find what looks like a working installation of Samba. Am I going to have to download Samba, or does it just not get installed in /usr/local like the examples I've read.

    A Basic Samba Configuration File
    The key to configuring Samba is its lone configuration file: smb.conf. This configuration file can be very simple or extremely complex, and the rest of this book is devoted to helping you get deeply personal with this file. For now, however, we'll show you how to set up a single file service, which will allow you to fire up the Samba daemons and see that everything is running as it should be. In later chapters, you will see how to configure Samba for more complicated and interesting tasks.
    The installation process does not automatically create an smb.conf configuration file, although several example files are included in the Samba distribution. To test the server software, though, we'll use the following file. It should be named smb.conf and placed in the /usr/local/samba/lib directory.
    [5] If you did not compile Samba, but instead downloaded a binary, check with the documentation for the package to find out where it expects the smb.conf file. If Samba came preinstalled with your Unix system, there is probably already an smb.conf file somewhere on your system.
    [global]
         workgroup = SIMPLE
    [test]
         comment = For testing only, please
         path = /export/samba/test
         read only = no
         guest ok = yes
    This brief configuration file tells the Samba server to offer the directory /export/samba/test on the server as an SMB/CIFS share called test. The server also becomes part of the named workgroup SIMPLE, which each of the clients must also be a part of. (Use your own workgroup here if you already know what it is.) We'll use the [test] share in the next chapter to set up the Windows clients. For now, you can complete the setup by performing the following commands as root on your Unix server:
    # mkdir /export/samba/test
    # chmod 777 /export/samba/test
    We should point out that in terms of system security, this is the worst setup possible. For the moment, however, we only wish to test Samba, so we'll leave security out of the picture. In addition, there are some encrypted password issues that we will encounter with Windows clients later on, so this setup will afford us the least amount of headaches.
    If you are using Windows 98 or Windows NT Service Pack 3 or above, you must add the following entry to the [global] section of the Samba configuration file: encrypt passwords = yes. In addition, you must use the smbpassword program (typically located in /usr/local/samba/bin/) to reenter the username/password combinations of those users on the Unix server who should be able to access shares into Samba's encrypted client database. For example, if you wanted to allow Unix user steve to access shares from an SMB client, you could type: smbpassword -a steve. The first time a user is added, the program will output an error saying that the encrypted password database does not exist. Don't worry, it will then create the database for you. Make sure that the username/password combinations that you add to the encrypted database match the usernames and passwords that you intend to use on the Windows client side.

  • OS X 10.4.7 server: Samba leaking ram when copying large files from windows

    Hi.
    I'm having problems with:
    Copying files from windows clients to OS X Server 10.4.7 uses up the RAM needed for the files to be copied.
    If I copy a 3GB file, it uses 3GB of RAM
    If I copy a 5GB file, it uses its 4GB of RAM, plus VM.
    If I copy 11GB of files (that is several little files, plus some big by dropping a folder to the share), it consumes all the RAM the machine has, and because of VM paging, whatever other clients are reading from the disk (XRaid) start to have hiccups.
    The RAM of the machine NEVER gets flushed after the copying has finished. So Samba is unusable as it is. I have four Xserves with 4GB of RAM, with 4 XRaids connected each one to each Xserve with its Apple Fiber Channel card and cables.
    I already did the ack=0 thing, got the size of inet.tcp.sendspace and rcvspace to 8388608 and the buffer to 16777216.
    The transfers rates are up to 70MB/s with 2 channel 1gb trunking, and at very sustained rates..
    We are using these to edit video content (DV 25) in Sony Vegas with 2 or 3 clients for each server.
    Any suggestions?
    Thanks very much.
    XServe G5 cluster node (4) / XRaid 7TB (4)   Mac OS X (10.4.7)  

    Michael, I occasionally notice anomolous behaviour when files get dragged between volumes. Mostly the copying window shows an accurate and immediate indication of what's going on, but other times it just looks like nothing's happening, the display never changes, yet, it is in fact copying the files over. Now, if you're copying 2gb files from DVD to HD, it's gonna take some time, more than 5 minutes, so I'm wondering how long you've left it before forcing it to quit?

  • Installing Solaris 9 on HP ML350 G5 server - No disks found

    Some weeks ago I've post a topic about problem with installing Solaris 10 on HP ML350 G5 server.
    ( [http://forum.java.sun.com/thread.jspa?threadID=5308827] )
    OK, it have been solved. Thanks!
    But now I need to install Solaris 9 on this server. The problem is same - No disks found.
    I can't find drivers for Smart Array e200i 128Mb v.1.66 (disk controller installed on ML350 G5) for Solaris 9.
    Can you help me? Thanks in advance.

    Find a contact e-mail address on HP's website and ask them if the driver is available for Solaris 9.
    alan

  • An install service of Solaris 11.2 on the AI server of Solaris 11.1

    Hi all,
    Is it possible to create an AI install service of Solaris 11.2 on the AI server of Solaris 11.1?
    Thanks

    Hello
    In general is better to have the latest sol11.2 to serve all solaris AI images. But maybe new features like unified archives can not be used in older version,  as they are new on sol11.2, but as you can read in this link much better sol11.2 + SRU to be the AI server as you can serve all
    AI Server Requirements - Installing Oracle® Solaris11.2 Systems
    Regards
    Eze

  • Move file to application server  or delete a file from application server

    Hi all
    I have one application in which if succeful uploading  of BMP file  from application server is not  done , File has to move to another folder like 'ERROR' Folder
    but i am unable to do that.
    here is the code:
    CONDENSE g_t_ws_move.
    CALL 'SYSTEM' ID 'COMMAND' FIELD g_t_ws_move
      ID 'TAB'     FIELD g_t_ws_command_line[].
    where
    <b>G_T_WS_MOVE= 'MOVE /Y /sapin/XVZ/journeyplan/0000000.BMP /tmp/0000000.BMP'
    means  i have to move 000000.bmp file from XVZ to tmp directory ,</b>

    Hello Neetu
    Alternatively you could use a combination of the following function modules:
    - EPS_FTP_PUT
    - EPS_DELETE_FILE
    Regards
      Uwe

  • Need to copy .txt file from FTP server and downloaded on local server directory.

    I need to figure out a way to copy .txt file from ftp server in local server directory using sql jobs.

    Below links will help achieving it:
    https://www.virtualobjectives.com.au/sqlserver/ftp_scripts.htm
    http://www.mssqltips.com/sqlservertip/2884/sql-server-integration-services-ssis-ftp-task-for-data-exchange/

  • Drive Redirection virtual channel hangs when copying a file from server to client over RDP 8.1

    Problem Summary:
    A UTF-8 without BOM Web RoE XML file output from a line of business application will not drag and drop copy nor copy/paste from a Server 2012 R2 RD Session Host running RD Gateway to a Windows 7 Remote Desktop client over an RDP 8.1 connection and the Drive
    Redirection virtual channel hangs.  The same issue affects a test client/server with only Remote Desktop enabled on the server.
    Other files copy with no issue.  See below for more info.
    Environment:
    Server 2012 R2 Standard v6.3.9600 Build 9600
    the production server runs RDS Session Host and RD Gateway roles (on the same server).  BUT,
    the issue can be reproduced on a test machine running this OS with simply Remote Desktop enabled for Remote Administration
    Windows 7 Pro w SP1v6.1.7601 SP1 Build 7601 running updates to support RDP 8.1
    More Information:
    -the file is a UTF-8 w/o BOM (Byte Order Marker) file containing XML data and has a .BLK extension.  It is a Web Record of Employment (RoE) data file exported from the Maestro accounting application.
    -the XML file that does not copy does successfully validate against CRA's validation XML Schema for Web RoE files
    -Video redirection is NOT AFFECTED and continues to work
    -the Drive Redirection virtual channel can be re-established by disconnecting/reconnecting
    -when the copy fails, a file is created on the client and is a similar size to the original.  However, the contents are incomplete.  The file appears blank but CTRL-A shows whitespace
    -we can copy the contents into a file created with Notepad and then that file, which used to copy, will then NOT copy
    -the issue affects another Server 2012 R2 test installation, not just the production server
    -it also affects other client Win7 Pro systems against affected server
    -the issue is uni-directional i.e. copy fails server to client but succeeds client to server
    -I don't notice any event log entries at the time I attempt to copy the file.
    What DOES WORK
    -downgrading to RDP 7.1 on the client WORKS
    -modifying the file > 2 characters -- either changing existing characters or adding characters (CRLFs) WORKS
    -compressing the file WORKS e.g. to a ZIP file
    -copying OTHER files of smaller, same, and larger sizes WORKS
    What DOES NOT WORK?
    -changing the name and/or extension does not work
    -copying and pasting affected content into a text file that used to have different content and did copy before, then does not work
    -Disabling SMB3 and SMB2 does not work
    -modifying TCP auto-tuning does not work
    -disabling WinFW on both client and server does not work
    As noted above, if I modify the affected file to sanitize it's contents, it will work, so it's not much help.  I'm going to try to get a sample file exported that I can upload since I can't give you the original.
    Your help is greatly appreciated!
    Thanks.
    Kevin

    Hi Dharmesh,
    Thanks for your reply!
    The issue does seem to affect multiple users.  I'm not fully clear on whether it's multiple users and the same employee's file, but I suspect so.
    The issue happens with a specific XML file and I've since determined that it seems to affect the exported RoE XML file for one employee (record?) in the software.  Other employees appear to work.
    The biggest issue is that there's limited support from the vendor in this scenario.  Their app is supported on 2012 R2 RDS.
    What I can't quite wrap my head around are
    why does it work in RDP 7.1 but not 8.1?  What differences between the two for drive redirection would have it work in 7.1 and not 8.1?
    when I examine the affected file, it really doesn't appear any different than one that works.  I used Notepad++ and it shows the encoding as the same and there doesn't appear to be any invalid characters in the affected file.  I wondered
    if there was some string of characters that was being misinterpreted by RDP or some other operation and blocked somehow but besides having disabled AV and firewall software on both ends, I'm not sure what else I could change to test that further
    Since it seems to affect only the one employee's XML file AND since modifying that file to change details in order to post it online would then make that file able to be copied, it seems I won't be able to post a sample.  Too bad.
    Kevin

  • SQL Server Source and Flat File Target in OWB

    Hello All,
    I have a question, is it possible to have SQL Server as Source and Flat File as Target without using any intermediate Oracle table(s).
    like
    SQL Server --> ETL Operators --> Flat file?
    as i m getting errors in data type conversions here. but if i replace flat file with Oracle table it works fine. (though i have used some conversion functions for data types as well in Flat file loading but it is giving me errors)
    Thanks in advance.
    Tayyeb

    Yes this should be fine. Are you using the gateway to access SQLServer or code template mappings? You need to track which columns are throwing the data type conversion errors.
    Cheers
    David

  • How to copy a file from Client to Application Server

    Hello,
    My requirement is user selects a file from Browse button on oracle form - this location is on client side, and have to copy this file on Application server.
    I tried using webutil_file.copy_file function but it gives error - copy_file is not a procedure or is undefined.
    There is another way of Client_to_AS but it needs some changes in configuration files of webutil, which is not allowed in our scenario.
    Source - client machine resident file
    Target- Application server disk location
    So can any one help in this regard?

    Hi Francois,
    Thanks for your suggestion, actually i didnt want to use Client_to_As as client doesnt want to make any changes in any configuration files, no matter how small the change is.
    Anyways we are able to successfully copy the file using Client_to_AS, but one thing that i couldn't understand is why was our webutil_file.copy_file function failing?
    Any hint about this?
    Thanks!
    Avinash.
    Pune- India.

  • Copy a file from server to the client - URLConnection to a Portal page

    Hello:
    I have an application running on the client side. When the app startup it must open a file which is at the server side, to be more specific, the file is at KM content of the portal.
    I try to read it with URLConnection to copy the file from the server to the client, the app will do it, but "Server returned HTTP response code: 401 for URL:"
    If you copy&paste the url's file directly on the browser (http://host:port/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/ImagenesIM/file.txt) a login popup (look and feel windows) is display. After entering the user and psw the file is open without problem.
    Any idea what can I use or how do it ?.
    I think that probably I have to move the app to a was directory instead of portal directory.
    The app is execute via *.jnlp with a link at a portal page.
    Thanks a lot for your time.

    Javier,
    401 means authentication error, i.e. your application is not authenticated to KM.
    What you can do? Actually, it depends. Check current cookies in your application, probably there are SSO coockie or J2EE authentication cookie. You may try to set this cookies in URLConnection (via addHeader). Otherwise you have to supply authentication creadentials to URLConnection (also via addHeader, most probably, via Basic HTTP authentication scheme).
    Valery Silaev
    EPAM Systems
    http://www.NetWeaverTeam.com

  • A failure occurred while the server was processing report file

    Hi All,
    I keep getting this error while opening the report in Infoview,  "A failure occurred while the server was processing report file".
    I checked Event viewer there i have lot of errors with the same message and the source is "BusinessObject_crproc". 
    Please advise me what i have to do to resolve the issue.
    Environment: BOXI3.1, CR2008, Windows Server 2003
    Thanks
    Sudharsan.

    We got this error message on a report that had 5 subreports, 3 of which were based on stored procedures. The report was running fine in our Dev environment and in the CR developer, but not when we published it to another environment. The problem was caused because the stored procedures had been changed in Dev (so that they ran correctly) but these changes had not been released to the other environment. Once the scripts were run to update the stored procedures the report ran successfully. So it apepars that the problem was because the stored procedure/s the subreports were using were failing, but we only got the RCIRAS0546 error message.

  • How to copy a file from application server to local system

    Guys,
    Need to copy a file from application server to local system.Is there an FM for the same.
    Tried searching for it but couldn't find anything useful.
    Code snippets will be highly appreciated.
    Warm Regards,
    P.
    Moderator message: very frequently asked and answered question, obviously you did not search thoroughly, all points removed.
    Edited by: Thomas Zloch on Dec 3, 2010 4:48 PM

    hi,
    You can use the transactions CG3Y or through program u can do like this..
    DATA: BEGIN OF IT_FILE OCCURS 0,
                    LINE TYPE STRING,
               END OF IT_FILE.
    OPEN DATASET <file_name>  FOR INPUT IN TEXT MODE ENCODING DEFAULT.
            IF SY-SUBRC IS INITIAL.
              DO.
                READ DATASET<file_name> INTO IT_FILE-LINE.
                IF SY-SUBRC = 0.
                  APPEND IT_FILE.
                  CLEAR IT_FILE.
                ELSE.
                  EXIT.
                ENDIF.
              ENDDO.
            ENDIF.
    CLOSE DATASET <file_name>.
    Download it to local system using  FM - GUI_DOWNLOAD

  • Help!!!! copy a file of client at server

    Must copy a file of client at server, write code plsql. Exist of the instruction at concern.....
    thanks
    Giovanni
    P.S. excuse for write english evil!!!
    email: [email protected]

    This is a hello!. Please do not post the same question more than once. It makes the threads hard to follow.
    Your future co-operation is appreciated.
    Cheers, APC

Maybe you are looking for

  • Mail suddenly no longer able to send mails

    Ever since I upgraded to Snow Leopard, Mail refuses to send my mails via my standard provider. I get the error message that the provider rejected my password. Which is odd, since there is no password required to send mails. Not being able to get this

  • Importing Fotos to documents

    I am having problems importing fotos to documents.When I try it the message "no image capture device found" appears.I am using a program called textedit, a macbook and 10.5.2 operating sytem.Can anybody please help me?Thanks!

  • Why don't my Mac connect to my WiFi all the time

    I have a 2 month old Mac and I love it when it connects to my WiFi. I have the pass words and all programed in and it dont want to connect when I fire it up all the time. HELP please!!

  • NI-PAL Service Manager Error Message

    Hello Fellow LabVIEW users I am getting error message everytime I switch on my computer as shown in the attached image file. 1) what is the NI-PAL? I could not find any help topics related to it. 2) Why is this error message shown? Could it be becaus

  • Repaint canvas

    How can I send repaint event to Canvas object?