Problems setting ulimit fize size for user. File size exceeded
by LD-50 from LinuxQuestions.org on (#4Q2NT)
Hi all,
New Slacker in town! I apologize in advance for any mistakes/easy solutions that I somehow forgot. Slackware has been a journey, but I'm loving it.
I've search Google and forums for a few days now, but I'm having a really hard time figuring out how to set the ulimit for file size for a user. Currently, I cannot download a file that's more than 252MB (due to ulimit -f being set to 262144?) while I'm logged into my user. The error "File size limit exceeded" outputs after 252MB. As root, if I run Code:ulimit -f unlimited I am able to download everything just fine. I can't figure out how to make it set to unlimited as a non-root user. I've tried setting ulimit -f unlimited in /etc/initscript as well as /etc/profile.d/limits.conf but this fails due to the user not being root (to set the limit).
Code:ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) 262144
pending signals (-i) 62927
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 524288
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 62927
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimitedThank you so much.


New Slacker in town! I apologize in advance for any mistakes/easy solutions that I somehow forgot. Slackware has been a journey, but I'm loving it.
I've search Google and forums for a few days now, but I'm having a really hard time figuring out how to set the ulimit for file size for a user. Currently, I cannot download a file that's more than 252MB (due to ulimit -f being set to 262144?) while I'm logged into my user. The error "File size limit exceeded" outputs after 252MB. As root, if I run Code:ulimit -f unlimited I am able to download everything just fine. I can't figure out how to make it set to unlimited as a non-root user. I've tried setting ulimit -f unlimited in /etc/initscript as well as /etc/profile.d/limits.conf but this fails due to the user not being root (to set the limit).
Code:ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) 262144
pending signals (-i) 62927
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 524288
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 62927
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimitedThank you so much.