Sunday, 05 September 2010
jayeshjayan.com
Main Menu
Home
Tech Blog
Sweet Memories
Flash Album
Discussions
News
Links
Search
News Feeds
Contact Me
Home arrow Tech Blog
Newsflash

Technical Blog

Find files of more than 1 GB 

April 13th, 2006

find / -size +1000000000c

This is a useful command. This can be used to solve issues where the domlogs have exceeded 2 GB or so and apache refuse to start.

Semget: No space left on device here. 

April 13th, 2006

Use this command if you get the error “Semget: No space left on device here” in apache error log. Make sure that you are replacing nobody with corresponding apache user.

‘’ipcrm sem `ipcs|grep nobody|awk ‘{print $2}’`'’

or

‘’ipcrm sem `ipcs|grep apache|awk ‘{print $2}’`'’

or

View the sem value using the below command

ipcs -ls

or

cat /proc/sys/kernel/sem

increase the value

echo “32000 32000 512 512″ > /proc/sys/kernel/sem

This happens on most of the server which has high apache actvity.



© 2010 jayeshjayan.com
Joomla! is Free Software released under the GNU/GPL License.