You are not logged in.

#1 2010-11-21 07:35:47

ManBlue
Member
From: Virginia, USA
Registered: 2010-09-02
Posts: 23

[SOLVED] ulimit problem.

I was trying random things from various forums trying to see if I could get yahoo messenger to work with wine and such. Stupid I know now. I typed ulimit -c unlimited and as I was watching videos and various things I noticed my arch / just fill up. I reset and I could not startx. Is there some cache or tmp folder I can dump somewhere?
Typing from Debian Squeeze

Help

Last edited by ManBlue (2010-11-22 12:31:56)


Arch 64bit | OpenBox | Registered Linux User #526935

Offline

#2 2010-11-21 08:34:20

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 10,358
Website

Re: [SOLVED] ulimit problem.

mount the drive from Debian and run "du" to see where the space is being taken up.   Probably somewhere in /var...

Offline

#3 2010-11-21 17:28:27

ManBlue
Member
From: Virginia, USA
Registered: 2010-09-02
Posts: 23

Re: [SOLVED] ulimit problem.

Thank you!
I've found the offending files:
everything.log   = 5.9GB
Kernel.log        = 2.3GB
messages.log  = 5.9GB
user.log           = 3.6GB

Do I delete them? Are they regenerated when I boot up? And, just as important, what/how should I reset the limit on ulimit? What's the default?


Arch 64bit | OpenBox | Registered Linux User #526935

Offline

#4 2010-11-21 17:49:34

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,318

Offline

#5 2010-11-21 21:29:24

ManBlue
Member
From: Virginia, USA
Registered: 2010-09-02
Posts: 23

Re: [SOLVED] ulimit problem.

Thanks for that link. I'm back in Arch!
I think it was a combination of everything there. I erased the log files. I think I was punked by the system for when I rebooted the oversized logs became  gained .log.1 extentions. The ".log" logs were regenerated, but the ".log.1" logs were not. Thankfully logs 3 and 4 stayed the same. I did:

/usr/sbin/logrotate /etc/logrotate.conf

just to be certain.

user.log and user.log.1 were not regenerated. Is that a bad thing?


Arch 64bit | OpenBox | Registered Linux User #526935

Offline

Board footer

Powered by FluxBB