![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Creating an sql statement from a file. Problem with ' | hannem | Shell Programming and Scripting | 2 | 04-24-2008 05:26 AM |
| creating new files | montana77 | UNIX for Dummies Questions & Answers | 4 | 04-12-2008 11:20 PM |
| Problem creating files greater than 2GB | bobbyjohnz | UNIX for Advanced & Expert Users | 1 | 01-17-2007 09:19 AM |
| extract tar files without creating directory | here2learn | UNIX for Dummies Questions & Answers | 4 | 10-02-2006 04:42 PM |
| Dynamically Creating and Printing to Files | Laud12345 | Shell Programming and Scripting | 0 | 03-02-2005 10:07 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Problem with creating big files
Hi...
I have a very wired problem with my redhat4 update 4 server... Every time i create a file bigger then my physical memory the server kills the process\session that creates the file, and in the "messages" file i see this error: "Oct 21 15:22:22 optidev kernel: Out of Memory: Killed process 14300 (sshd)." The problem occurs only when I'm creating the file on NFS file-system, on local file-system it's ok... Any thoughts? Thanks and sorry for my pour English. Eliraz. |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
1. What program are you using to create the file?
2. Does the NFS server impose limits on user file space? |
|
#3
|
||||
|
||||
|
Also check if the filesystem exported from the NFS server can handle largefiles. You can do that by checking the filesystem like this:
mount | grep "/path_to_filesystem" This will show the mount options. If largefiles isn't visible, there's your problem. |
|
#4
|
|||
|
|||
|
Quote:
2. the NFS server does not have any limits and the file-system is 100GB, also the process killing comes from the OS not from the NFS server... |
|
#5
|
|||
|
|||
|
Quote:
nfserver4:/fs_db_optidev on /db/optidev type NFS (rw,retry=1000,addr=10.57.8.189) but "largefiles" is an option that handle files larger than 2GB... my file is reaching 4 GB (the size of physical memory) and then crashes, so i don't think this is the problem... |
|
#6
|
||||
|
||||
|
need to increase the swap size in the NFS server
Reason: NFS copies files from the client to the RAM to the FS in the server Now if the RAM is out of space and the swap cannot store any more too, its an usual behavior to kill the process trying to write to it ~Sage |
|
#7
|
|||
|
|||
|
the NFS server is a celerra (EMC)... i don't think it's because of that... this machine is built for NFS serving of large files...
|
|||
| Google The UNIX and Linux Forums |