Solved

ulimit problem?

Posted on 1997-11-20
1
232 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

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…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

636 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