Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ok here is my problem. I am relatively new to Linux. (not Novice, but cerainly not expert.) I have set my system up mainly as a web server. Performance started lacking. As I did some research, I found I was getting cron messages (see below) like crazy. Not only that many of my log files were getting HUGE (in the order of 3 GB). I read another message that suggested the version of Python was too old. I checked my directory and I am showing 4 files "python python1.5 python2 python2.2"
I presume that the numbers indicate the version, however I am unsure of the version without a number (How do I find out?)
Any thoughts on why the errors (and tons of cron messages?)
Logging error: <StampedLogger to '/var/log/mailman/error'>
Traceback (innermost last):
File "/var/mailman/Mailman/Logging/Logger.py", line 74, in write
f.write(msg)
IOError: [Errno 28] No space left on device
Original log message:
[Errno 28] No space left on device
Logging error: <StampedLogger to '/var/log/mailman/error'>
Traceback (innermost last):
File "/var/mailman/Mailman/Logging/Logger.py", line 74, in write
f.write(msg)
IOError: [Errno 28] No space left on device
Original log message:
[Errno 28] No space left on device
Traceback (innermost last):
File "/var/mailman/cron/gate_news", line 222, in ?
main()
File "/var/mailman/cron/gate_news", line 198, in main
lock.lock(timeout=0.5)
File "/var/mailman/Mailman/LockFile.py", line 219, in lock
self.__write()
File "/var/mailman/Mailman/LockFile.py", line 352, in __write
fp.close()
IOError: [Errno 28] No space left on device
I think the key here is "No space left on device". It looks like you've got a full filesystem. If your logfiles are getting "huge", then it's time to start pruning them.
I understand that the file system is full, and I think this is part of the problem. It was not full, and these logs subsequently fill up the drive and I don't know why. I think part of it is some of these mail messages (Note there are a HUGE quantity of them). Not only am I getting these messages it is compounded by the fact the the drive is (or gets) full.
To that end, I went and deleted several (old) logs and freed up in the neighborhood of 4 GB of space but it seems the logs keep getting filled (and thus these messages start appearing). This also leads me into my next question, Is there an easy way to check the remaining/used capacity of the drive? (other than X windows)
Do the logs mention any problems? This would be the best place to start especially if they just started growing at an extreme rate. Also, you can check file system space with the df command.
Most of the logs don't "seem" to say anything out of the ordinary. But then again being relatively new to reading these logs much of it doesn't mean much to me anyway.
Of the logs that are growing "messages" and "lastlog" seem to be getting the largest.
The majority of the "messages" log is like follows
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.