Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

ulimit problem?

Posted on 1997-11-20
1
Medium Priority
?
241 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 200 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
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.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses
Course of the Month12 days, 20 hours left to enroll

971 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