Solved

ulimit problem?

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

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

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.:

821 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