Pe�a Arellano Fabian Erasmo <[EMAIL PROTECTED]> wrote:
>       Hello again,
> 
>       Thanks for answering.
>       Actually, to be able to send the message asking for help I had to
> delete al the content from the /tmp directory. There was a lot of garbage
> in there.

sounds like what happens on my machine - /tmp becomes quite a dumping
ground!  ;-)  I'll let others comment on how best to manage /tmp!

>       Despite the cleaning of such directory, I am not able to print
> from kghostview. From other applications I can do it as expected normally.
> Probably the file I am trying to print is too large to fit into other
> temporary directories I have to clean up.

That's a good bet.

>       The content of the /var/spool/lpd directory is as follows:
> 
> Should the lpd.lock file be there?

Assuming lpd is running, yes.

>       The content of the /var/spool/lpd/lp is
> 
> total 60M
> ...
> -rw-rw----   1 fabian   lp            56M Feb  5 19:23 dfA943abaco.uam.mx
> -rwxr-xr-x   1 root     root          10k Jan 14 15:45 filter*
> -rwxr-xr-x   1 root     root          190 Jan 14 15:45 general.cfg*
> ...
> 
> 60 megabytes !!! Which ones should I keep? Are the .cfg files important
> enough to keep them? 

Definately.  I'd expect lpd to break if you removed them.

I'd also guess that lpd (or cups, whichever) is not deleting files
when done tryin to print.  There was a message here a while back
about how to make this happen - I'd suggest checking the archives
(where's the archives?  One of these days I'm going to WRITE
that DOWN!).

I'd  bet that 'df /var/spool/lpd' will say you have less than
60 meg free.  You may want to make this partition bigger, or
make lpd use a different spool directory (in a bigger partition!),
as well as make it delete old spool files.

> I guess I must delete at least the files owned by non
> privileged users.

yup.  ;-)  But leave the other ones alone.

>       The /var/log directory is one order of magnitude smaller than the
> last one, but still too big:
> 
> total 6.3M
> ...
> 
>       Probably I should keep only the directories. 
>       I would appreciate further suggestions. Thanks in advance.

I'm really bad about deleting old history/logs - I tend to keep them
forever.  I'll let others tell you how to correctly manage /var/log!

rc


Rusty Carruth          Email:     [EMAIL PROTECTED] or [EMAIL PROTECTED]
Voice: (480) 345-3621  SnailMail: Schlumberger ATE
FAX:   (480) 345-8793             7855 S. River Parkway, Suite 116
Ham: N7IKQ @ 146.82+,pl 162.2     Tempe, AZ 85284-1825
ICBM: 33 20' 44"N   111 53' 47"W

Reply via email to