I had a problem today with my sendmail...none of my clients were able to check their mail, including us here in the office. Anyways, I figure restarting the service would correct this problem. No. Once I restarted the service it said that it started except it stated:
"warning: /var/lock/subsys/????: no space left on device!, So begining to panic i rebooted the machine and upon reboot, all of my services began getting the same error, httpd, smb, etc...what the hell is going on, i cleared my tmp directory and that seemed to fix it, however it quickly began again. I getting to my last nerve now. Filesystem Size Used Avail Use% Mounted on /dev/sda1 1.9G 1.0G 839M 55% / /dev/sda5 15G 12G 2.5G 83% /home /dev/sda6 15G 13G 1.2G 92% /usr somebody please help me out! thanks |
Did you check to see that all of the mount points are there? ie: what is in your /etc/fstab file? If it's a mail server there's a good chance your /var or /var/spool is on its own partition. Did you set the box up yourself or was the admin job handed off to you?
|
run a "df -i" on ure partition and itll tell u if ure out of inodes. unfortunately u cant just add inodes like water. u'll need to reformat that partition & specify another blocksize.
|
why dont you call joey. he can probably help you.
|
Quote:
|
crazy
BEFORE: Filesystem Inodes IUsed IFree IUse% Mounted on /dev/sda1 256512 256512 0 100% / /dev/sda5 4173824 51105 4122719 1% /home /dev/sda6 4098048 136434 3961614 3% /usr now this is crazy. I figure out that it is actually a program called interchange an e-commmerce server appending hundreds of logs in a crazy format, something like error~1.log.gz.1.gz.2.gz.3...., the directory itself is impossible to manipulate. you can't remove files or copy them, both commands with give you an error like "too many arguments..." it's kinda crazy, but I was able to successfully recover all the inodes by using midnight comm to just remove the entire directory but it went on forever and slowed the system down enourmously, so i stop it. the problem that i have now is i can't really do anything with the directory. Crazy stuff AFTER: Filesystem Inodes IUsed IFree IUse% Mounted on /dev/sda1 256512 95882 160630 37% / /dev/sda5 4173824 51105 4122719 1% /home /dev/sda6 4098048 136434 3961614 3% /usr [Edited by elucid on 06-06-2001 at 12:14 AM] |
Re: crazy
Quote:
Interchange has a nagging bit at the end of the 'makecat' script about cleaning this up. grep it and be wiser than me. Cheers (edit) And MOST DEFINATELY make use of reiserfs. Highly recommended for your situation. |
i don't think it's cached pages
construct.error.log.1.gz.2.3.gz...
I don't know very much about interchange and it was being setup by another admin in our office. I've been reading the docs for it but it isn't getting me anywhere. |
Re: i don't think it's cached pages
Quote:
If the directories are totally bloated and contain a lot of files you can expect to wait a while for the cleanup. Kill interchange until you can fix your space problem and find out what's going on in the catalogs that are generating all those error logs. (reading one or two of them might help) |
the files are completely empty
That the thing, all the log files are empty in the directory giving me the problem. You open it in vi and poof...nothing. The files exist, just nothing in them. I had already killed the interchange daemon so it would stop appending log files. And since they are empty, it's not giving me much to go by...
|
Re: the files are completely empty
Quote:
Use reiserFS. What tasks will the server be perorming? Looks like httpd and mail. It can bog down pretty quick with a few users. You might consider getting another couple (well 3 anyway) of SCSI drives so you can gain a little bit of performance by using different drives for some of the busier partiions. (Just my $.02) At the very least I would do the following: (you should be able to do this while still keeping your root on the original drive.). Pleae keep in mind that this is the simplified version and that you should backup before you attmept anything like this. 1) get reiserfs working (at the kernel level) 2) Take some time to re-examine the tasks that server will be performing and decide where to put the 'busier' partitions. (/var/spool, /usr/local (or wherever your www pages are) and a partition for the interchange catalogs.) IMHO you should look at using a total of four drives. Partition and format the new partitions wih reiserfs. 3) Mount one of the partitions. Copy the desired directories to their new partition. I use this from within the folder I want to copy - 'find . -xdev | cpio -pm /<where_you_mounted_your_new_parttion>'. umount and mount the next new partition. Lather, rinse repeat. 4) change your fstab to mount the new partitions to the proper dirs. It's a little more difficult to get your root fs to reiserfs as you'll have to do some extra shuffling. It's possible and not a bad idea. |
All times are GMT -5. The time now is 08:11 AM. |