Solved

ulimit problem?

Posted on 1997-11-20
1
229 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying 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

Suggested Solutions

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
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

739 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