LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-25-2005, 05:29 AM   #1
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
problem with files larger then 100Mbyte++


I have posted a topic on bittorrent not able to handle file larger then 4gbyte.

However I found out that the problem is not only that. My slackware couldn't handle file larger then 100mbyte, which is shameful.

Yesterday, a though came into my mind. Maybe it had something to do with ULIMIT in /etc/login.defs. I must admit that I did also upgrade Slackware-current with the latest upgraded packages.

But I suspect it was ULIMIT which causes bittorrent, azureus and also audacity to crash when reaching the file size limit.

Anybody can confirm or shoot me down, please do so. I want to learn, I want to know what was the problem.

Note: I comment out ULIMIT. The problem is fix, for now.
 
Old 04-25-2005, 05:33 AM   #2
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
lol,

i have
Code:
#ULIMIT         2097152
But its commented out
 
Old 04-25-2005, 09:37 AM   #3
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Posts: 1,210

Original Poster
Blog Entries: 4

Rep: Reputation: 45
Code:
#ULIMIT         262144
Can somebody confirm or refute that my ULIMIT was the cause of file size problem?
 
Old 04-25-2005, 10:35 AM   #4
BrianW
Member
 
Registered: Jul 2003
Location: Montana
Posts: 297

Rep: Reputation: Disabled
Just a thought though. Since its commented out that should have no affect. I have the same value as xushi posted. What do you get when you type ulimit in the console? It replies unlimited to me.
 
Old 04-25-2005, 08:01 PM   #5
DaWallace
Member
 
Registered: Feb 2004
Location: Southern Maine, United States
Distribution: Slackware Ubuntu Debian FreeBSD
Posts: 418

Rep: Reputation: 31
you sure it's not a running out of memory problem?

I had big troubles with that recently, killing my programs. it turned out that I had simply forgotten to add a swap line to my fstab

this may not have anything to do with your situation but it's somewhat important, overall.

Last edited by DaWallace; 04-25-2005 at 08:03 PM.
 
Old 04-25-2005, 08:40 PM   #6
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
it is very strange, i never had those problems on slackware or any other linux distro. which filesystem are you using?
the ulimit return unlimited for me on linux.
 
Old 04-25-2005, 10:38 PM   #7
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Posts: 1,210

Original Poster
Blog Entries: 4

Rep: Reputation: 45
Sorry, I need to clarify.

The problem is gone after I comment out the ULIMIT.

When the ULIMIT was set to the number above I had the problem.

And now I know for sure that the file size is limited to 128mbyte.

On another machine which I have ULIMIT (can't remember the setting), my file size was limited to 1gbyte.
 
Old 04-26-2005, 02:29 AM   #8
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
You could comment this line if it works and set ulimit with bash

see man bash, ulimit can be applied for file size created (-f), the maximum
number of processes (-u) for an user and other things...
 
Old 04-26-2005, 10:40 AM   #9
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Posts: 1,210

Original Poster
Blog Entries: 4

Rep: Reputation: 45
Thanks keefaz. Now I think it is for sure ULIMIT in /etc/login.defs was the culprit.

This is clearly a case of, ain't broken, tweak till it breaks and fix it.
 
  


Reply



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
Creating files larger than 2GB Nerox Programming 11 08-03-2007 06:09 PM
Can't resume file transfer on files larger than 1 gig dalesan Linux - Newbie 2 10-11-2005 11:50 AM
Files larger than 4 GB Hamsjael Linux - Software 1 03-09-2005 01:51 PM
Can't copy files larger than 2GB? Rotwang Linux - General 6 03-09-2005 12:17 AM
Cannot see files larger than 4G in NTFS and 2G in SMB Muddy Linux - General 4 07-21-2004 05:42 PM

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

All times are GMT -5. The time now is 08: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