The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > Linux
.
google unix.com



Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Dynamically Creating and Printing to Files Laud12345 Shell Programming and Scripting 1 03-18-2009 10:45 PM
Creating an sql statement from a file. Problem with ' hannem Shell Programming and Scripting 2 04-24-2008 08:26 AM
creating new files montana77 UNIX for Dummies Questions & Answers 4 04-13-2008 02:20 AM
Problem creating files greater than 2GB bobbyjohnz UNIX for Advanced & Expert Users 1 01-17-2007 12:19 PM
extract tar files without creating directory here2learn UNIX for Dummies Questions & Answers 4 10-02-2006 07:42 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-06-2007
eliraza6 eliraza6 is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 56
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.
  #2 (permalink)  
Old 11-06-2007
porter porter is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2007
Posts: 2,965
1. What program are you using to create the file?

2. Does the NFS server impose limits on user file space?
  #3 (permalink)  
Old 11-06-2007
blowtorch's Avatar
blowtorch blowtorch is offline Forum Advisor  
Supporter
  
 

Join Date: Dec 2004
Location: Singapore
Posts: 2,350
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 (permalink)  
Old 11-06-2007
eliraza6 eliraza6 is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 56
Quote:
Originally Posted by blowtorch View Post
Also check if the file-system exported from the NFS server can handle largefiles. You can do that by checking the file-system like this:

mount | grep "/path_to_filesystem"

This will show the mount options. If largefiles isn't visible, there's your problem.
this is what i get:
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...
  #5 (permalink)  
Old 11-06-2007
s4g3's Avatar
s4g3 s4g3 is offline
Registered User
  
 

Join Date: Nov 2007
Location: India
Posts: 43
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
  #6 (permalink)  
Old 11-06-2007
eliraza6 eliraza6 is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 56
Quote:
Originally Posted by s4g3 View Post
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
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...
  #7 (permalink)  
Old 11-06-2007
eliraza6 eliraza6 is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 56
Quote:
Originally Posted by porter View Post
1. What program are you using to create the file?

2. Does the NFS server impose limits on user file space?
1. basically I'm trying to create the file using sqlplus (it's an oracle data file), but i have tried also "dd" and it happened again...

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...
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:20 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0