cordump.com

Uncategorized

Apache disk full error, with lots of free disk space

by daven on May.12, 2008, under Uncategorized

Occasionally when attempting to start or restart Apache 2.2.X you may get an error like “No space left on device: Couldn’t create accept lock” in the error logs. No a quick df shows that you have plenty of space left on all filesystems so what now…
Apache uses semaphores to control its sub processes and sometimes those semaphore’s don’t get closed properly and the error you are getting actually means Help! and can’t get anymore semaphore’s.
Now to see if this is actually the case you can check the following command:

ipcs -s | grep

If you see a lot of entries, espically if Apache does not start, then this is probably your issue. Fortunately, there is an easy way to resolve the issue, just run the command below to kill all semaphores owned by .

ipcs -s | grep | perl -e ‘while () { @a=split(/\s+/); print `ipcrm sem $a[1]`}’

You do run everything as unique users don’t you? Other wise any other running applications or apache instances owned probably were killed and need to be restarted.

Leave a Comment more...

Identity in the Dynamic Data Center

by daven on Jun.11, 2007, under Uncategorized

Identity in the Dynamic Data Center
Interesting article about the theory of using dynamic Virtual Machines, although I am not sure I believe the premise that VM’s will be created and destroyed so rapidly that hostnames are irrelevant. And would assume that any purpose important enough to allocate a VM for would also be important enough to stick around for a little while and have an admin responsible for maintaining it. And once I need to login to a server instance I want a name I can remember and type properly at 3:30 in the morning when that pager goes off.

Leave a Comment more...

TIP: VIM — Using undo

by daven on May.08, 2007, under Uncategorized

So you are steadily editing along in a file, you have made lots of changes without saving (silly rabbit), when you suddenly realize that last change was wrong and will horribly break things. So we are presented with two choices exit the file with out saving losing all of your changes or…..

:undo

so :undo 4 would undo the last 4 edits.
Very basic I know but VERY useful to keep in mind while editing even though we all save regularly so we would never need to use this.

Leave a Comment more...

TIP: VIM — Copy to a named buffer

by daven on Apr.28, 2007, under Uncategorized

This is a tip that will work great with this previous tip to allow for copy & paste between files.
When yanking or deleting something, vim can to store a copy of it
to a named buffer. To utilize this, put the double ” and a letter before your command.

Step one:

Yank current line into the named buffer a
“ayy
or Delete the current line into the named buffer b
“bdd

Step two:

Put the contents of the named buffer “a” below current line
“ap
Any of the 26 letters of the alphabet can be used yes as the named buffer

1 Comment more...

The view from my window

by daven on Apr.05, 2007, under Uncategorized

Here courtesy of Jason Grimes, Photo by Meghan Kiernan,

Leave a Comment more...

All I want for xmas

by daven on Oct.24, 2006, under Uncategorized

OK so I am going to pick this up and try to post everyday in an effort to improve my ability to write mostly, and who know maybe occasionally I will spout something usefull.

Leave a Comment more...

Where oh where has our scoring gone

by daven on Dec.27, 2005, under Uncategorized

Oh thats right O’Connel traded to the San Jose Sharks in a vain attempt to protect is but.

Leave a Comment more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...