Solved

ulimit problem?

Posted on 1997-11-20
1
220 Views
Last Modified: 2013-12-27
I have a machine running SunOS 4.1.4 which spools all print requests to a machine running Solaris 2.5.1 (Print server) which then passes on the request to the network printer. While on the SunOS machine when I try the commaind shown below I get an error message. Is this a problem with ulimit?? If so how can I fix this?? The message was actually sent by a user on our system, and I do not know much about ulimit.. can you help?

I'm getting a message lp: standard input: copy file is too large
when I try to do a lp -dhp3 < "avm main fsd.ps"
The file I'm trying to print is 1048085 bytes.
0
Comment
Question by:rraman
1 Comment
 
LVL 51

Accepted Solution

by:
ahoffmann earned 100 total points
ID: 2007910
Yes this is a (u)limit problem.
You can check your values with:
   csh, tcsh, zsh:    limit
   bash, sh, ksh:     ulimit -a
command to change the max. filesize (as root only):
   csh, tcsh, zsh:    limit filesize unlimeted
   bash, sh, ksh:     ulimit -f unlimeted

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now